You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
frankxia2018
added
the
bug
Something isn't working as expected (software, install, documentation)
label
Nov 28, 2024
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)
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.
The text was updated successfully, but these errors were encountered: