ImportError: libnvidia-fatbinaryloader.so.375.39: cannot open shared object file: No such file or directory

后端 未结 6 983
陌清茗
陌清茗 2021-01-01 03:09

I\'m using Ubuntu 16.04, Cuda 8.0 and cudann-v5.1. I uninstalled Tensorflow-CPU version and reinstalled tensorflow-GPU enabled. Followed the instructions given here: https:/

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-01 03:56

    I encountered the same problem. Here is my solution!

    1. find libnvidia-fatbinaryloader.so.* file in you computer. For me

      (ubuntu16.04):sudo find -iname libnvidia-fatbinaryloader.so*

    and then it shows libnvidia-fatbinaryloader.so.375.45,
    NOTE:has different version number

    1. copy the file to you cuda lib,e.g:/usr/local/cuda/lib64/

    2. change the version number 375.45 to your missing file , 375.39,e.g:

      mv libnvidia-fatbinaryloader.so.375.45 libnvidia-fatbinaryloader.so.375.39

提交回复
热议问题