1&2&3. please find symmetric-padding in nvinfer, padding can be used for all kinds of models.
3. please find “maintain-aspect-ratio” and “symmetric-padding” 's explanation in the link above.
I am trying to use the “Symmetric-padding” in the config file, as mention in the document. But, I am unable to see the padding when I try to save the crops inside the folder.
I need to add padding and save the crops to a folder. What should I be doing, I can share my config file too.
There is no update from you for a period, assuming this is not an issue any more. Hence we are closing this topic. If need further support, please open a new one. Thanks.
nvinfer plugin is opensource. please refer to dump_infer_input_to_file.patch.txt in DeepStream SDK FAQ - #9 by mchi, it will dump the input just before calling TRT inference. it includes padding.