Closed soohwanlim closed 2 years ago
Describe the bug Cannot get bounding box I tried yolov5 webcam by two methods. The first is the default setting, the second is using branches and quantized weights.
python detect.py --source 0 python detect.py --weight ./runs/train/prunedquantized/weight/best.pt --source 0
I was able to get the webcam image, but in both cases I couldn't find the bounding box.
can i get some advice?
(Recently, when I ran the webcam on original YoloV5(https://github.com/ultralytics/yolov5), the bounding box was well drawn.)
Environment Include all relevant environment information:
f7245c8
To Reproduce Exact steps to reproduce the behavior:
Errors If applicable, add a full print-out of any errors or exceptions that are raised or include screenshots to help explain your problem.
Additional context Add any other context about the problem here. Also include any relevant files.
Hey @OSMasterSoohwan, thanks for reporting this issue. This is indeed a bug with the detect script and a fix is up at neuralmagic/yolov5#45
Describe the bug Cannot get bounding box I tried yolov5 webcam by two methods. The first is the default setting, the second is using branches and quantized weights.
python detect.py --source 0 python detect.py --weight ./runs/train/prunedquantized/weight/best.pt --source 0
I was able to get the webcam image, but in both cases I couldn't find the bounding box.
can i get some advice?
(Recently, when I ran the webcam on original YoloV5(https://github.com/ultralytics/yolov5), the bounding box was well drawn.)
Environment Include all relevant environment information:
f7245c8
]:To Reproduce Exact steps to reproduce the behavior:
Errors If applicable, add a full print-out of any errors or exceptions that are raised or include screenshots to help explain your problem.
Additional context Add any other context about the problem here. Also include any relevant files.