-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
YOLOv5 converted model is not working any more after YOLOv5 v4.0 Release (#1837). Might be related to changing from BottleneckCSP to C3. #3041
Comments
+1. same problem occurred. |
it seems to be solved by doing these: in models/yolo.py class Detect(nn.Module):
|
Unfortunately training is not working after modification, could you please check it: Traceback (most recent call last): |
The modification is only for onnx model exporting not model training, which is to exlucde the post process in onnx. |
Works fine, just checked with m size model. Thanks a lot! |
针对onnx模型转换的各种问题,推荐使用最新的pnnx工具转换到ncnn pip install pnnx
pnnx model.onnx inputshape=[1,3,224,224] 详细参考文档 |
error log | 日志或报错信息 | ログ
context | 编译/运行环境 | バックグラウンド
how to reproduce | 复现步骤 | 再現方法
more | 其他 | その他
The text was updated successfully, but these errors were encountered: