Closed vilmara closed 3 years ago
From the error: 0 must equal 8, got shape [5,600,1024,3] It looks like you need to replace 5 by 8.
hi @monjha, when I optimized the model with the script https://github.com/tensorflow/tensorrt/blob/r1.14%2B/tftrt/examples/object_detection/object_detection.py there was a message with a warning about "Incomplete input shape", it seems the input shape was unknown when exporting the optimized model
Hi, I have optimized the model faster_rcnn_inception_v2 model as TF-TRT INT8 with NMS enabled (ops placed on the CPU) using TF 1.5.2 and the script https://github.com/tensorflow/tensorrt/tree/r1.14+/tftrt/examples/object_detection. I got the below performance with nms enable vs nms disable: TF-TRT-INT8 (nms enabled): ~96FPS TF-TRT-INT8 (no nms): ~43 FPS
The model was optimized with batch_size=8, image_shape=[600, 600], and minimum_segment_size=50. For DS-Triton deployment the max_batch_size=8
The issue is now when deploying the model to DeepStream-Triton, I got the below error
Input shape axis 0 must equal 8, got shape [5,600,1024,3]
(even though the model was optimized with BS=8):Some idea on how to solve the input shape issue?