mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-26 01:50:33 +08:00
* 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>
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
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 backend(webgl/webgpu),则开启 useGPUOpt,如果模型运行在(wasm/plain js)则不要开启。