Closed mgabell closed 10 months ago
It works now...
It works now...
okay but what was the problem and how did you solve it.
Sorry to be honest I dont know. I changed to yolov5. Installed required packages. I then created a trained model with ultralytics. I also made sure to follow marcos instruction to the letter. I used HIS export tool and then remembered to move the labels.txt and onnx model to the correct folder for deepstream. Then I deleted the engine file and ensured that the name in the config file and the engine file was correct.
See if that works. I have work my "#¤%"# off to get this work I will do what I can to assist.
The export seems to work. Training goes fine. The prediction with ultralytics works fine. But deepstream v8 does not create boxes. There must be an issue still with the export. I use the export_yolov8.py and run as:
python3 export_yolov8.py -w myYoloModel.pt --dynamic.
This will generate a onnx model (very fast). But using it does not work. No erros, the video plays, but does not produce any defects. I sometimes get a model working. So what will it depend on? epochs?