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

[Feature Request] 使用onnx2paddle,没有model.yml和pipeline.yml怎么推理 #181

Open
TranquilChan opened this issue Jan 29, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@TranquilChan
Copy link

因为paddle里面没有想使用的深度学习主干,所以我先用其他框架训练的,生成onnx,然后再使用x2paddle把onnx转换成paddle,但是没有model.yml和pipeline.yml,我现在想推理但缺少这两个文件,应该怎么办?麻烦解答一下,谢谢

@TranquilChan TranquilChan added the enhancement New feature or request label Jan 29, 2024
@github-actions github-actions bot added the triage new issue/PR waiting to be dealed label Jan 29, 2024
@Bobholamovic
Copy link
Member

你好,PaddleRS暂不支持这种用法。目前只能通过手动编写这两个yaml文件来实现这一功能~

@TranquilChan
Copy link
Author

你好,PaddleRS暂时不支持这种方式。目前只能通过手动编写这两个yaml文件来实现这个功能~

哦哦,谢谢解答,可以提供一下这两个文件的格式或者样例吗,非常感谢

@Bobholamovic
Copy link
Member

不同模型产生的这两个文件中的字段也会有所不同。建议按照PaddleRS模型导出教程导出需要用到的模型,然后将模型结构和权重参数文件替换成onnx导出的版本试试。

@github-actions github-actions bot removed the triage new issue/PR waiting to be dealed label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants