首页 > 技术文章 > Keras/tensorflow出现‘Loaded runtime CuDNN library: 7.0.5 but source was compiled with: 7.1.14’错误的解决办法

hutao722 2018-12-25 09:43 原文

   从tensorflow1.10 升级到1.12版本后,对依赖的CuDNN不兼容产生的问题。鉴于一直使用的是Keras,未使用新版本tensorflow的功能,故果断回退到旧版本。

  方法为:pip3 install --index-url http://pypi.douban.com/simple --trusted-host pypi.douban.com --upgrade --force-reinstall tensorflow==1.10.0

      pip3 install --index-url http://pypi.douban.com/simple --trusted-host pypi.douban.com --upgrade --force-reinstall tensorflow-gpu==1.10.0

推荐阅读