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_test.sh 272 B

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

No Description

Contributors (3)