深度學習庫安裝list

weixin_34290000發表於2018-08-26
conda update --all

easy_install pip
python -m pip install --upgrade pip
pip install --upgrade numpy


conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/  
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/  
conda config --set show_channel_urls yes  

conda install mingw libpython
pip install mingw libpython
pip install theano 



conda create -n tensorflow python=3.5

activate tensorflow

pip install --upgrade --ignore-installed tensorflow


pip install keras
pip install sklearn
pip install opencv_python-3.1.0-cp35-cp35m-win_amd64.whl
pip install xgboost-0.7-cp35-cp35m-win_amd64.whl

測試opencv

img=cv2.imread(r'C:\Users\yanghe\Desktop\1.jpg')
cv2.imshow('1',img)
cv2.waitKey(0)

相關文章