Anaconda安裝經驗以及後期包安裝
阿新 • • 發佈:2019-01-07
669 ./Anaconda3-5.0.1-Linux-x86_64.sh
670 vim ~/.bashrc
671 source /home/jinx/.bashrc
672 conda env list
673 conda -V
674 conda create -n python3.6withCaffe python=3.6
675 conda env list
676 source activate python3.6withCaffe
677 conda install ./tensorflow_gpu-1.4.0-cp36-cp36m-linux_x86_64.whl
678 pip install tensorflow_gpu-1.4.0-cp36-cp36m-linux_x86_64.whl
679 pip install torch-0.3.0.post4-cp36-cp36m-linux_x86_64.whl
680 python
681 source deactivate
682 python
683 pip list
684 cd ~
685 vim ./bashrc
686 vim .bashrc
687 cd /usr/local/include/
688 cd /data0/jinx/Software/
689 cat /usr/local/cuda/version.txt
690 ls | wc -w
691 cd ~
692 vim .bashrc
693 source .bashrc
694 cd cuda/include/
695 sudo cp *.h /usr/local/cuda/include/
696 logout
697 exit
698 tar xzvf cudnn-8.0-linux-x64-v7.tgz
699 logout
700 exit
701 scp -r /data0/jinx/Software/pycaffe/caffe/ ./
702 unzip ImageCompression-master.zip
703 python
704 source activate python3.6withCaffe
705 python
706 cat /usr/local/cuda/include/cudnn.h | grep CUDNN
707 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR
708 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
709 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR
670 vim ~/.bashrc
671 source /home/jinx/.bashrc
672 conda env list
673 conda -V
674 conda create -n python3.6withCaffe python=3.6
675 conda env list
676 source activate python3.6withCaffe
677 conda install ./tensorflow_gpu-1.4.0-cp36-cp36m-linux_x86_64.whl
678 pip install tensorflow_gpu-1.4.0-cp36-cp36m-linux_x86_64.whl
679 pip install torch-0.3.0.post4-cp36-cp36m-linux_x86_64.whl
680 python
681 source deactivate
682 python
683 pip list
684 cd ~
685 vim ./bashrc
686 vim .bashrc
687 cd /usr/local/include/
688 cd /data0/jinx/Software/
689 cat /usr/local/cuda/version.txt
690 ls | wc -w
691 cd ~
692 vim .bashrc
693 source .bashrc
694 cd cuda/include/
695 sudo cp *.h /usr/local/cuda/include/
696 logout
697 exit
698 tar xzvf cudnn-8.0-linux-x64-v7.tgz
699 logout
700 exit
701 scp -r /data0/jinx/Software/pycaffe/caffe/ ./
702 unzip ImageCompression-master.zip
703 python
704 source activate python3.6withCaffe
705 python
706 cat /usr/local/cuda/include/cudnn.h | grep CUDNN
707 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR
708 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
709 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR
710 cat /usr/local/cuda/include/cudnn.h | grep CUDNN
裝TF一定用conda install t..f..-gpu.1.4.0,因為他會自動配好cudnn。