-
Notifications
You must be signed in to change notification settings - Fork 141
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
使用paddlejsconverter转换paddleorc的中文文字识别模型后,模型不能正常加载。 #501
Comments
@JingyuanZhang 能帮忙解决一下么? |
I am also having similar issues when running OCR demo with converted model: for converting I used: I used japan_PP-OCRv3_rec model |
+1 基本上没有模型能成功 |
I received errors from paddles like this, conv2d_tranpose and conv2d had a similar notification:
For paddlejs-converter, I use: |
我也遇到同样的问题,转换的模型没有一个能跑的 |
模型使用
https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/doc/doc_en/models_list_en.md#21-chinese-recognition-model
的ch_PP-OCRv3_det的inference model
paddlejsconverter版本1.0.8
转换模型使用以下命令
python 'Paddle.js-release-v2.2.5/packages/paddlejs-converter/convertToPaddleJSModel.py' --modelPath=inference.pdmodel --paramPath=inference.pdiparams --outputDir=../ --useGPUOpt=True --disableOptimize=1
使用的web demo为
https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/application/js/web_demo中的TextDetection
将模型放置到本地,用inport“?url”的方式传递url给orc.loader
模型不能正常被加载,浏览器控制台报
index.js:1 webgl createProgram: conv2d_depthwise -- Error: Error: compile: ERROR: 0:188: 'undefined' : undeclared identifier ERROR: 0:188: '' : boolean expression expected
错误。
The text was updated successfully, but these errors were encountered: