mirror of https://github.com/open-mmlab/mmcv.git
5 lines
150 B
Bash
5 lines
150 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
PYTHON=${PYTHON:-"python"}
|
||
|
|
||
|
$PYTHON -m torch.distributed.launch --nproc_per_node=$2 train_cifar10.py $1 --launcher pytorch ${@:3}
|