-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in predict_shapes: list index out of range #402
Comments
您好,暂不支持动态batch,可注释掉 |
我把导出的命令改为: 能正常导出onnx文件,但是自动标注还是会报同样的错误 |
使用netron工具检查下你的onnx模型中classes类别是否与yaml文件的类别定义完全一致。 |
1.我使用这个命令得到我的onnx文件:
python3 export_yoloV8.py -w best.pt -s 1280 960 --dynamic
(best.pt是我自己训练得到的yolov8s模型,class=1)
2.我在x-anylabeling使用自动标注,配置文件如下:
type: yolov8
name: yolov8s-r20230520
display_name: YOLOv8s Ultralytics
model_path: /home/xpc/Downloads/video_20240508_144952/best.onnx
nms_threshold: 0.45
confidence_threshold: 0.25
input_width: 1280
input_height: 960
classes:
3.当我点击推理图片的按钮后,命令窗口报错:
Error in predict_shapes: list index out of range
请问问题出在哪里?谢谢!
The text was updated successfully, but these errors were encountered: