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

# for single card train
# python3.7 tools/train.py -c ./ppcls/configs/ImageNet/ResNet/ResNet50.yaml

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