Convert numpy array with image data to a tensor with method pre_process() #1868
Closed
TurboJonte
started this conversation in
General
Replies: 1 comment
-
I just found that this is addressed in #1816 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to use the PyTorch inferencer to gain CUDA support and the PyTorch inferencer only accepts an tensor as input compared to the OpenVINO inferencer which takes a numpa array.
I thus tried to use the
pre_process
method ofTorchInferencer
to convert it but I get the error:So this method can't really work as it is designed.
Beta Was this translation helpful? Give feedback.
All reactions