Commit dc4184f4 authored by chenych's avatar chenych
Browse files

update readme and change device param in main.py

parent ba2b83b0
......@@ -94,9 +94,7 @@ COCO2017
## 训练
### 单机单卡/单机多卡
修改train.sh中HIP_VISIBLE_DEVICES数据,实现单卡或者多卡训练
### 单机多卡
```
bash train.sh
......@@ -129,7 +127,7 @@ bash val.sh
### 精度
在COCO2017的测试集上进行单卡测试,结果如下表所示
在COCO2017的测试集上进行单卡测试,结果如下表所示(待补充)
| xxx | xxx | xxx | xxx | xxx |
| :------: | :------: | :------: | :------: |:------: |
......
......@@ -86,7 +86,7 @@ def get_args_parser():
parser.add_argument('--output_dir', default='',
help='path where to save, empty for no saving')
parser.add_argument('--device', default='cuda:0',
parser.add_argument('--device', default='cuda',
help='device to use for training / testing')
parser.add_argument('--seed', default=42, type=int)
parser.add_argument('--resume', default='', help='resume from checkpoint')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment