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

OCR.run 方法运行后 onSuccess 和 onFail 回调均不触发. 流程卡死了 #38

Open
iielse opened this issue Feb 7, 2024 · 10 comments

Comments

@iielse
Copy link

iielse commented Feb 7, 2024

No description provided.

@equationl
Copy link
Owner

抱歉,才看到

你使用的是哪个版本?demo能运行吗?

@iielse
Copy link
Author

iielse commented Feb 19, 2024

v1.2.71.2.8 均有 . 可能我导入的文件格式不对? 我这边是 cls.pdiparmas cls.pdmodel det.pdiparams det.pdmodel rec.pdiparams rec.pdmodel . 和你demo好像不一样

@equationl
Copy link
Owner

使用 fastdeploy 部署的话,模型确实是 .pdiparams 和 .pdmodel 啊,你运行的 demo 是使用 fastdeploydemo 部署的还是 Paddle-Lite ?

@equationl
Copy link
Owner

我这里用 1.2.8 版本的 fastdeploy部署 的 demo测试,模型错误或者识别错误都是会直接报错的,没有复现出卡死的情况,或者你方便打包一个最小复现 demo 我看看吗?

@iielse
Copy link
Author

iielse commented Feb 19, 2024

根据我的研究我可能是因为运行在 雷电9模拟器上导致的, 这估计是个 X86架构的模拟器, 我自己用 官方的 demo 部署测试 也会卡在 running models 这个等待框这里。 我看官方 issue 里面也有人提到过 x86 支持的相关问题。 目前没有下文。 我切换到mumu12模拟器是可以出结果的

@iielse
Copy link
Author

iielse commented Feb 19, 2024

PaddleOCR/issues/7543 官方似乎不打算处理这个事情. 这就尴尬了

@equationl
Copy link
Owner

原来如此

@iielse
Copy link
Author

iielse commented Feb 22, 2024

很尴尬,目前官方demo也只给了v2的nb模型,虽然提供了v3的nb模型,但可惜我自己尝试失败了,v4的就更没看到了。然后没有x86支持,也没有arm32,就一个arm64位,在安卓端白嫖使用的限制似乎很多。果然可能还是我太菜的原因。

@equationl
Copy link
Owner

Paddle-Lite 移动端好像没有维护了,我看官方给的移动端示例都是用的 fastdeploy 了,但是现在 fastdeploy 移动端也只支持到 v3,官方说 v4 也支持,但是没有给示例,我也是自己试了 v4 ,跑不起来……

@iielse
Copy link
Author

iielse commented Feb 23, 2024

感谢回复,这问题先这样挂着吧

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