trying to run this project
and got an error when typing:
python demo.py --gpu 0
on my terminal
the error:
Using mxnet as:
<module 'mxnet' (namespace)>
Warning: using pre-installed version of mxnet may cause unexpected error...
(export MXNET_EXAMPLE_SSD_DISABLE_PRE_INSTALLED=1) to prevent loading pre-installed mxnet.
Traceback (most recent call last):
File "demo.py", line 6, in <module>
from detect.detector import Detector
File "/home/ubuntu-linux/mxnet-ssd/detect/detector.py", line 6, in <module>
from dataset.iterator import DetIter
File "/home/ubuntu-linux/mxnet-ssd/dataset/iterator.py", line 6, in <module>
class DetRecordIter(mx.io.DataIter):
AttributeError: module 'mxnet' has no attribute 'io'
help
after running (git clone --recursive https://github.com/zhreshold/mxnet-ssd.git)
the old error was gone but got this new error:
Traceback (most recent call last):
File "demo.py", line 2, in <module>
import tools.find_mxnet
File "/home/ubuntu-linux/mxnet-ssd/tools/find_mxnet.py", line 15, in <module>
import mxnet as mx
File "/home/ubuntu-linux/mxnet-ssd/tools/../mxnet/python/mxnet/__init__.py", line 7, in <module>
from .base import MXNetError
File "/home/ubuntu-linux/mxnet-ssd/tools/../mxnet/python/mxnet/base.py", line 52, in <module>
_LIB = _load_lib()
File "/home/ubuntu-linux/mxnet-ssd/tools/../mxnet/python/mxnet/base.py", line 43, in _load_lib
lib_path = libinfo.find_lib_path()
File "/home/ubuntu-linux/mxnet-ssd/tools/../mxnet/python/mxnet/libinfo.py", line 42, in find_lib_path
'List of candidates:\n' + str('\n'.join(dll_path)))
RuntimeError: Cannot find the files.
List of candidates:
/home/ubuntu-linux/mxnet-ssd/mxnet/python/mxnet/libmxnet.so
/home/ubuntu-linux/mxnet-ssd/mxnet/python/mxnet/../../lib/libmxnet.so
/home/ubuntu-linux/mxnet-ssd/mxnet/python/mxnet/../../build/Release/libmxnet.so
/usr/local/cuda-8.0/lib64/libmxnet.so
libmxnet.so
../../../libmxnet.so