TensorFlow安装遇到的坑

1.Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

GPU版本的可以加上这两行代码:

import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

2.CUDA driver version is insufficient for CUDA runtime version

这个是因为驱动版本不对,要更新:https://www.driverscloud.com/en/services/GetInformationDriver/71730-69021/nvidia-39124-desktop-win10-64bit-international-whqlexe

在这个网站打开下载左边的,安装即可。

注:以上是我遇到的坑,如果你们也遇到基本上都可以解决。

猜你喜欢

转载自blog.csdn.net/popoffpopoff/article/details/81391012