dkuncookie / Paddle.js

Paddle.js is a Web project for Baidu Paddle, which is an open source deep learning framework designed to work on web browser. Load a pretrained paddle.js SavedModel or Paddle Hub module into the browser and run inference through Paddle.js. It could run on nearly every browser with WebGL support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

中文版

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 supported.

Build Status

Key Features

Module

  • paddlejs-core, the core part of the Paddle.js ecosystem, which is responsible for the operation of the inference process of the entire engine.
  • paddlejs-converter, model transformation tool for Paddle.js, convert PaddlePaddle models (also known as fluid models) into a browser-friendly format.
  • paddlejs-models, model projects, supply flexible low-level APIs for users to implement their AI scenario.
  • paddlejs-examples, Paddle.js AI examples
  • paddlejs-mediapipe, tools for live and streaming media, support webrtc camera and a lightweight opencv package

Backends

Browser/Platforms Coverage

  • PC: Chrome, Safari, Firefox
  • Phone: Baidu App , Chrome , UC and QQ Browser
  • Smartprogram: Baidu Smartprogram, WX Smartprogram
  • Platform: macOS, Windows

Web-friendly format

The conversion script above produces 2 types of files:

  • model.json (the dataflow graph and weight manifest file)
  • chunk_x.dat (collection of binary weight files)

Feedback and Community Support

  • Online video tutorial start video
  • Questions, reports, and suggestions are welcome through Github Issues!
  • Forum: Opinions and questions are welcome at our PaddlePaddle Forum
  • QQ group chat: 696965088

About

Paddle.js is a Web project for Baidu Paddle, which is an open source deep learning framework designed to work on web browser. Load a pretrained paddle.js SavedModel or Paddle Hub module into the browser and run inference through Paddle.js. It could run on nearly every browser with WebGL support.

License:Apache License 2.0


Languages

Language:TypeScript 77.9%Language:JavaScript 7.9%Language:Python 5.3%Language:HTML 5.3%Language:Vue 3.6%