-
Notifications
You must be signed in to change notification settings - Fork 105
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
custom model do not detect object #57
Comments
@keesschollaart81 |
how did you convert it to onnx? are you running it still with detect.py as onnx or in a different environemnt? |
Hello @tanzerlana |
This has not much to do with this repo I believe. I think you're better of creating an issue of the Yolov5 repo, right? Then I also suggest to include this commands you run for the export to onnx and (if possible) the original pt file. |
@tanzerlana |
I'm not going to look at it, I'm sorry. If you have issues with Yolov5 conversion/quality, please report at their repo. This repo only is about doing inference with a working model using .NET. |
I want to use it with yolov5net |
Before you can use it with yolov5-net, the onnx version first need to work, if you have an issue with that --> https://github.com/ultralytics/yolov5/issues When the model works with native yolov5 (python) and you have issues with the .NET inference, discuss here. |
@keesschollaart81 |
@keesschollaart81 public override int Dimensions { get; set; } = 6; |
verify that your onnx file is properly working. run detect.py and input the onnx file instead of the pt file. so you know that your onnx file is ok in the first place. |
@tanzerlana in visual studio i got same error |
@kkarahainko
Hello I am student and trained my custom model with colab
[https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data
]
(https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data)
it works with detect.py
But after I convert it to onnx , it doesn't detect anything
what Is Problem ?
I upload my model this link and
my test image
onnx Model
https://drive.google.com/file/d/1FpNythBNten9OKu3TlLamIcDtZQd980_/view?usp=sharing
test Image
thanks
The text was updated successfully, but these errors were encountered: