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

RepSVTR可以使用paddlelite工具进行端化吗 #10538

Open
1878708493 opened this issue Jul 19, 2024 · 1 comment
Open

RepSVTR可以使用paddlelite工具进行端化吗 #10538

1878708493 opened this issue Jul 19, 2024 · 1 comment
Assignees

Comments

@1878708493
Copy link

问题描述 / Problem Description

请问RepSVTR可以使用paddlelite工具转nb模型吗?我尝试做了一下,会报错:
[F 7/18 18:53:41.205 ...e-Lite/lite/core/model/general/op_desc.h:118 GetAttr] Check failed: it != attrs().end(): No attributes called beta found for swish

运行环境 / Runtime Environment

  • OS: Ubuntu 20.04.4 LTS
  • Paddle: 2.6.1 gpu版本
  • PaddleOCR: 2.8.0
  • paddlelite: 2.13rc0

复现代码 / Reproduction Code

paddle_lite_opt --model_file=./openatom_rec_svtrv2_ch_train_eval/inference.pdmodel --param_file=./openatom_rec_svtrv2_ch_train_eval/inference.pdiparams --optimize_out=./openatom_rec_svtrv2_ch_train_eval_opt --valid_targets=arm --optimize_out_type=naive_buffer

完整报错 / Complete Error Message

[F 7/18 18:53:41.205 ...e-Lite/lite/core/model/general/op_desc.h:118 GetAttr] Check failed: it != attrs().end(): No attributes called beta found for swish

可能解决方案 / Possible solutions

附件 / Appendix

@jzhang533 jzhang533 transferred this issue from PaddlePaddle/PaddleOCR Jul 24, 2024
@zhupengyang
Copy link
Collaborator

这个问题在develop分支上已经修复了。可以用develop分支重新编译下~

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