Amazon AWS EC2 startup and re-startup scripts (#2282)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-02-24 01:43:59 -08:00
1 parent d5d275b6e9
commit 0070995bd5
1 file changed
+3
+3
View File
@@ -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'):