Error in template matching in VPI samples code

When using the template_matching sample code in C++(VPI), we see the following errors:

VPI_ERROR_INVALID_ARGUMENT: MinMaxLoc input image size differs from the one specified in the payload

Hi @hyashas89 ,
This doesn’t look like a cudnn issue.
Maybe you can raise it to the concerned forum for better assistance.