/yolov5/detect.py", line 158, in run s += f"{n} {names[int(c)]}{'s' * (n > 1)}, " # add to string KeyError: 94
Search before asking
-
I have searched the YOLOv5 issues and found no similar bug report.
YOLOv5 Component
Detection
Bug
python detect.py --weights ~/Downloads/yolov5s-seg.pt
got
Environment
YOLOv5
Minimal Reproducible Example
No response
Additional
yolov5/detect.py", line 158, in run s += f"{n} {names[int(c)]}{'s' * (n > 1)}, " # add to string KeyError: 94
Are you willing to submit a PR?
-
Yes I'd like to help by submitting a PR!