UffParser: Unsupported number of graph 0


[property]
gpu-id=0
net-scale-factor=1.0
offsets=103.939;116.779;123.68
model-color-format=1
labelfile-path=../..model/labels.txt
tlt-encoded-model = ../../model/yolov4_resnet18_epoch_050.etlt
#model-engine-file=<PATH to generated TensorRT engine>
tlt-model-key=nvidia_tlt
tlt_encode=nvidia_tlt
infer-dims=3;384;1248
maintain-aspect-ratio=1
#uff-input-order=0
uff-input-dims=3;272;480;0
uff-input-blob-name=Input

#uff-input-dims=3;272;480;0
#uff-input-blob-name=input_image

batch-size=1
## 0=FP32, 1=INT8, 2=FP16 mode
network-mode=0
num-detected-classes=2
interval=0
gie-unique-id=1
is-classifier=0
#network-type=0
#no cluster
cluster-mode=3
output-blob-names=BatchedNMS
parse-bbox-func-name=NvDsInferParseCustomBatchedNMSTLT
custom-lib-path=../../customLib/libnvds_infercustomparser_tlt.so

[class-attrs-all]
pre-cluster-threshold=0.3
roi-top-offset=0
roi-bottom-offset=0
detected-min-w=0
detected-min-h=0
detected-max-w=0
detected-max-h=0

i get the below error :

<nvdsinfer_context_impl.cpp:1716> [UID = 1]: Trying to create engine from model files
ERROR: ../nvdsinfer/nvdsinfer_func_utils.cpp:33 [TRT]: UffParser: Unsupported number of graph 0
parseModel: Failed to parse UFF model
ERROR: tlt/tlt_decode.cpp:274 failed to build network since parsing model errors.
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:797 Failed to create network using custom network creation function
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:862 Failed to get cuda engine from custom library API

Hi @h9945394143,

Could you please give us more details and share issue repro steps/model for better help.
UFF and Caffe Parser have been deprecated from TensorRT 7 onwards, hence request you to try ONNX parser.

Please check the below link for the same.

Thank you.