-
Notifications
You must be signed in to change notification settings - Fork 386
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 model prediction: zero-size array to reduction operation maximum which has no identity. Please check the model. #517
Comments
Hi there! @wwmpython, 😃 Thank you for reporting the issue. To help me diagnose and replicate the problem, could you please package the ONNX file, the configuration file, and a sample image that you're certain the model should be able to predict the target on into a compressed archive? Please send the compressed package to the following email address for further investigation: cv_hub@163.com. Your assistance in providing these files is crucial for us to resolve the issue. Thank you in advance for your cooperation! |
ok |
Hey there, @wwmpython! After reviewing the files you provided, I noticed an issue with your ONNX file: It appears there's a mistake that needs correcting. Please re-export your If you continue to experience issues, don't hesitate to reach out for further assistance. |
当我按照官方的代码将我的权重文件转换为onnx模型时,出现如下错误:Traceback (most recent call last): |
I highly recommend utilizing the official repository (https://github.com/ultralytics/ultralytics) for training and exporting purposes. Upon reviewing the image you provided, it is evident that you are using a third-party repository, which is not advisable. If you still have compelling reasons that necessitate using a non-official repository, I urge you to write your own export code to ensure consistency with the official standards. |
The text was updated successfully, but these errors were encountered: