Step 0: Uninstall protobuf
Step 1: Uninstall tensorflow
1 2
| pip uninstall tensorflow pip uninstall tensorflow-gpu
|
Step 2: Force reinstall Tensorflow with GPU support
Step 3: If you haven’t already, set CUDA_VISIBLE_DEVICES
So for me with 2 GPUs it would be
1
| export CUDA_VISIBLE_DEVICES=0,1
|
windows
1
| C:/Users/dlink/AppData/Local/Programs/Python/Python35/python.exe -m pip install tensorflow-gpu -i https:
|
注
国内安装时可用-i https://pypi.douban.com/simple/
豆瓣源加速
Prev: 关于git的各种chrome拓展
Next: 【Android TimeCat】 解决魅族无法彻底卸载 app 问题