Paddle.js is an Web project for Baidu Paddle, which is an 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.
Paddle.js is an Web project for Baidu Paddle, which is an 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.
...
@@ -33,7 +33,7 @@ If the original model was a SavedModel, use paddle.load().
...
@@ -33,7 +33,7 @@ If the original model was a SavedModel, use paddle.load().
```bash
```bash
import * as tf from 'paddlejs';
import Paddle from 'paddlejs';
let feed = io.process({
let feed = io.process({
...
@@ -90,7 +90,7 @@ Please see fetch documentation for details.
...
@@ -90,7 +90,7 @@ Please see fetch documentation for details.
## Run the converter script provided by the pip package:
## Run the converter script provided by the pip package:
The converter expects a Paddlejs SavedModel, Paddle Hub module, Tpaddle.js JSON format for input.
The converter expects a Paddlejs SavedModel, Paddle Hub module, paddle.js JSON format for input.
Web project is built on Atom system which is a versatile framework to support GPGPU operation on WebGL. It is quite modular and could be used to make computation tasks faster by utilizing WebGL.
### 浏览器覆盖面
### 浏览器覆盖范围
* PC: Chrome
* PC: Chrome
* Mac: Chrome
* Mac: Chrome
* Android: Baidu App and QQ Browser
* Android: Baidu App and QQ Browser
## 如何构建部署 demo
### 支持的操作
Currently Paddle.js only supports a limited set of Paddle Ops. See the full list. If your model uses unsupported ops, the Paddle.js script will fail and produce a list of the unsupported ops in your model. Please file issues to let us know what ops you need support with.