pytorch-yolo-v3
pytorch-yolo-v3 copied to clipboard
List Range Error
Hello,
First of all, thanks for the amazing repo!
Actually I want only person, helmet and jackets to get detected and so for that I editted the coco.names and voc.names files( added these three and deleted the rest) But the thing is after making this change I am unable to execute the script, it shows the error as follows:
File "video_demo.py", line 169, in
Your help is highly needed and appreciated. Thanks in advance :)
Have you solved this issue? I am stucked here too but only when using webcam as input. Normal video files are fine(ie; mp4)
I have this problem too when I use a live stream. I get cls = int(x[-1]) as 322 for one of the values. Is it because of the video_demo.py code? Should we be using the cam_demo.py code instead?