Files
FastDeploy/examples/application/js/converter
chenqianhe f2619b0546 [Other] Refactor js submodule (#415)
* Refactor js submodule

* Remove change-log

* Update ocr module

* Update ocr-detection module

* Update ocr-detection module

* Remove change-log
2022-10-23 14:05:13 +08:00
..
2022-10-23 14:05:13 +08:00
2022-10-23 14:05:13 +08:00
2022-10-23 14:05:13 +08:00
2022-10-23 14:05:13 +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则不要开启。