yolov9
yolov9 copied to clipboard
Error about detect.py
When I execute the command to test "detect.py",
python detect.py
--source test.mp4
--weights yolov9-e.pt
--imgsz 640
--conf-thres 0.25
--iou-thres 0.1
I encountered the following error:
Traceback (most recent call last):
File "/home/gvsai/yolov9/detect.py", line 231, in
The following line needs to be changed: https://github.com/WongKinYiu/yolov9/blob/9660d127cf5a4f8d51d19b09ba299f98a0672ca7/detect.py#L98
to:
pred, _ = model(im, augment=augment, visualize=visualize)
Then "detect.py" can be executed normally!
#11
@mkrupczak3 Thanks!!