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

Direct prediction API #3126

Open
TheMattBin opened this issue Apr 20, 2024 · 1 comment
Open

Direct prediction API #3126

TheMattBin opened this issue Apr 20, 2024 · 1 comment

Comments

@TheMattBin
Copy link

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?

Thanks!

@changdazhou
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants