7 lines
265 B
Bash
7 lines
265 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# for single card train
|
||
|
# python3.7 tools/train.py -c ./ppcls/configs/ImageNet/ResNet/ResNet50.yaml
|
||
|
|
||
|
# for multi-cards train
|
||
|
python3.7 -m paddle.distributed.launch --gpus="0,1,2,3" tools/train.py -c ./ppcls/configs/ImageNet/ResNet/ResNet50.yaml
|