You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yolo-*.yaml: use detect_dual.py. gelan-*.yaml: use detect.py.
However, even though I am using detect_dual.py and tried changing utils/general.py according to the previously mentioned issue (see above), I still get the above error.
I am training a YoloV9-e model by
python3 train_dual.py --workers 4 --device 0 --batch 8 --data data/custom.yaml --img 650 --cfg models/detect/yolov9-e.yaml --weights 'yolov9-e.pt' --name yolov9-e --hyp hyp.scratch-high.yaml --min-items 0 --epochs 500 --close-mosaic 15
If I want to run an inference with
python3 detect_dual.py --nosave --save-txt --conf-thres 0.1 --imgsz 650 --weights '/yolo/yolov9//runs/train/yolov9-e/weights/best.pt' --source '/images/' --project '/images/'--name 'inference' --device 0
I get the error:
I already followed the advice from #11, #162, and #50
Where @WongKinYiu explicitly mentioned to
However, even though I am using
detect_dual.py
and tried changingutils/general.py
according to the previously mentioned issue (see above), I still get the above error.Update:
utils/general.py
unchanged and only changeddetect_dual.py
as described by #373, specifically fix detect.py, keyerror exception in class names dict #86The text was updated successfully, but these errors were encountered: