update can doc

This commit is contained in:
WenmuZhou 2022-10-24 05:34:35 +00:00
parent aaf077e687
commit 40541bde96

View File

@ -60,7 +60,7 @@ python3 -m paddle.distributed.launch --gpus '0,1,2,3' tools/train.py -c configs
python3 tools/train.py -c configs/rec/rec_d28_can.yml
-o Train.dataset.transforms.GrayImageChannelFormat.inverse=False
```
- 默认每训练1个epoch1,105次iteration进行1次评估若您更改训练的batch_size或更换数据集请在训练时作出如下修改
- 默认每训练1个epoch1105次iteration进行1次评估若您更改训练的batch_size或更换数据集请在训练时作出如下修改
```
python3 tools/train.py -c configs/rec/rec_d28_can.yml
-o Global.eval_batch_step=[0, {length_of_dataset//batch_size}]