E2E-MLT
E2E-MLT copied to clipboard
VIDEOIO ERROR while running demo.py in CPU machine
Hi, while running the demo as follows:
python3 demo.py -model=e2e-mlt.h5 -cuda=0
I am getting the error as
make: Entering directory '/home/virenv/ocv-td/E2E/E2E-MLT-master/nms'
make: 'adaptor.so' is up to date.
make: Leaving directory '/home/virenv/ocv-td/E2E/E2E-MLT-master/nms'
e2e-mlt.h5
VIDEOIO ERROR: V4L: can't open camera by index 0
I have changed this line
sp = torch.load(fname)
as sp = torch.load(fname, map_location='cpu')
in net_utils.py
(Running in a virtual environment with python 3.5.2, Ubunutu 16.04, CPU machine, NO CUDA, torch version (CPU) '1.0.1.post2', openCV 4.0.0) Thank you.
I have the same issue, did you solve this error?
Change it to -1 instead with 0 worked with me
@AmrMaghraby Hello I have the issue of making the nms as follows: g++: error: unrecognized command line option ‘-fno-plt’ Makefile:10: recipe for target 'adaptor.so' failed make: *** [adaptor.so] Error 1
Can you help me how to fix it?Thanks!