PaddlePaddle / Paddle.js

Paddle.js is a web project for Baidu PaddlePaddle, which is an open source deep learning framework running in the browser. Paddle.js can either load a pre-trained model, or transforming a model from paddle-hub with model transforming tools provided by Paddle.js. It could run in every browser with WebGL/WebGPU/WebAssembly supported. It could also run in Baidu Smartprogram and WX miniprogram.
https://paddlejs.baidu.com
Apache License 2.0
981 stars 138 forks source link
deep-learning inference-engine model ocr paddlepaddle webassembly webgl webgpu

中文版

Paddle.js

building UnitTest commit-activity license license license python

Paddle.js is a web project for Baidu PaddlePaddle, which is an open source deep learning framework running in the browser. Paddle.js can either load a pre-trained model, or transforming a model from paddle-hub with model transforming tools provided by Paddle.js. It could run in every browser with WebGL/WebGPU/WebAssembly supported. It could also run in Baidu Smartprogram and WX miniprogram.

Ecosystem

Project version Description
paddlejs-core paddlejs-core-status inference engine
paddlejs-backend-webgl paddlejs-backend-webgl-status webgl backend
paddlejs-backend-wasm paddlejs-backend-wasm-status wasm backend
paddlejs-backend-webgpu paddlejs-backend-webgpu-status webgpu backend
paddlejsconverter paddlejsconverter-status convert paddlepaddle model
humanseg humanseg-status human segmentation library
ocr ocr-status optical character recognition library
gesture gesture-status gesture recognition library
mobilenet mobilenet-status image classification library
ocr detection ocr-detection-status optical character detection library
facedetect facedetect-status face detection library

Website

https://paddlejs.baidu.com

Key Features

Module

Examples

clasGame wine gesture ocr

humanseg facedetect

Browser/Platforms Coverage

Load Model

  1. Support load model files on the network:

    • model.json (model structure and operators' attributes)
    • chunk_x.dat (model params binary data)
  2. Support use model obj

    • modelObj.model (model structure json object)
    • modelObj.params(model params Float32Array data)

If you dont' want to put model on the network, you can use method 2.

Feedback and Community Support