如何在conda环境中使用最新的7.5 cudnn? [英] How to use the newest 7.5 cudnn in conda environment?

查看:117
本文介绍了如何在conda环境中使用最新的7.5 cudnn?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助!
使用 conda安装tensorflow-gpu ,它可以帮助我自动安装cuda和cudnn,这确实很方便。但是,问题在于conda只能安装7.3.1 cudnn,这不足以让我在tensorflow1.13.0中运行CNN。
实际上,我可以在外面轻松地安装最新的cudnn,但这不会影响conda环境。那么我该如何解决呢?
预先感谢

Please help! Using conda install tensorflow-gpu, it help me to install cuda and cudnn automatically, which is really convienience. However, the problem is that conda can only install the 7.3.1 cudnn, which is not enough for me to run the CNN in tensorflow1.13.0. Actually, I can install the newest cudnn outside easily, but it won't influence the conda environment. So how can I solve it? Thanks in advance

推荐答案

尝试构建新的 conda env 之后,您将安装cuda和cudnn(请注意查找正确的版本)。请参阅这些步骤。另外,也可以在conda env下尝试 pip install tensorflow-gpu source activate env_name )。希望对您有所帮助!

Try building a new conda env after you install cuda and cudnn (mind to find the right versions). See these steps. Also, try pip install tensorflow-gpu under the conda env (source activate env_name), too. Hope it helps!

这篇关于如何在conda环境中使用最新的7.5 cudnn?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆