name: "DETECTION_POSTPROCESSING" backend: "python" max_batch_size: 128 input [ { name: "image_tensor" data_type: TYPE_UINT8 format: FORMAT_NHWC dims: [ 300, 300, 3 ] }, { name: "detection_boxes" data_type: TYPE_FP32 dims: [ 100, 4] reshape { shape: [100,4] } }, { name: "detection_classes" data_type: TYPE_FP32 dims: [ 100 ] }, { name: "detection_scores" data_type: TYPE_FP32 dims: [ 100 ] }, { name: "num_detections" data_type: TYPE_FP32 dims: [1] } ] output [ { name: "PROCESSED_IMAGE" data_type: TYPE_FP32 dims: [ 224, 224, 3 ] } ] instance_group { kind: KIND_GPU count: 1 gpus: 0 } #instance_group { # count: 1 # kind: KIND_CPU #}