我需要针对我的应用程序的特定tensorflow-gpu版本1.12.0,因为我的系统中有cuda-9。我能够找到tensorflow cpu的whl文件,但无法找到tensorflow-gpu的whl文件。
发布于 2019-04-27 16:54:41
您可以使用以下命令:
pip3 install tensorflow-gpu==1.12.0发布于 2021-02-22 23:27:21
如果您的python版本是兼容的,您还可以使用以下命令:
python -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl发布于 2021-06-23 16:17:36
语法:
python -m pip install --upgrade wheel-URL从下面选择wheel-URL:
适用于Windows的:
仅支持Python3.6CPU的>> https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.12.0-cp36-cp36m-win_amd64.whl
Python 3.6 GPU支持>> https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.12.0-cp36-cp36m-win_amd64.whl
适用于Linux的:
Python2.7仅支持CPU的>> https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.12.0-cp27-none-linux_x86_64.whl
Python 2.7 GPU支持>> https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.12.0-cp27-none-linux_x86_64.whl
仅支持Python3.6CPU的>> https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.12.0-cp36-cp36m-linux_x86_64.whl
Python 3.6 GPU支持>> https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.12.0-cp36-cp36m-linux_x86_64.whl
macOS (仅限中央处理器)
Python2.7 >> https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py2-none-any.whl
Python 3.4、3.5、3.6 >> https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
https://stackoverflow.com/questions/55877398
复制相似问题