infer_config { unique_id: 3 gpu_ids: [0] max_batch_size: 1 backend { trt_is { model_name: "xception_mask_classifier" version: -1 model_repo { root: "/opt/nvidia/deepstream/deepstream-5.0/samples/trtis_model_repo" strict_model_config: true log_level: 2 tf_gpu_memory_fraction: 0.5 tf_disable_soft_placement: 0 } } } preprocess { network_format: IMAGE_FORMAT_RGB tensor_order: TENSOR_ORDER_NHWC maintain_aspect_ratio: 0 frame_scaling_hw: FRAME_SCALING_HW_DEFAULT frame_scaling_filter: 1 normalize { scale_factor: 1.0 channel_offsets: [0, 0, 0] } } postprocess { labelfile_path: "/opt/nvidia/deepstream/deepstream-5.0/samples/trtis_model_repo/xception_mask_classifier/labels.txt" classification { threshold: 0.51 #custom_parse_classifier_func: "NvDsInferClassiferParseCustomSoftmax" } } #custom_lib { # path: "/opt/nvidia/deepstream/deepstream-5.0/lib/libnvds_infercustomparser.so" # } } input_control { process_mode: PROCESS_MODE_CLIP_OBJECTS operate_on_gie_id: 1 operate_on_class_ids: [1] interval: 0 async_mode: true object_control { bbox_filter { min_width: 16 min_height: 16 } } }