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

模型转化 #1

Open
txy00001 opened this issue Jan 12, 2024 · 2 comments
Open

模型转化 #1

txy00001 opened this issue Jan 12, 2024 · 2 comments

Comments

@txy00001
Copy link

你好我想问一下你这个库可以将ppocr的模型转为trt的么?我想把ppocr自己选调整训练后的模型转为trt的然后用于部署,该如何使用这个库呢?期待你的回答

@littletomatodonkey
Copy link
Owner

ppocr的模型没有测试过,可以直接使用paddleocr的repo,先转成onnx,再转为trt

@txy00001
Copy link
Author

ppocr的模型没有测试过,可以直接使用paddleocr的repo,先转成onnx,再转为trt

我顺利转为了onnx,但是再转trt时就会报结构上名称的错误,我看通过paddle2onnx转出的模型的名称和torch转出的有点差异,不知道是不是这个原因导致失败,如何你可以用这个框架顺利转出trt,那将是一个很好的工作,期待你的回复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants