简体   繁体   中英

How can I downgrade the version pytorch from 0.4 to 0.31 with anaconda?

I'm using anaconda now and due to some code error I need to downgrade the pytorch from version 0.4 to version 0.31.
However, as I use anaconda as my python package management tool, I used the instruction below to downgrade it and encountered the following error:

conda install pytorch=0.31 cuda80 -c soumith

PackagesNotFoundError: The following packages are not available from current channels:

  • pytorch=0.31

And I also have tried some normal method to revert the package into previous verion in anaconda, but they failed either.

Could anyone tell me how to downgrade it? Thank you so much!!

conda install pytorch=0.3.1.0 cuda80 -c soumith

https://pytorch.org/get-started/previous-versions/

This page contains all the info to downgrade Pytorch to the version you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM