Skip to content

Commit 242a3ea

Browse files
committed
Rebased and added new link in TV tutorial.
2 parents 4e8511a + a681aeb commit 242a3ea

File tree

4 files changed

+3
-27
lines changed

4 files changed

+3
-27
lines changed

.jenkins/build.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ sudo apt-get install -y --no-install-recommends unzip p7zip-full sox libsox-dev
1414
export PATH=/opt/conda/bin:$PATH
1515
rm -rf src
1616
pip install -r $DIR/../requirements.txt
17-
pip uninstall -y torchvision || true
1817

1918
export PATH=/opt/conda/bin:$PATH
2019
conda install -y sphinx==1.8.2 pandas
@@ -25,12 +24,6 @@ pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch
2524
# this is a workaround to the issue.
2625
pip install sphinx-gallery tqdm matplotlib ipython pillow==4.1.1
2726

28-
# Install torchvision from source
29-
git clone https://github.com/pytorch/vision --quiet
30-
pushd vision
31-
pip install . --no-deps # We don't want it to install the stock PyTorch version from pip
32-
popd
33-
3427
# Install torchaudio from source
3528
git clone https://github.com/pytorch/audio --quiet
3629
pushd audio
@@ -39,17 +32,6 @@ popd
3932

4033
aws configure set default.s3.multipart_threshold 5120MB
4134

42-
if [[ $(pip show torch) ]]; then
43-
# Clean up previous PyTorch installations
44-
pip uninstall -y torch || true
45-
pip uninstall -y torch || true
46-
fi
47-
48-
# Install a nightly build of pytorch
49-
50-
# GPU, requires CUDA version 9.0
51-
pip install cython torch_nightly -f https://download.pytorch.org/whl/nightly/cu90/torch_nightly.html
52-
5335
# Decide whether to parallelize tutorial builds, based on $JOB_BASE_NAME
5436
export NUM_WORKERS=20
5537
if [[ "${JOB_BASE_NAME}" == *worker_* ]]; then

advanced_source/torch_script_custom_ops.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@ convert them to third party tensor formats (in this case, OpenCV ``Mat``s), how
2727
to register your operator with the TorchScript runtime and finally how to
2828
compile the operator and use it in Python and C++.
2929
30-
This tutorial assumes you have the *preview release* of PyTorch 1.0 installed
31-
via ``pip`` or `conda`. See https://pytorch.org/get-started/locally for
32-
instructions on grabbing the latest release of PyTorch 1.0. Alternatively, you
33-
can compile PyTorch from source. The documentation in `this file
34-
<https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md>`_ will assist
35-
you with this.
36-
3730
Implementing the Custom Operator in C++
3831
---------------------------------------
3932

intermediate_source/torchvision_tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TorchVision 0.3 Object Detection Finetuning Tutorial
33

44
.. tip::
55
To get the most of this tutorial, we suggest using this
6-
`Colab Version <https://colab.research.google.com/github/pytorch/tutorials/_static/torchvision_finetuning_instance_segmentation.ipynb>`__.
6+
`Colab Version <https://colab.research.google.com/github/pytorch/vision/blob/temp-tutorial/tutorials/torchvision_finetuning_instance_segmentation.ipynb>`__.
77
This will allow you to experiment with the information presented below.
88

99
For this tutorial, we will be finetuning a pre-trained `Mask

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ sphinx-gallery
55
tqdm
66
numpy
77
matplotlib
8-
torchvision==0.3
8+
torch
9+
torchvision
910
PyHamcrest
1011
bs4
1112
awscli==1.16.35

0 commit comments

Comments
 (0)