소스 검색

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

5.0
Glenn Jocher GitHub 3 년 전
부모
커밋
0070995bd5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      utils/aws/resume.py

+ 3
- 0
utils/aws/resume.py 파일 보기

@@ -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'):

Loading…
취소
저장