当前位置:网站首页>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 .
边栏推荐
- Drawing shadow error diagram with MATLAB
- Modern medicine in the era of "Internet +"
- IIS网站配置
- After attaching to the process, the breakpoint displays "currently will not hit the breakpoint, and no symbols have been loaded for this document"
- 登录模块用例编写
- M-ary number STR to n-ary number
- antd TreeSelect获取父节点的值
- 2020-12-29
- B站这个视频我是跪着看完的
- Development to testing: a six-year road to automation starting from 0
猜你喜欢
Fuzzy PID control of motor speed
Due to fierce competition in the new market, China Mobile was forced to launch a restrictive ultra-low price 5g package
R语言ggplot2可视化: 将图例标题(legend title)对齐到ggplot2中图例框的中间(默认左对齐、align legend title to middle of legend)
面试突击68:为什么 TCP 需要 3 次握手?
Great reward for interview questions
解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.
Fiddler download and installation
Neural network and deep learning-6-support vector machine 1-pytorch
B站这个视频我是跪着看完的
Matlab Simulink realizes fuzzy PID control of time-delay temperature control system of central air conditioning
随机推荐
Force deduction brush questions, sum of three numbers
copyTo
2019 ICPC Asia Yinchuan Regional(水题题解)
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)
高斯消元求解异或线性方程组
“互联网+”时代的现代医学
OpenCV 表格识别之表格提取(二)
SSG框架Gatsby访问数据库,并显示到页面上
POJ 1012 Joseph
V-permission add permission
MySQL的逻辑架构
Search module use case writing
The diagram of user login verification process is well written!
Does volatile rely on the MESI protocol to solve the visibility problem? (top)
JS judge the data types object.prototype.tostring.call and typeof
Sqoop【付诸实践 02】Sqoop1最新版 全库导入 + 数据过滤 + 字段类型支持 说明及举例代码(query参数及字段类型强制转换)
阿里云技术专家郝晨栋:云上可观测能力——问题的发现与定位实践
IIS网站配置
A new paradigm of distributed deep learning programming: Global tensor
EOJ 2020 January race E-number transformation