YOLOP
YOLOP copied to clipboard
detect my video
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
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.
I also encountered the same problem. Is your problem solved?