使用conda安装后如何升级tensorflow?

eug*_*ene 6 conda tensorflow

我已经安装了 tensorflow-gpu

conda install tensorflow-gpu 它的版本是 1.12.0

tensorboard               1.12.2           py36he6710b0_0
tensorflow                1.12.0          gpu_py36he74679b_0
tensorflow-base           1.12.0          gpu_py36had579c0_0
tensorflow-gpu            1.12.0               h0d30ee6_0
Run Code Online (Sandbox Code Playgroud)

我需要将它们升级到至少 1.13 才能使用 tensorflow/models 。

我看conda search tensorflowconda search -c conda-forge tensorflow,最高版本是1.12.0,我怎么升级版本?

我通过 conda 安装,因为博客表明使用 gpu 更容易。
https://towardsdatascience.com/stop-installing-tensorflow-using-pip-for-performance-sake-5854f9d9eb0c

Ole*_*egK 6

这些操作在 Windows 上帮助了我:

我使用conda remove tensorflow-gpu tensorboard tensorflow tensorflow-base tensorflow-estimator命令删除了与 tensorflow 相关的库。
然后我检查了最新版本:conda search tensorflow. 它是 1.14.0
所以我安装了这个版本:conda install tensorflow-gpu==1.14.0

  • 您不必删除任何东西。您可以直接继续安装,它将替换必要的模块。降级也一样。 (2认同)