1.问题
W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library ‘libcudart.so.11.0’; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2.错误原因
tensorflow 的版本要与cudn相匹配(匹配关系可以去官网查)官网
我的:
3.解决方法
(1)卸载版本不匹配的tensorflow版本
pip uninstall tensorflow
(2)安装对应版本的tensorflow
pip install tensorflow==2.3