Skip to content

Commit df4ed23

Browse files
committed
FIX: Update README file
1 parent 82daaf4 commit df4ed23

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ python run_crslab.py --config config/crs/kgsf/redial.yaml --save_data --save_sys
149149
In summary, there are following arguments in `run_crslab.py`:
150150

151151
- `--config` or `-c`: relative path for configuration file(yaml).
152-
- `--gpu` or `-g`: specify gpu id(s) to use, only support using a single gpu now. Defaults to cpu(-1).
152+
- `--gpu` or `-g`: specify GPU id(s) to use, we now support multiple GPUs. Defaults to CPU(-1).
153153
- `--save_data` or `-sd`: save pre-processed dataset.
154154
- `--restore_data` or `-rd`: restore pre-processed dataset from file.
155155
- `--save_system` or `-ss`: save trained system.
@@ -254,6 +254,8 @@ We welcome all contributions from bug fixes to new features and extensions.
254254

255255
We expect all contributions discussed in the issue tracker and going through PRs.
256256

257+
We thank the nice contributions through PRs from [@shubaoyu](https://github.com/shubaoyu), [@ToheartZhang](https://github.com/ToheartZhang).
258+
257259

258260

259261
## Citing

README_CN.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ python run_crslab.py --config config/crs/kgsf/redial.yaml --save_data --save_sys
148148
总的来说,`run_crslab.py`有如下参数可供调用:
149149

150150
- `--config``-c`:配置文件的相对路径,以指定运行的模型与数据集。
151-
- `--gpu` or `-g`:指定 gpu id,目前仅支持单 GPU,默认使用 CPU(-1)。
151+
- `--gpu` or `-g`:指定 GPU id,支持多 GPU,默认使用 CPU(-1)。
152152
- `--save_data``-sd`:保存预处理的数据。
153153
- `--restore_data``-rd`:从文件读取预处理的数据。
154154
- `--save_system``-ss`:保存训练好的 CRS 系统。
@@ -259,6 +259,8 @@ python run_crslab.py --config config/crs/kgsf/redial.yaml --save_data --save_sys
259259

260260
如果想贡献代码,请先在 Issue 中提出问题,然后再提 PR。
261261

262+
我们感谢 [@shubaoyu](https://github.com/shubaoyu), [@ToheartZhang](https://github.com/ToheartZhang) 通过 PR 为项目贡献的新特性。
263+
262264

263265

264266
## 引用

run_crslab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
parser.add_argument('-c', '--config', type=str,
2121
default='config/crs/tgredial/tgredial.yaml', help='config file(yaml) path')
2222
parser.add_argument('-g', '--gpu', type=str, default='-1',
23-
help='specify gpu id(s) to use, only support using a single gpu now. Defaults to cpu(-1).')
23+
help='specify GPU id(s) to use, we now support multiple GPUs. Defaults to CPU(-1).')
2424
parser.add_argument('-sd', '--save_data', action='store_true',
2525
help='save processed dataset')
2626
parser.add_argument('-rd', '--restore_data', action='store_true',

0 commit comments

Comments
 (0)