mirror of
https://github.com/PaddlePaddle/PaddleClas.git
synced 2025-06-03 21:55:06 +08:00
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
|