Comments (5)
Hello, you can use the command here to train. https://github.com/PaddlePaddle/PaddleClas/blob/release/2.3/docs/zh_CN/quick_start/quick_start_classification_new_user.md#412-%E4%BD%BF%E7%94%A8%E9%A2%84%E8%AE%AD%E7%BB%83%E6%A8%A1%E5%9E%8B
from paddleclas.
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?
Is there a function (for example, model.predict(img_array)) in paddleclas that I can call my trained model using python code?
from paddleclas.
you can refer to "4.3 使用本地模型文件预测" in https://github.com/PaddlePaddle/PaddleClas/blob/release/2.5/docs/zh_CN/deployment/image_classification/whl.md
from paddleclas.
Yes. You can refer to here(https://github.com/PaddlePaddle/PaddleClas/blob/release/2.3/ppcls/engine/engine.py#L362) to code.
from paddleclas.
thank you! the code works
from paddleclas.
Related Issues (20)
- 为什么训练日志中train内top1和top5准确值不打印出来了? HOT 1
- clarity_assessment_infer.tar 下载链接不存在 HOT 1
- 图像识别微调之后效果反而变差了 HOT 3
- paddleclas模型训练gpu如何高效利用 HOT 3
- PULC微调text_image_orientation模型大量误识别0°为180°的问题 HOT 3
- 模型clarity_assessment不存在 HOT 4
- 用PaddleClas训练2类模型,训练的top1精度错误。在训练过程中推理验证集和训练完成后单独推理验证集输出结果不一致。 HOT 19
- PP-ShiTu V2图像识别系统存在内存泄漏问题 HOT 2
- 按照文档 使用 paddle_serving 部署 PLUC 的clarity_assessment 清晰度检测模型,接口调用报错 HOT 6
- 请问PP-Shitu v2是不是不支持Windows下的C++调用? HOT 4
- 行人属性检测的C++部署代码是哪个? HOT 5
- Feature Request: Extend Confusion Matrix Support in to Single-Label Classification HOT 3
- 训练多标签使用MobileNetV1_multilabel.yaml,multilabelloss.py报错 HOT 6
- 微调训练识图模型后,特征检索未达到预期效果 HOT 3
- 度量学习nan是不是单纯是召回没命中? HOT 1
- 建议支持PaddlePaddle 3.0 HOT 1
- 下载EfficientNetV2_S模型时报错 HOT 4
- swin_transformer_v2.py中第689行output_dimensions未定义 HOT 3
- dataloader无法正确加载数据 HOT 10
- C++部署问题 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddleclas.