Error using nvdspreprocess resize using NvBufSurfTransformInter_Algo2 in object mode

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 530.30
• Issue Type( questions, new requirements, bugs) error
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Hi, I am using the nvdspreprocess plugin in object mode after pgie, and I can use it for resizing using nearest and bilinear algorithms. With NvBufSurfTransformInter_Algo2 is am facing error.

CUDA error at nvbufsurftransform.cpp:2817 code=23(NPP_RESIZE_FACTOR_ERROR) “nppiResizeSqrPixel_8u_C1R (src_ptr + src_offset, nppSrcSize, jsrc_pitch, jnppSrcROI, intermediate_buffer+dst_offset, jdst_pitch, jnppDstROI, scale_x, scale_y, jdx, jdy, nppInterFlag)”
0:01:09.776572590 1 0x4dfe980 ERROR nvdsspreprocess gstnvdsspreprocess.cpp:1230:batch_transformation: NvBufSurfTransform failed with error -2

why do you need NvBufSurfTransformInter_Algo2 in your code? it is only used to donwnscle.
/** Specifies GPU-Super, VIC-10 Tap interpolation. */
NvBufSurfTransformInter_Algo2,

It has been working well for our use cases, for most of our model’s final inference accuracies are close to their pytorch variant with Algo2. Any issue in using Algo2 for nvdspreprocess in object mode?

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

NvBufSurfTransformInter_Algo2 only supports donwnscle, does not support upscale.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.