-
Notifications
You must be signed in to change notification settings - Fork 2
Some custom trained models do not work #2
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
Comments
I tested the onnx model with Unity Barracude v3 and it also works there, so definatly a problem with OpenCV Yolov8 implementation |
@Wayne-nulitics have you fixed the issue? |
@RoadwayVR yes, I'm using the new new version 1.05, I think, the training is using Ultralytics Yolov8, we do all our models and training offline, no cloud services, due to confidentiality of content/images, for this we use PyTorch and then convert the .pt file to .onnx version 12, this works well in Yolov8 from OpenCV |
Solved by using new version 1.05 of example and Ultralytics YOLOv8.1.30 |
What did you change in the scripts to get it working on a custom model? I'm trying to do it myself but am getting errors. I swapped the .onnx and coco.names files and changed the num_classes variable in ObjectDetector.cs but I'm still having trouble. Any help would be appreciated |
When I train a model and test it in Python it works, if I then use the same .onnx file in Unity it does not detect the objects.
The text was updated successfully, but these errors were encountered: