-
Notifications
You must be signed in to change notification settings - Fork 325
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
Auto-Annotation with Custom Model Fails #406
Comments
图片路径无误,软件中可正常加载并显示 |
您好,这边可以尝试使用常规图片测试下,如assets,排除下是图片本身的问题。 |
已经尝试过了,报错问题依旧存在 |
这个是自定义模型的yaml文件type: yolov5
|
内置模型能正常推理吗? |
内置的可以正常标注,自定义模型也可以正常推理 |
您好,非常抱歉刚看到你的回复,纯数字类别在定义时需要加入单引号避免转义: type: yolov5
...
classes:
- '0'
- '1'
- '2'
- '3' |
我已确认该问题在issue中未被提出。如题,在anaconda虚拟环境中安装了x-anylabling,操作系统为Windows11,加载的自定义模型使用yolov5s,报错内容如下Error in predict_shapes: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4155: error: (-215:Assertion failed) inv_scale_x > 0 in function 'cv::resize'
The text was updated successfully, but these errors were encountered: