Thank you, I have solved this problem.
I must set enable-dla and use-dla-core generating a engine file which use a onnx model.
enable-dla=1
use-dla-core=1
Thank you, I have solved this problem.
I must set enable-dla and use-dla-core generating a engine file which use a onnx model.
enable-dla=1
use-dla-core=1
Glad to know you fixed it, thanks for the update!
could you share the final configuration? thanks!
The configuration file is as follows. Thank you very much.
[property]
gpu-id=0
net-scale-factor=0.003921568627451
#offsets=127.5;127.5;127.5
model-color-format=1
onnx-file=/opt/nvidia/deepstream/deepstream-6.0/samples/models/Secondary_VehicleTypes/typenet_bs8.onnx
model-engine-file=/opt/nvidia/deepstream/deepstream-6.0/samples/models/Secondary_VehicleTypes/typenet_bs8.onnx_b8_gpu0_fp16.engine
batch-size=8
## 0=FP32, 1=INT8, 2=FP16 mode
network-mode=2
#num-detected-classes=300
infer-dims=3;224;224
output-blob-names=output
network-type=1
parse-classifier-func-name=NvDsInferParseCustomVehicleTypes
custom-lib-path=/opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_infer_custom_parser_vehicle_types.so
classifier-async-mode=1
# GPU:1 VIC:2(Jetson only)
#scaling-compute-hw=2
enable-dla=1
use-dla-core=1
#secondary-reinfer-interval=1
maintain-aspect-ratio=0
#force-implicit-batch-dim=1
process-mode=2
classifier-threshold=0.6
input-object-min-width=64
input-object-min-height=64
symmetric-padding=1