当前位置:网站首页>In the same CONDA environment, install pytroch first and then tensorflow
In the same CONDA environment, install pytroch first and then tensorflow
2022-07-26 09:40:00 【Dust_ Evc】
environmental information :
windows10
NIVDIA CUDA:11.6
python: 3.9
CUDNN:8.3
I installed it in the above environment first pytorch_1.11.0 + cuda_11.3.
Later, due to the demand, the installation continued tensorflow_gpu-2.9.0:
On the official website https://www.tensorflow.org/install/pip#windows Follow the instructions to download Python 3.9 GPU support Installation package https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.9.0-cp39-cp39-win_amd64.whl, utilize pip install tensorflow_gpu-2.9.0-cp39-cp39-win_amd64.whl On the installation .
Execute test statement after loading
python -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
Report errors Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found:
W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
W tensorflow/core/common_runtime/gpu/gpu_device.cc:1850] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
Error reason : Before loading CUDNN, Maybe the new installation package is exe Packages instead of compressed packages ( It may also be that there is no compressed package ), Put... Directly bin、lib、include Installed in C:\Program Files\NVIDIA\CUDNN\v8.3 Next , Didn't put CUDNN Of bin、lib、include The files in the directory are moved to CUDA In the corresponding directory .
No problem after moving .
边栏推荐
猜你喜欢
Solve NPM -v sudden failure and no response
挡不住了,纯国产PC已就位,美国的软硬件体系垄断正式被破
Logical architecture of MySQL
登录模块用例编写
R language ggplot2 visualization: align the legend title to the middle of the legend box in ggplot2 (default left alignment, align legend title to middle of legend)
图解用户登录验证流程,写得太好了!
2019 ICPC Asia Yinchuan Regional(水题题解)
asp. Net using redis cache
Neural network and deep learning-6-support vector machine 1-pytorch
Alibaba cloud technology expert haochendong: cloud observability - problem discovery and positioning practice
随机推荐
(2) Hand eye calibration of face scanner and manipulator (eye out of hand: nine point calibration)
Network flow learning notes
Add DLL
配置ADCS后访问certsrv的问题
添加dll
Node 内存溢出及V8垃圾回收机制
Drawing shadow error diagram with MATLAB
QT handy notes (III) use qtcharts to draw a line chart in VS
莫队学习总结(二)
新公链Aptos何以拉满市场期待值?
Table extraction for opencv table recognition (2)
E. Two Small Strings
R语言ggpubr包ggsummarystats函数可视化分组箱图(自定义分组颜色)并在X轴标签下方添加分组对应的统计值(样本数N、中位数median、四分位数的间距iqr、统计值的色彩和分组图色匹配
面试突击68:为什么 TCP 需要 3 次握手?
asp. Net using redis cache (2)
微信小程序图片无法显示时显示默认图片
编写一个在bash / shell 和 PowerShell中均可运行的脚本
系统安装Serv-U后IIS出错提示:HRESULT:0x80070020
Jmeter配置元件之CSV数据文件设置
Sqoop【付诸实践 02】Sqoop1最新版 全库导入 + 数据过滤 + 字段类型支持 说明及举例代码(query参数及字段类型强制转换)