File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,14 @@ pip install cython torch_nightly -f https://download.pytorch.org/whl/nightly/cu8
15
15
# CPU
16
16
# pip install cython torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
17
17
18
- pip install -r requirements.txt
19
- pip install -r ../requirements.txt
18
+
19
+ export PATH=/opt/conda/bin:$PATH
20
+ # pillow >= 4.2 will throw error when trying to write mode RGBA as JPEG,
21
+ # this is a workaround to the issue.
22
+ conda install -y sphinx pandas pillow=4.1.1
23
+ # PyTorch Theme
24
+ pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
25
+ pip install sphinx-gallery tqdm matplotlib ipython
20
26
21
27
git clone https://github.com/pytorch/vision --quiet
22
28
pushd vision
Original file line number Diff line number Diff line change
1
+ # Refer to ./jenkins/build.sh for tutorial build instructions
2
+
1
3
sphinx
2
4
sphinx-gallery
3
5
tqdm
@@ -17,5 +19,3 @@ scikit-image
17
19
# this is a workaround to the issue.
18
20
pillow == 4.1.1
19
21
wget
20
-
21
- # we need to install torchaudio and torchvision. refer to ./jenkins/build.sh
You can’t perform that action at this time.
0 commit comments