Files
FastDeploy/examples/application/js/web_demo/converter
Double_V 0a22979c35 [Model] add Paddle.js web demo (#392)
* add application include paddle.js web demo and xcx

* cp PR #5

* add readme

* fix comments and link

* fix xcx readme

* fix Task 1

* fix bugs

* refine readme

* delete ocrxcx readme

* refine readme

* fix bugs

* delete old readme

* 200px to 300px

* revert 200px to 300px

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-20 17:01:38 +08:00
..
2022-10-20 17:01:38 +08:00
2022-10-20 17:01:38 +08:00
2022-10-20 17:01:38 +08:00

PaddleJsConverter

Installation

System Requirements:

  • paddlepaddle >= 2.0.0
  • paddlejslite >= 0.0.2
  • Python3 3.5.1+ / 3.6 / 3.7
  • Python2 2.7.15+

Install PaddleJsConverter

version
pip install paddlejsconverter

# or
pip3 install paddlejsconverter

Usage

paddlejsconverter --modelPath=user_model_path --paramPath=user_model_params_path --outputDir=model_saved_path --useGPUOpt=True

注意useGPUOpt 选项默认不开启,如果模型用在 gpu backendwebgl/webgpu则开启 useGPUOpt如果模型运行在wasm/plain js则不要开启。