I follow this to can use yolov4 in DS 5.0
But I get this error
python: nvdsparsebbox_Yolo.cpp:524: bool
NvDsInferParseCustomYoloV4(const std::vector<NvDsInferLayerInfo>&, const
NvDsInferNetworkInfo&, const NvDsInferParseDetectionParams&,
std::vector<NvDsInferObjectDetectionInfo>&):
Assertion `scores.inferDims.numDims == 2' failed
config file:
[property]
gpu-id=0
net-scale-factor=0.0039215697906911373
#onnx-file=/home/jetson-nx/codes/models/yolo-1-person/yolov4-768.onnx
model-engine-file=/home/jetson-nx/codes/models/yolo-1-person/yolov4-768.plan
labelfile-path=/home/jetson-nx/codes/models/yolo-1-person/labels.txt
force-implicit-batch-dim=1
batch-size=1
process-mode=1
model-color-format=0
network-mode=1
num-detected-classes=1
interval=0
gie-unique-id=1
maintain-aspect-ratio=1
cluster-mode=2
parse-bbox-func-name=NvDsInferParseCustomYoloV4
custom-lib-path=/opt/nvidia/deepstream/deepstream-5.0/sources/objectDetector_Yolo/nvdsinfer_custom_impl_Yolo/libnvdsinfer_custom_impl_Yolo.so
engine-create-func-name=NvDsInferYoloCudaEngineGet
[class-attrs-all]
pre-cluster-threshold=0.2
eps=0.2
group-threshold=1
• Hardware Platform: NX
• DeepStream 5.0