mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Fix distributed train script
This commit is contained in:
parent
183d8e4aef
commit
b0158a593e
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
NUM_PROC=$1
|
||||
shift
|
||||
python -m torch.distributed.launch --nproc_per_node=$NUM_PROC dtrain.py "$@"
|
||||
python -m torch.distributed.launch --nproc_per_node=$NUM_PROC train.py "$@"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user