duangenquan/YoloV2NCS

Getting Error when running

qingshutie opened this issue · 4 comments

Hi,
I have a problem when running detection example:
u16@u16-System-Product-Name:~/work/YoloV2NCS$ python3 ./detectionExample/Main.py --image ./data/dog.jpg
/usr/local/lib/python3.5/dist-packages/skimage/transform/_warps.py:84: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15.
warn("The default mode, 'constant', will be changed to 'reflect' in "
Traceback (most recent call last):
File "./detectionExample/Main.py", line 30, in
results = detector.Detect(img)
File "/home/u16/work/YoloV2NCS/detectionExample/ObjectWrapper.py", line 101, in Detect
ObjectWrapper.fifoInHandle[i],
NameError: name 'i' is not defined

I have the same problem.. (Ubuntu 16.04)

change the i to img

@qingshutie maybe you mean "i to idx"?