PaddlePaddle/Paddle.js v2.1.0
PaddlePaddle/Paddle.js
Captured source
source ↗published Sep 21, 2021seen 5dcaptured 8hhttp 200method plain
Paddle.js-v2.1.0
Repository: PaddlePaddle/Paddle.js
Tag: v2.1.0
Published: 2021-09-21T13:45:47Z
Prerelease: no
Release notes:
@paddlejs/paddlejs-core (2.0.1 => 2.1.0)
Features
- Support multi-model case.
- Support users to register custom op, users can insert custom op to change the model structure through tranformer plugins.
- Upgrade OpExecutor to extend the
uniformfield to support passing values for uniform variables in operators' shader program. - Support WeChat Mini Program environment.
- Upgrade tensor to extend the
interpTypefield to support configurable data interpolation type(LINEARorNEAREST, default isNEAREST) when use webgl backend. - Distinguish whether model pre-processing is performed in the CPU or in the GPU through env flag(
webgl_gpu_pipelineorwebgl_feed_process)
Upgrade
- Migrate data preprocessing NCHW2NHWC operations to offline conversion.
@paddlejs/paddlejs-backend-webgl (1.0.1 => 1.1.0)
Features
- Add 11 new operators.
- Support custom webgl context.
- Feature map texture support HALF_FLOAT.
- Support rendering output texture to an on-screen color buffer.
Upgrade
- Optimize cacheTexture to reduce redundant texture generation and resource usage.
Converter
Features
- Support inferring shape.
- Support transpose weight data layout from NCHW to NHWC.
Upgrade
Optimize model structure and reduce redundant model parameters.
models
- Support ocr_detect model.
- Support gesture model (multi_model case).
- Upgrade humanseg model to support two models info(398x224 and 288x160), support gpu_pipeline, optimize total time to 18.8ms, 60.2% performance improvement.