train.sh 296 字节
Newer Older
L
littletomatodonkey 已提交
1 2 3
#!/usr/bin/env bash

# for single card train
G
gaotingquan 已提交
4
# python tools/train.py -c ./ppcls/configs/ImageNet/ResNet/ResNet50.yaml
L
littletomatodonkey 已提交
5 6

# for multi-cards train
T
Tingquan Gao 已提交
7
export CUDA_VISIBLE_DEVICES=0,1,2,3
G
gaotingquan 已提交
8
python -m paddle.distributed.launch --gpus="0,1,2,3" tools/train.py -c ./ppcls/configs/ImageNet/ResNet/ResNet50.yaml