ImportError: libcudnn when running a TensorFlow program

前端 未结 8 1805
名媛妹妹
名媛妹妹 2020-12-03 07:03

I encountered the following error when trying to run a TensorFlow program:

ImportError: libcudnn.Version: cannot open shared object file: No such file or d         


        
相关标签:
8条回答
  • 2020-12-03 07:49

    It appears TensorFlow now supports cudNN 6.0. I was getting errors with cudNN 5.1.

    Using TensorFlow version 1.3.0.

    If you're getting

    ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory
    

    Try using 6.0

    0 讨论(0)
  • 2020-12-03 07:52

    I was able to solve problem by changing my cudNN installation from cudNN 6.0 to cudNN 5.1. cudNN 6.0 has the file libcudnn.so.6 while cudNN 5.1 has the file libcudnn.so.5.

    0 讨论(0)
提交回复
热议问题