Comments (4)
+1 基本上没有模型能成功
from paddle.js.
@JingyuanZhang 能帮忙解决一下么?
from paddle.js.
I am also having similar issues when running OCR demo with converted model:
for converting I used:
python convertToPaddleJSModel.py --modelPath=../../../inference.pdmodel --paramPath=../../../inference.pdiparams --outputDir=. --disableOptimize=1 --useGPUOpt=1
I used japan_PP-OCRv3_rec model
from paddle.js.
I received errors from paddles like this, conv2d_tranpose and conv2d had a similar notification:
webgl createProgram: conv2d_depthwise -- Error: Error: compile: ERROR: 0:188: 'undefined' : undeclared identifier ERROR: 0:188: '' : boolean expression expected
I was working around pp-OCRv3-det. I realized something:
- Conv2d-depthwise and Conv2d Tranpose are not supported by paddlejs (I used @paddle-js-models/ocrdet==4.1.1). Conv2d Depthwise is used in MobileNetv3, and Conv2d Tranpose is used in DBHead. You may (somehow) change these operations to make it work.
- Problem of conv2d can be solved by changing paddlepaddle-gpu from 2.6.0.post112 to 2.3.2.post112.
I hope suggestions may be helpful.
For paddlejs-converter, I use:
paddlepaddle==2.5.1
paddlejsconverter==1.0.7
paddlelite==2.8
from paddle.js.
Related Issues (20)
- Cannot read property 'naturalHeight' of undefined HOT 1
- 项目跟本跑步起来啊 HOT 3
- [OCR] 识别视频截图导致帧率急剧降低 HOT 5
- 怎么转换成 tf 模型
- 在webWorker使用paddlecore:找不到document HOT 1
- ocr 识别失败
- safari:SyntaxError: Unexpected EOF HOT 2
- ios手机无法加载paddle.js物体检测模型 HOT 3
- ocrdetectxcx 导入小程序报错 Invalid context type [webgl2] for Canvas#getContext HOT 1
- 无法识别,识别出是空的数组 HOT 2
- getValueFromTensorPosPacking_filter getValueFromTensorPosPacking_origin where is the function define HOT 1
- where to get the paddlejslite? HOT 1
- 如何接入 PP-OCRv4 ?
- TypeError: Cannot assign to read only property 'cflags' of object '#<Object>' HOT 2
- RuntimeError: (NotFound) Operator (one_hot) is not registered. [Hint: op_info_ptr should not be null.] (at ..\paddle/fluid/framework/op_info.h:152) HOT 4
- packages/paddlejs-converter is outdated and doesn't work anymore
- 目前是否不支持PP-OCRv4?
- 内存占用过大,有什么优化方法吗
- ![image](https://user-images.githubusercontent.com/28520144/213392785-e8c76175-902c-4bd7-b0fe-b8ba3b0d1385.png) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddle.js.