I use yolo4 in deepstrem_test3, use the code
* Configure the nvinfer element using the nvinfer config file. */ g_object_set (G_OBJECT (pgie), "config-file-path", "dstest3_pgie_config.txt", NULL);
the para file:
[property]
gpu-id=0
net-scale-factor=0.0039215697906911373
#yolo4
#0=RGB, 1=BGR
model-color-format=0
model-engine-file=yolov4-uniform-dynamic-max8.engine
labelfile-path=labels.txt
batch-size=1
## 0=FP32, 1=INT8, 2=FP16 mode
network-mode=1
num-detected-classes=80
gie-unique-id=1
network-type=0
is-classifier=0
## 0=Group Rectangles, 1=DBSCAN, 2=NMS, 3= DBSCAN+NMS Hybrid, 4 = None(No clustering)
cluster-mode=2
maintain-aspect-ratio=1
parse-bbox-func-name=NvDsInferParseCustomYoloV4
custom-lib-path=libnvdsinfer_custom_impl_Yolo.so
Why do I have to use the .so library file? Why can’t I use the library in this code to show the yolo detecting info? If so, what should I do, please help !!
Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson
• DeepStream Version 6.1
• JetPack Version (valid for Jetson only) 5.1
• TensorRT Version 11.4
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)