提交 d8824dee 编写于 作者: W wangqun

[change]添加视频教程和问题修正

添加视频教程和问题修正
上级 62cc3b2e
......@@ -85,7 +85,7 @@ Paddle.js has some pre-converted models to Paddle.js format .There are some demo
## Feedback and Community Support
- Online video tutorial [start video](https://www.bilibili.com/video/BV1gZ4y1H7UA?p=6)
- Questions, reports, and suggestions are welcome through Github Issues!
- Forum: Opinions and questions are welcome at our [PaddlePaddle Forum](https://ai.baidu.com/forum/topic/list/168)
- QQ group chat: 696965088
......@@ -80,7 +80,7 @@ Paddle.js已经将一些模型转换成了Paddle.js支持的格式。在下面
## 反馈和社区支持
- 在线视频课程 [开始学习](https://www.bilibili.com/video/BV1gZ4y1H7UA?p=6)
- 欢迎在Github Issue中提出问题,反馈和建议!
- 欢迎在我们的[PaddlePaddle Forum](https://ai.baidu.com/forum/topic/list/168)提出观点,进行讨论!
- QQ群:696965088
[中文版](./README_cn.md)
# PaddleJS odel loader
# PaddleJS Model loader
Baidu paddlejs uses this loader to get the model to the browser. The model loader can load browser friendly JSON file types and binary file types, supports single file loading and file fragment loading, and greatly uses the characteristics of browser parallel request to load reasoning model.
......
# PaddleJS Examples
# PaddleJS Model 加载器
百度 PaddleJS 的使用这个加载器进行模型获取到浏览器。模型加载器可以加载浏览器友好的json文件类型和二进制文件类型,支持单文件加载和文件分片加载,极大的利用浏览器并行请求的特性加载推理模型。
......
......@@ -104,7 +104,7 @@ export default class Loader {
return load;
}
async fetchAllDate (arr) {
async fetchAllData (arr) {
const TMP_SCHEME_REGEX = /\.tmp/;
const TMP_REGEX = /\-/;
let requesterArr = arr.map(item => {
......@@ -212,7 +212,7 @@ export default class Loader {
.then(() => this.traverse(artifacts.vars));
}
else {
await that.fetchAllDate(artifacts.vars);
await that.fetchAllData(artifacts.vars);
}
}
return artifacts;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册