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

PaddleOCR V4 有nb模型可下载吗? #10564

Closed
weiwujiang opened this issue Sep 9, 2024 · 4 comments
Closed

PaddleOCR V4 有nb模型可下载吗? #10564

weiwujiang opened this issue Sep 9, 2024 · 4 comments
Assignees

Comments

@weiwujiang
Copy link

2.14-rc版本的release note中PaddleOCR所给的下载地址是只有pdmodel,没有对应的nb模型
PP-OCRv4-mobile-rec
PP-OCRv4-mobile-det

目前使用环境是Android 手机,是否需要自行进行转换?

@hong19860320
Copy link
Collaborator

2.14-rc版本的release note中PaddleOCR所给的下载地址是只有pdmodel,没有对应的nb模型 PP-OCRv4-mobile-recPP-OCRv4-mobile-det

目前使用环境是Android 手机,是否需要自行进行转换?

可以通过2.14rc release note 的 opt 工具进行转换哦 https://github.com/PaddlePaddle/Paddle-Lite/releases
image

@weiyouren
Copy link

怎么转?用--model_dir参数?提示不支持的模型
./opt --model_dir=./det --valid_targets=arm --optimize_out_type=naive_buffer --optimize_out=det --quant_model true --quant_type QUANT_INT8
[F 12/20 11:42:38. 67 ...e-Lite/lite/model_parser/model_parser.cc:134 PrintPbModelErrorMessage]
Error, Unsupported model format!
1. contents in model directory should be in one of these formats:
(1) model + var1 + var2 + etc.
(2) model + var1 + var2 + etc.
(3) model.pdmodel + model.pdiparams
(4) model + params
(5) model + weights
2. You can also appoint the model and params file in custom format:
eg. |-- set_model_file('custom_model_name')
|-- set_param_file('custom_params_name')'
Aborted (core dumped)

@iosmers
Copy link
Collaborator

iosmers commented Jan 24, 2025

你好,请问你的问题是否被解决了?

@iosmers
Copy link
Collaborator

iosmers commented Jan 26, 2025

您好,如果没有进一步的问题,我先把这个issue关闭了。如果还有问题,您随时可以 Reopen。

@iosmers iosmers closed this as completed Jan 26, 2025
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

4 participants