YOLOP icon indicating copy to clipboard operation
YOLOP copied to clipboard

detect my video

Open xinshoushangludd opened this issue 3 years ago • 2 comments

detect my video python tools/demo.py --source inference/videos2 IndexError: boolean index did not match indexed array along dimension 0; dimension is 1280 but corresponding boolean dimension is 640

python tools/demo.py --source inference/videos2 --img-size 1280 RuntimeError: Input and output sizes should be greater than 0, but got input (H: 1280, W: 720) output (H: 0, W: 0) why? and how to fix it

xinshoushangludd avatar Sep 13 '21 08:09 xinshoushangludd

You need to be more descriptive. What is the dimension of the video you are trying to conduct inference on? You should also confirm that the img-size parameter is being properly set by printing debug statements during demo.py.

SikandAlex avatar Nov 15 '21 14:11 SikandAlex

I also encountered the same problem. Is your problem solved?

SnailDUDUDU avatar Dec 10 '21 01:12 SnailDUDUDU