2016-08-31 3 views
-1

ありません、私はhttps://github.com/rbgirshick/py-faster-rcnn/tree/masterからデモを実行したときに、私は次のエラーを取得すると、他のすべてのステップ:高速化RCNN:デモが正常に行われている前に、そのようなファイルやディレクトリ

libcudart.so.7.0は:共有オブジェクトファイルを開くことができません。
[email protected]:~/computer_vision/py-faster-rcnn$ ./tools/demo.py 
Traceback (most recent call last): 
    File "./tools/demo.py", line 18, in <module> 
    m from fast_rcnn.test import im_detect 
    File "/home/mona/computer_vision/py-faster-rcnn/tools/../lib/fast_rcnn/test.py", line 17, in <module> 
    from fast_rcnn.nms_wrapper import nms 
    File "/home/mona/computer_vision/py-faster-rcnn/tools/../lib/fast_rcnn/nms_wrapper.py", line 9, in <module> 
    from nms.gpu_nms import gpu_nms 
ImportError: libcudart.so.7.0: cannot open shared object file: No such file or directory 

私は、次のシステム設定を持っている:

CuDNN V4 
$ nvcc --version 
nvcc: NVIDIA (R) Cuda compiler driver 
Copyright (c) 2005-2015 NVIDIA Corporation 
Built on Tue_Aug_11_14:27:32_CDT_2015 
Cuda compilation tools, release 7.5, V7.5.17 
$ uname -a 
Linux pascal 3.13.0-62-generiC#102-Ubuntu SMP Tue Aug 11 14:29:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux 
$ lspci | grep -i nvidia 
03:00.0 3D controller: NVIDIA Corporation GK110BGL [Tesla K40c] (rev a1) 
83:00.0 3D controller: NVIDIA Corporation GK110BGL [Tesla K40c] (rev a1) 
$ lsb_release -a 
No LSB modules are available. 
Distributor ID: Ubuntu 
Description: Ubuntu 14.04.5 LTS 
Release: 14.04 
Codename: trusty 
$ gcc --version 
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 
Copyright (C) 2013 Free Software Foundation, Inc. 
This is free software; see the source for copying conditions. There is NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 

は問題とどのようにそれを解決することができるとは何ですか?

+0

CUDA 7.5がインストールされており、実行しようとしているソフトウェアがCUDA 7.0とリンクしています。あなたのマシンにCUDA 7.0をインストールし、環境変数を使ってそのソフトウェアを使用するように指示するか、CUDA 7.5に対して実行しようとしているソフトウェアを再構築することができます。 –

+0

私はCUDA7.5でもソフトウェアを構築しました –

答えて

1

丁寧な解決策ではありませんが、私はCUDA 7.0を使用するようにパスを変更しました。どんな理由であれ、現在RCNNはUbuntu 14.04のCUDA 7.5と互換性がありません。 Ubuntu 15.10では、CUDA7.5と同じ設定を使って作業しました!!!!

1

お試しください:私のために働きました。

export LD_LIBRARY_PATH=/usr/local/cuda/lib64/ 
0

解決策は、make.shファイルの真のcudaパスになるようにCUDA_PATHを変更している可能性があります。

関連する問題