Skip to content

Commit 2b38a5a

Browse files
committed
update README
1 parent ccc0242 commit 2b38a5a

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ English | [中文版](./README_CN.md)
2626
* Edit the model path in the code:
2727

2828
```js
29-
// ./ppdet/main.js
29+
// main.js
3030
// model and configs file are best placed in the 'public' directory
3131
3232
...
33-
const modelURL = './blazeface_1000e/model.onnx'
34-
const modelConfig = './blazeface_1000e/configs.json'
33+
const modelURL = [PATH TO MODEL]
34+
const modelConfig = [PATH TO CONFIG]
3535
...
3636
```
3737

README_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
* 在代码中修改模型路径:
2727

2828
```js
29-
// ./ppdet/main.js
29+
// main.js
3030
// 模型和配置文件最好放置于 'public' 目录下
3131
3232
...
33-
const modelURL = './blazeface_1000e/model.onnx'
34-
const modelConfig = './blazeface_1000e/configs.json'
33+
const modelURL = [模型文件路径]
34+
const modelConfig = [配置文件路径]
3535
...
3636
```
3737

ppcls/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,27 +116,27 @@ English | [中文版](./README_CN.md)
116116
117117
## 5. Rapid deployment
118118
119-
1. Clone this repo:
119+
1. Clone WebAI.js-Examples repo:
120120
121121
```bash
122122
$ git clone https://github.com/AgentMaker/WebAI.js-Examples
123123
```
124124
125-
2. Switch to the directory for the example, like './ppdet':
125+
2. Switch to the directory for the example:
126126
127127
```
128-
$ cd ./ppdet
128+
$ cd ./ppcls
129129
```
130130
131131
3. Edit the model path in the code:
132132
133133
```js
134-
// ./ppdet/main.js
134+
// main.js
135135
// model and configs file are best placed in the 'public' directory
136136
137137
...
138-
const modelURL = './blazeface_1000e/model.onnx'
139-
const modelConfig = './blazeface_1000e/configs.json'
138+
const modelURL = [PATH TO MODEL]
139+
const modelConfig = [PATH TO CONFIG]
140140
...
141141
```
142142

ppcls/README_CN.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
* [WebAI 的体验网站](https://agentmaker.github.io/WebAI.js) 中包含一个配置文件转换生成器
7070

7171
* 可通过这个程序快速将 PaddleClas 的配置文件转换为 WebAI.js 推理所需的配置文件
72-
72+
7373
* 转换器目前仍在持续开发中,目前可能无法兼容所有 PaddleClas 的配置文件
7474

7575
2. 手动编写配置文件,样例如下:
@@ -114,7 +114,7 @@
114114
```
115115

116116
## 5. 快速部署
117-
1. 克隆项目
117+
1. 克隆 WebAI.js-Examples 项目
118118

119119
```bash
120120
$ git clone https://github.com/AgentMaker/WebAI.js-Examples
@@ -129,12 +129,12 @@
129129
3. 在代码中修改模型路径:
130130

131131
```js
132-
// ./ppdet/main.js
132+
// main.js
133133
// 模型和配置文件最好放置于 'public' 目录下
134134
135135
...
136-
const modelURL = './blazeface_1000e/model.onnx'
137-
const modelConfig = './blazeface_1000e/configs.json'
136+
const modelURL = [模型文件路径]
137+
const modelConfig = [配置文件路径]
138138
...
139139
```
140140

0 commit comments

Comments
 (0)