I was working in prediction of binary classification model under the following environment:
1. PaddleClas and PaddlePaddle version: PaddleClas release/2.5 and PaddlePaddle 2.6
2. Environmental
a. OS: Linux
b. Python 3.12
c. CUDA/cuDNN version: CUDA11.7/cuDNN 8.4
so I used the python python/predict_cls.py to predict my own images, however I would like to know if I can pass the images as ndarray since I want to customize the prediction script for convenient inference?
I was working in prediction of binary classification model under the following environment:
so I used the
python python/predict_cls.py
to predict my own images, however I would like to know if I can pass the images as ndarray since I want to customize the prediction script for convenient inference?Thanks!