You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

dist_train.sh 247 B

2 years ago
123456789
  1. #!/usr/bin/env bash
  2. CONFIG=$1
  3. GPUS=$2
  4. PORT=${PORT:-29501}
  5. PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
  6. python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \
  7. $(dirname "$0")/train.py $CONFIG --launcher pytorch ${@:3}

No Description

Contributors (3)