pytorch-image-models/distributed_train.sh

6 lines
108 B

#!/bin/bash
NUM_PROC=$1
shift
python3 -m torch.distributed.launch --nproc_per_node=$NUM_PROC train.py "$@"