CV-CUDA icon indicating copy to clipboard operation
CV-CUDA copied to clipboard

[QUESTION]Error: Line 271: '' failed: invalid configuration argument

Open mortal-Zero opened this issue 1 year ago • 1 comments

What is your question?

When I use cvcuda.warp_affine, I got an error Line 271: '' failed: invalid configuration argument.

I pass a nvcv.ImageBatchVarShape, a nvcv.Tensor, flags=cvcuda.Interp.LINEAR, border_mode=cvcuda.Border.CONSTANT, border_value=[0], and the len(image_batch) is 1500, theaffine_matrices.shape is (1500, 6)

Thanks for help.

mortal-Zero avatar Jul 26 '23 08:07 mortal-Zero

Hi @mortal-Zero,

Thank you very much for you interest in CVCUDA!

We currently track this bug internally and will fix it in a future release.

As a workaround for now, I recommend calling warp_affine multiple times, but with smaller batch sizes, e.g. call it 3x each with a batch size of 500.

bhaefnerNV avatar May 03 '24 18:05 bhaefnerNV