Error with inference pipeline on Jetson: NvBufSurfTransform failed with error -2 while converting buffer

please refer to this FAQ.