进入清华源下载自己想要安装的文件
eg.
pytorch-1.4.0-py3.7_cuda10.0.130_cudnn7.6.3_0.tar.bz2
torchvision-0.5.0-py37_cu100.tar.bz2
ffmpeg-4.3-hf484d3e_0.tar.bz2

执行命令,复制下载的文件到~/anaconda3/pkgs

安装的时候一定要进如自己的虚拟环境我的是pointpillars
eg. conda activate pointpillars

(pointpillars) t@t-Default-string:~/anaconda3/pkgs$ cp ~/*.tar.bz2 .

执行命令,出现以下提示信息,表示安装ok

(pointpillars) t@t-Default-string:~$ conda install --use-local torchvision-0.5.0-py37_cu100.tar.bz2

Downloading and Extracting Packages
############################################################################################################################################################################### | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(pointpillars) t@t-Default-string:~$ conda install --use-local pytorch-1.4.0-py3.7_cuda10.0.130_cudnn7.6.3_0.tar.bz2

Downloading and Extracting Packages
############################################################################################################################################################################### | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(pointpillars) t@t-Default-string:~$ conda install --use-local ffmpeg-4.3-hf484d3e_0.tar.bz2

Downloading and Extracting Packages
############################################################################################################################################################################### | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐