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

标签 tensorflow conda

我已经安装了 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

我需要将它们升级到至少 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 )

最佳答案

这些操作在 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

关于tensorflow - 使用conda安装后如何升级tensorflow?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55324643/

相关文章:

python - conda init powershell 没有效果

python - 无法在多个 GPU 上运行 tensorflow

python - 用于重新训练示例中验证的 Tensorflow 混淆矩阵

tensorflow - 是否可以在 tensorflow 神经网络输出节点之间实现数学约束?

python - 避免 tensorflow 中的重复图(LSTM 模型)

python - 如何创建脚本以在我的 ARM conda 和 x86 conda 之间切换?

python - 在 Ubuntu 中运行 OpenCV python 应用程序时 Qt 链接错误

python - 如何在 Keras 中将输入拆分为不同的 channel

python - Conda 骨架 pypi 因 pmdarima 而失败——AttributeError numpy disutils

batch-file - 为什么激活新的conda env后我的批处理脚本停止运行?