Skip to main content

Paddlejs model converter

Project description

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 backend(webgl/webgpu),则开启 useGPUOpt,如果模型运行在(wasm/plain js)则不要开启。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paddlejsconverter-1.0.8.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

paddlejsconverter-1.0.8-py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page