Shapes in trtexec not working for sr_input:0


[10/14/2020-12:21:27] [W] Dynamic dimensions required for input: sr_input:0, but no shapes were provided. Automatically overriding shape to: 1x3x1x1
Command used:
/usr/src/tensorrt/bin/trtexec --explicitBatch --onnx=edsr_simplified.onnx --minShapes=‘sr_input:0’:1x32x32x3 --optShapes=‘sr_input:0’:16x32x32x3 --maxShapes=“sr_input:0"”:"32x640x360x3 --shapes=‘sr_input:0’:5x640x360x3 --workspace=5000
It is seen that default dimensions are being given 1x3x1x1. Can You guys help.


TensorRT Version:
GPU Type: T4
Nvidia Driver Version: 440+
CUDA Version: 10.2
Operating System + Version: 18.04

Hi @GalibaSashi,
The reason might be the input name format because of whch it is not picking up the given shapes.
Can you please share your mode so that i can try the same at my end.


Hi @AakankshaS,
I have share the model can you check