hi
i use deepstream4.0 jetson xavier
I made yolo custom model with darknet. and put it in (config_infer_primary_yoloV3_tiny.txt)
It works well. so I put it in model-file of(dstest2_pgie_config.txt).
original deepstream-test2 model-file is resnet10 caffemodel
Can’t yolo model file replace resnet10 caffemodel?
Since I have a YOLO dataset, I’m trying to use YOLO rather than training resnet with tlt, and using the dtest2 sample cause I need the object-id.
This is my terminal result
[NvDCF] Initialized
0:02:25.115191955 14820 0x55b2836a30 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger: NvDsInferContext[UID 1]:initialize(): Trying to create engine from model files
Yolo type is not defined from config file name:
0:02:25.115876334 14820 0x55b2836a30 ERROR nvinfer gstnvinfer.cpp:511:gst_nvinfer_logger: NvDsInferContext[UID 1]:generateTRTModel(): Failed to create network using custom network creation function
0:02:25.115930672 14820 0x55b2836a30 ERROR nvinfer gstnvinfer.cpp:511:gst_nvinfer_logger: NvDsInferContext[UID 1]:initialize(): Failed to create engine from model files
0:02:25.116230588 14820 0x55b2836a30 WARN nvinfer gstnvinfer.cpp:692:gst_nvinfer_start: error: Failed to create NvDsInferContext instance
0:02:25.116254941 14820 0x55b2836a30 WARN nvinfer gstnvinfer.cpp:692:gst_nvinfer_start: error: Config file path: dstest2_pgie_config.txt, NvDsInfer Error: NVDSINFER_CUSTOM_LIB_FAILED
Running…
ERROR from element primary-nvinference-engine: Failed to create NvDsInferContext instance
Error details: gstnvinfer.cpp(692): gst_nvinfer_start (): /GstPipeline:dstest2-pipeline/GstNvInfer:primary-nvinference-engine:
Config file path: dstest2_pgie_config.txt, NvDsInfer Error: NVDSINFER_CUSTOM_LIB_FAILED