Caffe model not converting into trt engine file

0:00:01.427603671 4051 0x3e13b80 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 2]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1716> [UID = 2]: Trying to create engine from model files
[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format ditcaffe.NetParameter: 172:9: Expected integer or identifier, got: “Softmax”
ERROR: …/nvdsinfer/nvdsinfer_func_utils.cpp:33 [TRT]: CaffeParser: Could not parse deploy file
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:161 Failed while parsing caffe network: /opt/nvidia/deepstream/deepstream-5.1/sources/deepstream_python_apps/apps/age_gender/deepti/testing/extra/gender_deploy.prototxt
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:1039 failed to build network since parsing model errors.
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:872 failed to build network.
0:00:12.302726484 4051 0x3e13b80 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 2]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1736> [UID = 2]: build engine file failed
0:00:12.302811744 4051 0x3e13b80 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 2]: Error in NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1822> [UID = 2]: build backend context failed
0:00:12.302824077 4051 0x3e13b80 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 2]: Error in NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1149> [UID = 2]: generate backend failed, check config file settings
0:00:12.302864262 4051 0x3e13b80 WARN nvinfer gstnvinfer.cpp:812:gst_nvinfer_start: error: Failed to create NvDsInferContext instance
0:00:12.302874582 4051 0x3e13b80 WARN nvinfer gstnvinfer.cpp:812:gst_nvinfer_start: error: Config file path: dstest2_sgie1_config_gender.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
Error: gst-resource-error-quark: Failed to create NvDsInferContext instance (1): gstnvinfer.cpp(812): gst_nvinfer_start (): /GstPipeline:pipeline0/GstNvInfer:secondary1-nvinference-engine:
Config file path: dstest2_sgie1_config_gender.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)