-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
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
yolov5x.pt and yolov5x6.pt does work with YOLO V6.0.6 #5974
Comments
@NarenZen 👋 hi, thanks for letting us know about this possible problem with YOLOv5 🚀. Your issue is not reproducible. YOLOv5x and YOLOv5x6 both work correctly: We've created a few short guidelines below to help users provide what we need in order to get started investigating a possible problem. How to create a Minimal, Reproducible ExampleWhen asking a question, people will be better able to provide help if you provide code that they can easily understand and use to reproduce the problem. This is referred to by community members as creating a minimum reproducible example. Your code that reproduces the problem should be:
For Ultralytics to provide assistance your code should also be:
If you believe your problem meets all the above criteria, please close this issue and raise a new one using the 🐛 Bug Report template with a minimum reproducible example to help us better understand and diagnose your problem. Thank you! 😃 |
@glenn-jocher This is the snippet I'm using to infer using the model yolov5x6.pt.
Here is the error message:
|
@NarenZen your workflow is incorrect. Both YOLOv5x and YOLOv5x6 models work correctly: See YOLOv5 PyTorch Hub tutorial for details: YOLOv5 Tutorials
Good luck 🍀 and let us know if you have any other questions! |
👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs. Access additional YOLOv5 🚀 resources:
Access additional Ultralytics ⚡ resources:
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed! Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐! |
when I run yolov6 infer.py this error displays .. what is the solution for it .. Fusing model... |
@Mehrab-Hossain It seems like you are encountering a runtime error during model inference. The error message indicates an inconsistency in expected input channels, likely caused by a mismatch between the model's input configuration and the actual input data received. To troubleshoot this, I recommend verifying the input image data and the model's input configuration:
If the input data and model configuration seem to be in order, you might want to inspect the code snippet where the input is prepared for inference to identify any potential issues in data preprocessing. Additionally, it's a good practice to check for compatibility between the YOLOv6 version and the specific model you are using to ensure they are designed to work together seamlessly. Let me know if this helps or if you need further assistance! |
Search before asking
YOLOv5 Component
Detection
Bug
While loading the model
load_state_dict(model.float().state_dict())
., I get the below error.I'm using YOLO V6.0.6
This are the models I tried to load: yolov5x6.pt and yolov5x.pt
Environment
No response
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: