diff --git a/README.md b/README.md index 0871ee09a405f3ceb2d31898e9eaf59e6a7c912f..88338d2748551042e7da0c4a8cd40221337f9054 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README_cn.md b/README_cn.md index 36f5d382ea84b24bf4b835d937f81a9d06a58a64..551ac7b2e20f378c10f5370e91c4c189b1f792d2 100644 --- a/README_cn.md +++ b/README_cn.md @@ -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 diff --git a/src/loader/README.md b/src/loader/README.md index c2e8e534b862059f25c7a8b9330997aaf11d663d..4b54457c0323c68a8f93d91ec69f722631dab036 100644 --- a/src/loader/README.md +++ b/src/loader/README.md @@ -1,5 +1,5 @@ [中文版](./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. diff --git a/src/loader/README_cn.md b/src/loader/README_cn.md index 5b8e73731cddefeebe42cb7ec56e19c127d648d5..9d7d8bc80abf25cdecea316175c77dcabc7d4b92 100644 --- a/src/loader/README_cn.md +++ b/src/loader/README_cn.md @@ -1,4 +1,4 @@ -# PaddleJS Examples +# PaddleJS Model 加载器 百度 PaddleJS 的使用这个加载器进行模型获取到浏览器。模型加载器可以加载浏览器友好的json文件类型和二进制文件类型,支持单文件加载和文件分片加载,极大的利用浏览器并行请求的特性加载推理模型。 diff --git a/src/loader/loader.es6 b/src/loader/loader.es6 index 73eec40f72d900a1a027d549776d60e75383176b..c50a02da8e1b5287ba07391910eaa5065fc0082e 100644 --- a/src/loader/loader.es6 +++ b/src/loader/loader.es6 @@ -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;