Skip to content

Commit c67cf3c

Browse files
authored
Fix CI by limiting the version of torchvision (#2005)
* try pytorch 1.4 instead of 1.2 * use pytorch 1.2 and torchvision 0.4.0
1 parent f4da38a commit c67cf3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ before_install:
2424
- PATH=${CUDA_HOME}/bin:${PATH}
2525

2626
install:
27-
- pip install Cython torch==1.2
28-
- pip install Pillow==6.2.2
27+
- pip install Pillow==6.2.2 # remove this line when torchvision>=0.5
28+
- pip install Cython torch==1.2 torchvision==0.4.0 # TODO: fix CI for pytorch>1.2
2929
- pip install -r requirements.txt
3030
- pip install -r tests/requirements.txt
3131

0 commit comments

Comments
 (0)