################################################################################ # SPDX-FileCopyrightText: Copyright (c) 2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ################################################################################ infer_config { unique_id: 5 gpu_ids: [0] max_batch_size: 1 backend { trt_is { model_name: "ensemble_test" version: -1 model_repo { root: "/opt/nvidia/deepstream/deepstream-6.0/samples/triton_model_repo" log_level: 2 tf_gpu_memory_fraction: 0.4 tf_disable_soft_placement: 0 } } } preprocess { network_format: IMAGE_FORMAT_RGB tensor_order: TENSOR_ORDER_NONE maintain_aspect_ratio: 0 normalize { scale_factor: 1.0 channel_offsets: [0, 0, 0] } } } input_control { process_mode: PROCESS_MODE_FULL_FRAME interval: 0 } output_control { output_tensor_meta: true }