Roll back the installed version of pytorch

Generally, some ancient model codes are run, and various errors are reported. The reason is basically that the XX module is not used, and the code is still some old version. Some solutions may be found on the Internet. From importing the package to using the source code, you may have to modify it, which is very troublesome.

Here I recommend using anaconda to install an independent environment that is the same as the model code. Use this environment to run the code directly. It is not recommended to modify the source code.

This requires that we can install some very old versions of Deepin School's framework. The following is the installation address of the historical version of pytorch:
https://pytorch.org/get-started/previous-versions/

Guess you like

Origin blog.csdn.net/sazass/article/details/109823704