Giter VIP home page Giter VIP logo

Comments (4)

allenliuvip avatar allenliuvip commented on June 2, 2024 1

+1 基本上没有模型能成功

from paddle.js.

jprorikon avatar jprorikon commented on June 2, 2024

@JingyuanZhang 能帮忙解决一下么?

from paddle.js.

im-ajaymeena avatar im-ajaymeena commented on June 2, 2024

I am also having similar issues when running OCR demo with converted model:

image

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.

VuHuy-cse-9 avatar VuHuy-cse-9 commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.