15
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

cudart64_101.dllが見つからない問題

Posted at

#何の記事?
Windows10にtensorflow-gpu 2.2とCuda 10.2をインストールした後、tensorflowをインポートしたときにcudart64_101.dllが見つからないというエラーが出る問題に対する対策です。

W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found        
2020-06-23 19:58:39.209335: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

#解決できた方法

Windows(C:) > Program Files > NVIDIA GPU Computing Toolkit > CUDA > v10.2 > binを開き、cudart32_102.dllとcudart64_102.dllの2つのファイルがあることを確認します。
image.png

この2つのファイルを、cudart32_101.dllとcudart64_101.dllに書き換えます。
image.png

これだけです。

#参考サイト
https://blog.csdn.net/weixin_44271141/article/details/106200251
中国語のサイトですが、google翻訳のおかげで普通に読めました。便利な時代ですね!

15
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?