Skip to content

Commit

Permalink
Update resume.py (ultralytics#4115)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Jul 22, 2021
1 parent 6779681 commit feb1e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/aws/resume.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

if ddp: # multi-GPU
port += 1
cmd = f'python -m torch.distributed.launch --nproc_per_node {nd} --master_port {port} train.py --resume {last}'
cmd = f'python -m torch.distributed.run --nproc_per_node {nd} --master_port {port} train.py --resume {last}'
else: # single-GPU
cmd = f'python train.py --resume {last}'

Expand Down

0 comments on commit feb1e56

Please sign in to comment.