当前位置: 首页 > 工具软件 > py-leveldb > 使用案例 >

py-faster-rccn问题集中营

阎修杰
2023-12-01

1.

"libcudnn.so.5 cannot open shared object file: No such file or directory"
"libcudart.so.8.0 cannot open shared object file: No such file or directory"

Solution:
注意cuda和cudnn的版本型号
sudo cp /usr/local/cuda-8.0/lib64/libcudnn.so /usr/local/lib/libcudnn.so && sudo ldconfig
sudo cp /usr/local/cuda-8.0/lib64/libcudnn.so.5 /usr/local/lib/libcudnn.so.5 && sudo ldconfig
sudo cp /usr/local/cuda-8.0/lib64/libcudnn.so.5.1.5 /usr/local/lib/libcudnn.so.5.1.5 && sudo ldconfig

2.

AttributeError: 'module' object has no attribute 'text_format'

Solution:

pip install protobuf==2.6.0  升级protobuf即可


3.

TypeError: slice indices must be integers or None or have an index method

Solution:

sudo pip install -U numpy==1.11.0 numpy版本过高导致的 降低即可

4.

assert (boxes[:, 2] >= boxes[:, 0]).all() AssertionError

参见这篇博客

5.

ImportError: No module named yaml

Solution:

 sudo apt-get install python-yaml 

6.
ImportError: No module named skimage.io
Solution:
$ sudo apt-get install python-numpy python-scipy python-matplotlib python-sklearn python-skimage python-h5py python-protobuf python-leveldb python-networkx python-nose python-pandas python-gflags Cython ipython

$ sudo apt-get update









 类似资料: