Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] #218

Open
frankxia2018 opened this issue Nov 28, 2024 · 0 comments
Open

[BUG] #218

frankxia2018 opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working as expected (software, install, documentation)

Comments

@frankxia2018
Copy link

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.

@frankxia2018 frankxia2018 added the bug Something isn't working as expected (software, install, documentation) label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected (software, install, documentation)
Projects
None yet
Development

No branches or pull requests

1 participant