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

alen0pnh  于 2021-11-30  发布在  Java
关注(0)|答案(2)|浏览(308)

请问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

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

jum4pzuy

jum4pzuy1#

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

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 APIFAQGithub Issue and AI community to get the answer.Have a nice day!

mzmfm0qo

mzmfm0qo2#

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

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

相关问题