Skip to content

Commit

Permalink
Amazon AWS EC2 startup and re-startup scripts (ultralytics#2282)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Feb 24, 2021
1 parent f47e649 commit a432ec0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/aws/resume.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
# Usage: $ python utils/aws/resume.py

import os
import sys
from pathlib import Path

import torch
import yaml

sys.path.append('./') # to run '$ python *.py' files in subdirectories

port = 0 # --master_port
path = Path('').resolve()
for last in path.rglob('*/**/last.pt'):
Expand Down

0 comments on commit a432ec0

Please sign in to comment.