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
The data types of input image and the model inferencing input data are numpy.ndarray.
I have to perform many data type conversions when using cvcuda, which is very inefficient.
How can I solve this problem?
The text was updated successfully, but these errors were encountered:
Hi @mizhitian-xiaomi,
Thanks for you interest in CV-CUDA!
Could you provide more information to your use-case?
Is the workflow to go from a torch tensor -> cvcuda tensor -> numpy array, and while having the cvcuda tensor, do data type conversions? Then repeat this process for multiple tensors?
@mizhitian-xiaomi Generally CV-CUDA recommends that you use GPU accelerated data decoding libraries like nvimagecodec or pynvvideocodec. CV-CUDA samples cover a broad range of pipelines that reads videos and images and pass it on to a model for inference.
If your input data must come from Numpy and if it must be converted to Numpy before feeding into the model, then yes you would require data types conversions that you mentioned.
The data types of input image and the model inferencing input data are numpy.ndarray.

I have to perform many data type conversions when using cvcuda, which is very inefficient.
How can I solve this problem?
The text was updated successfully, but these errors were encountered: