mmcv/examples/dist_train_cifar10.sh

6 lines
151 B
Bash
Raw Normal View History

2018-09-29 23:53:58 +08:00
#!/usr/bin/env bash
PYTHON=${PYTHON:-"python"}
$PYTHON -m torch.distributed.launch --nproc_per_node=$2 train_cifar10.py $1 --launcher pytorch ${@:3}