Skip to content

Commit a2b1aac

Browse files
brianjoJoelMarcey
authored andcommitted
Debugging update. (#356)
* Updated Sphinx version to 1.8.2.
1 parent 1dc0de7 commit a2b1aac

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.jenkins/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pip install cython torch_nightly -f https://download.pytorch.org/whl/nightly/cu8
1919
export PATH=/opt/conda/bin:$PATH
2020
# pillow >= 4.2 will throw error when trying to write mode RGBA as JPEG,
2121
# this is a workaround to the issue.
22-
conda install -y sphinx==1.7.9 pandas pillow=4.1.1
22+
conda install -y sphinx==1.8.2 pandas pillow=4.1.1
2323
# PyTorch Theme
2424
rm -rf src
2525
pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme

advanced_source/cpp_export.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ language.
4444
reference <https://pytorch.org/docs/master/jit.html>`_.
4545

4646
Converting to Torch Script via Tracing
47-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4848

4949
To convert a PyTorch model to Torch Script via tracing, you must pass an
5050
instance of your model along with an example input to the ``torch.jit.trace``
@@ -286,7 +286,7 @@ to the resulting ``example-app`` binary, we should be rewarded with a friendly
286286
ok
287287
288288
Step 4: Executing the Script Module in C++
289-
----------------------------------------
289+
------------------------------------------
290290
291291
Having successfully loaded our serialized ``ResNet18`` in C++, we are now just a
292292
couple lines of code away from executing it! Let's add those lines to our C++

intermediate_source/spatial_transformer_tutorial.py

-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ def visualize_stn():
242242
axarr[1].imshow(out_grid)
243243
axarr[1].set_title('Transformed Images')
244244

245-
246245
for epoch in range(1, 20 + 1):
247246
train(epoch)
248247
test()

requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Refer to ./jenkins/build.sh for tutorial build instructions
22

3-
sphinx==1.7.9
3+
sphinx
44
sphinx-gallery
55
tqdm
66
numpy
77
matplotlib
88
torchvision
9+
PyHamcrest
910

1011
# PyTorch Theme
1112
-e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme

0 commit comments

Comments
 (0)