Ziz*_*i96 5 python anaconda keras tensorflow tensorflow2.0
conda 安装仅适用于 tf 2.2.0,因为 anaconda 上似乎没有 cudnn 8.0。
https://anaconda.org/anaconda/tensorflow-gpu
有谁知道在 anaconda 环境中运行 tf 2.4>= 的方法?
截至 2021 年 6 月,您可以使用 2.4 的标准 conda 安装:
conda install tensorflow-gpu==2.4.1
Run Code Online (Sandbox Code Playgroud)
正如 @theastronomist 提到的,最好用来conda search tensorflow查找启用了哪些版本。
目前conda不支持安装tf>2.3.0
$ conda search tensorflow
...
tensorflow 2.2.0 mkl_py37h6e9ce2d_0 pkgs/main
tensorflow 2.2.0 mkl_py38h6d3daf0_0 pkgs/main
tensorflow 2.3.0 eigen_py37h189e6a2_0 pkgs/main
tensorflow 2.3.0 eigen_py38h71ff20e_0 pkgs/main
tensorflow 2.3.0 mkl_py37h0481017_0 pkgs/main
tensorflow 2.3.0 mkl_py38hd53216f_0 pkgs/main
Run Code Online (Sandbox Code Playgroud)
顺便说一句,最多conda-gpu仅支持2.2.0conda
正如前面的答案所提到的,您可以pip install tensorflow在 conda 环境中使用 while 进行安装。
| 归档时间: |
|
| 查看次数: |
21297 次 |
| 最近记录: |