-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
How to use trained Resnet classification model in python code #3086
Comments
I have trained finished the model. However, how do I use this trained model for inference and how do I integrate this model into my existing codebase? |
you can refer to "4.3 使用本地模型文件预测" in https://github.com/PaddlePaddle/PaddleClas/blob/release/2.5/docs/zh_CN/deployment/image_classification/whl.md |
Yes. You can refer to here(https://github.com/PaddlePaddle/PaddleClas/blob/release/2.3/ppcls/engine/engine.py#L362) to code. |
thank you! the code works |
Hi there,
I have trained a classification model using this: https://github.com/PaddlePaddle/PaddleClas/blob/release/2.3/docs/zh_CN/quick_start/quick_start_classification_new_user.md
However, I do not know how to call the trained model in python code as I wanted to use this model in my existing code.
I do not want to run inference on an image using terminal.
Does anyone know how to do this?
The text was updated successfully, but these errors were encountered: