glenn-jocher commited on
Commit
2e8e027
1 Parent(s): fa8f1fb

vast.ai compatability updates (#1657)

Browse files
Files changed (2) hide show
  1. Dockerfile +4 -1
  2. utils/google_utils.py +1 -1
Dockerfile CHANGED
@@ -1,7 +1,10 @@
1
  # Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
2
  FROM nvcr.io/nvidia/pytorch:20.10-py3
3
 
4
- # Install dependencies
 
 
 
5
  RUN pip install --upgrade pip
6
  # COPY requirements.txt .
7
  # RUN pip install -r requirements.txt
 
1
  # Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
2
  FROM nvcr.io/nvidia/pytorch:20.10-py3
3
 
4
+ # Install linux packages
5
+ RUN apt install screen
6
+
7
+ # Install python dependencies
8
  RUN pip install --upgrade pip
9
  # COPY requirements.txt .
10
  # RUN pip install -r requirements.txt
utils/google_utils.py CHANGED
@@ -53,7 +53,7 @@ def attempt_download(weights):
53
  return
54
 
55
 
56
- def gdrive_download(id='1n_oKgR81BJtqk75b00eAjdv03qVCQn2f', name='coco128.zip'):
57
  # Downloads a file from Google Drive. from utils.google_utils import *; gdrive_download()
58
  t = time.time()
59
 
 
53
  return
54
 
55
 
56
+ def gdrive_download(id='1uH2BylpFxHKEGXKL6wJJlsgMU2YEjxuc', name='tmp.zip'):
57
  # Downloads a file from Google Drive. from utils.google_utils import *; gdrive_download()
58
  t = time.time()
59