Open
Description
VIP3 使用1920x1080图片时候,转换为cvcuda格式报错。
PyTorch/CUDA -> VPI, no copies involved --------------
vpi_image = vpi.asimage(torch_image)
Peform operations using VPI's CUDA backend
with vpi.Backend.CUDA:
# Blur the input image with box filter
vpi_image = vpi_image.box_filter(3)
nvcttensor = cvcuda.as_tensor(tensor,dtype)
RuntimeError: NVCV_ERROR_INVALID_ARGUMENT: Pitch of dimension 0 must be == 1920 (packed), but it is 2048
cvcuda只支持 stride==width?width和stride不同要报错!!!这限制了cvcuda的使用范围,cv2.cuda.部分函数也会是stride!=width.