I spend the week-end training my own model, creating a dataset (with roboflow) and training a model (with ultralytics hub). I finally get a working model (I can try it with ultralytics), I trained it specifying yoloV8s and export the onnx file.
However, when try the model with gamma, I always get the error :
Since I did not had more details, I used python to get the “opset” of the yolov8s.onnx file of the help patch (which is working well), and I try to export again my model using the same opset (17). Does not work.
I tried to use “Simplify Model” option, does not work. I also tried other paramaters. I cant get rid of this error.
Any suggestion ? I’m sorry I’m new to all theses stuff…
I don’t usually tamper with the opset when I export the model. Try exporting it again and and checking it with netron The latest onnx runtimes should be okay (If they’re not the onnx model has exotic nodes and the runtime needs an extended opset).
I’m not sure how to use netron as I did not know this tool thanks !
But when I open the model, it looks exactly like the one in yolov8s.onnx file.
All the links seems to be ok but I dont know what else to check.
Just one think you can see on the scrennshot the output is 1x84x8400 for yolov8s.onnx and 1x5x8400 for my model. This seems to refer to boundingbox output parameters but saying that I dont really understand what I say… and where I can modify this parameter in utralytics.