美文网首页
Tensorflow导入模块时出现ImportError: DL

Tensorflow导入模块时出现ImportError: DL

作者: Simpreative | 来源:发表于2020-02-10 22:19 被阅读0次

这是因为没有安装对应CPU的版本。

网上大多说的都是因为CPU太老,的确,是因为新版TensorFlow需要使用AVX2指令集,老CPU和一些奔腾CPU不支持,但是也可以安装新版本的TensorFlow

打开https://github.com/fo40225/tensorflow-windows-wheel

下载对应SIMD为x86_64的,不要下载AVX2的,然后也可以看到与CUDA/cuDNN搭配的版本号

然后pip install xxx.whl即可

相关文章

网友评论

      本文标题:Tensorflow导入模块时出现ImportError: DL

      本文链接:https://www.haomeiwen.com/subject/ptnzxhtx.html