1.安装 tensorflow
# pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu==2.3.0
2.下载cudart64_101.dll文件,然后将cudart64_101.dll复制到C:WindowsSystem32目录下 或者是
C:WindowsSysWOW64目录下。
下载地址:https://www.dll-files.com/download/1d7955354884a9058e89bb8ea34415c9/cudart64_101.dll.html?c=a3IrbGVHU1crYUNEblNZamFZNzVxdz09