Hi,
I am trying to use res10_300x300_ssd_iter_140000_fp16.caffemodel with detectNet in jetson inference as cusom model:
net = jetson.inference.detectNet(argv=[
‘–prototxt=Resources/models/caffe_model_for_dace_detection/deploy.prototxt’, ‘–model=Resources/models/caffe_model_for_dace_detection/res10_300x300_ssd_iter_140000_fp16.caffemodel’,‘–input-blob=input_0’, ‘–output-cvg=scores’, ‘–output-bbox=boxes’],threshold= self.threshold)
And I folowed the answer from this issue: Conversion from caffemodel to TensorRT - #6 by AastaLLL
But I got this error message :
[TRT] TensorRT version 8.0.1
[TRT] loading NVIDIA plugins…
[TRT] Registered plugin creator - ::GridAnchor_TRT version 1
[TRT] Registered plugin creator - ::GridAnchorRect_TRT version 1
[TRT] Registered plugin creator - ::NMS_TRT version 1
[TRT] Registered plugin creator - ::Reorg_TRT version 1
[TRT] Registered plugin creator - ::Region_TRT version 1
[TRT] Registered plugin creator - ::Clip_TRT version 1
[TRT] Registered plugin creator - ::LReLU_TRT version 1
[TRT] Registered plugin creator - ::PriorBox_TRT version 1
[TRT] Registered plugin creator - ::Normalize_TRT version 1
[TRT] Registered plugin creator - ::ScatterND version 1
[TRT] Registered plugin creator - ::RPROI_TRT version 1
[TRT] Registered plugin creator - ::BatchedNMS_TRT version 1
[TRT] Registered plugin creator - ::BatchedNMSDynamic_TRT version 1
[TRT] Could not register plugin creator - ::FlattenConcat_TRT version 1
[TRT] Registered plugin creator - ::CropAndResize version 1
[TRT] Registered plugin creator - ::DetectionLayer_TRT version 1
[TRT] Registered plugin creator - ::EfficientNMS_ONNX_TRT version 1
[TRT] Registered plugin creator - ::EfficientNMS_TRT version 1
[TRT] Registered plugin creator - ::Proposal version 1
[TRT] Registered plugin creator - ::ProposalLayer_TRT version 1
[TRT] Registered plugin creator - ::PyramidROIAlign_TRT version 1
[TRT] Registered plugin creator - ::ResizeNearest_TRT version 1
[TRT] Registered plugin creator - ::Split version 1
[TRT] Registered plugin creator - ::SpecialSlice_TRT version 1
[TRT] Registered plugin creator - ::InstanceNormalization_TRT version 1
[TRT] detected model format - caffe (extension ‘.caffemodel’)
[TRT] desired precision specified for GPU: FASTEST
[TRT] requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT] [MemUsageChange] Init CUDA: CPU +203, GPU +0, now: CPU 232, GPU 3806 (MiB)
[TRT] native precisions detected for GPU: FP32, FP16
[TRT] selecting fastest native precision for GPU: FP16
[TRT] attempting to open engine cache file Resources/models/caffe_model_for_dace_detection/res10_300x300_ssd_iter_140000_fp16.caffemodel.1.1.8001.GPU.FP16.engine
[TRT] cache file not found, profiling network model on device GPU
[TRT] [MemUsageChange] Init CUDA: CPU +0, GPU +0, now: CPU 232, GPU 3794 (MiB)
[TRT] device GPU, loading Resources/models/caffe_model_for_dace_detection/deploy.prototxt Resources/models/caffe_model_for_dace_detection/res10_300x300_ssd_iter_140000_fp16.caffemodel
[TRT] failed to retrieve tensor for Output “scores”
Segmentation fault (core dumped)
What should I do to avoid this error?
Thanks