[property]
gpu-id=0
net-scale-factor=0.0039215697906911373
model-color-format=0
#model-engine-file=model_b1_gpu0_fp16.engine
model-file=my_yolov4.weights
custom-network-config=my_yolov4.cfg
labelfile-path=safekerala_labels.txt
batch-size=1
network-mode=2
num-detected-classes=19
interval=0
gie-unique-id=1
process-mode=1
cluster-mode=2
maintain-aspect-ratio=1
#parse-bbox-func-name=NvDsInferCreateModelParser
#custom-lib-path=1.so
#engine-create-func-name=NvDsInferCudaEngineGet
parse-bbox-func-name=NvDsInferParseYolo
custom-lib-path=car_detector_june_8_new.so
engine-create-func-name=NvDsInferYoloCudaEngineGet
[class-attrs-all]
nms-iou-threshold=0.45
pre-cluster-threshold=0.25
I have a three detector pipeline. for the first detector, I’ using the above config file. problem is, when the pipeline converts the model to .engine by itself (and saves the .engine file), the pipeline runs fine.
but next to save time, I comment below two lines,
#model-file=my_yolov4.weights
#custom-network-config=my_yolov4.cfg
and un-comment the below line,
model-engine-file=model_b1_gpu0_fp32.engine
I get num classes mismatch error. even when the pipeline ran with the same .engine model.
what can I be doing wrong here ?