Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

PaddleClas如何在导出模型时导出infer_cfg.yaml?

Open CheQiXiao opened this issue 5 years ago • 2 comments

请问PaddleClas(版本2.2.1)如何在导出模型时导出inference_cfg.yaml文件呢? PaddleDetection的export.py是可以同步导出这个文件的。Paddle Inference的C++ Windows编译部署需要这个文件,但是下面提供的yaml模板似乎用不了。

deploy/cpp/docs/models/paddleclas.md · PaddlePaddle/PaddleX - Gitee.com

deploy/cpp/docs/compile/paddle/windows.md · PaddlePaddle/PaddleX - Gitee.com

image

问题来自论坛:https://aistudio.baidu.com/paddle/forum/topic/show/990548

CheQiXiao avatar Sep 03 '21 08:09 CheQiXiao

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!

paddle-bot-old avatar Sep 03 '21 08:09 paddle-bot-old

PaddleClass导出模型是没有inference_cfg.yaml文件的,需要基于上图中的yaml模版进行自己想要的修改。

使用提供的模版部署分类模型,是有什么报错呢?能贴下具体报错吗?

heliqi avatar Sep 08 '21 08:09 heliqi