Skip to content

Commit 5966654

Browse files
committed
Update requirements so PyTorch 1.4 is min, add separate sotabench reqs to force 1.4 and prevent error with 1.5
1 parent d79ac48 commit 5966654

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

requirements-sotabench.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
torch==1.4.0
2+
torchvision==0.5.0
3+
pyyaml

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
torch>=1.2.0
2-
torchvision>=0.4.0
1+
torch>=1.4.0
2+
torchvision>=0.5.0
33
pyyaml

sotabench_setup.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
source /workspace/venv/bin/activate
3+
4+
pip install -r requirements-sotabench.txt
5+

0 commit comments

Comments
 (0)