Cannot run deepstream-app with YOLOv3 onnx model file

I would like to run /op/nvidia/deepstream/deepstream-5.0/sources/objectDector_Yolo with ONNX model file.

I download yolov3-10.onnx from https://github.com/onnx/models/tree/master/vision/object_detection_segmentation/yolov3/model. And I change config_infer_primary_yoloV3.txt as follows:
#model-file=yolov3.weights
onnx-file=yolov3-10.onnx

But the following error occurred.
deepstream-app -c deepstream_app_config_yoloV3.txt
Yolo config file or weights file is NOT specified.

Hardware Platform: Jetson NX
DeepStream Version: 5.0
JetPack Version: 4.4
TensorRT: 7.1.3

I have fixed this issue by changing config_infer_primary_yoloV3.txt as follows:

[property]
#custom-network-config=./models/yolov3.cfg
#model-file=…/models/yolov3.weights
onnx-file=…/models/yolov3-416.onnx
model-engine-file=…/models/model_b1_gpu0_fp16.engine
#engine-create-func-name=NvDsInferYoloCudaEngineGet

1 Like

Thanks for sharing!