Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions beginner_source/basics/data_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@
plt.show()

#################################################################
# ..
# .. figure:: /_static/img/basics/fashion_mnist.png
#
# .. image:: ../../_static/img/basics/fashion_mnist.png
# :alt: fashion_mnist


Expand Down
2 changes: 1 addition & 1 deletion beginner_source/blitz/autograd_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
# the arrows are in the direction of the forward pass. The nodes represent the backward functions
# of each operation in the forward pass. The leaf nodes in blue represent our leaf tensors ``a`` and ``b``.
#
# .. figure:: /_static/img/dag_autograd.png
# .. image:: ../../_static/img/dag_autograd.png
#
# .. note::
# **DAGs are dynamic in PyTorch**
Expand Down
2 changes: 1 addition & 1 deletion beginner_source/blitz/cifar10_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
‘dog’, ‘frog’, ‘horse’, ‘ship’, ‘truck’. The images in CIFAR-10 are of
size 3x32x32, i.e. 3-channel color images of 32x32 pixels in size.

.. figure:: /_static/img/cifar10.png
.. image:: ../../_static/img/cifar10.png
:alt: cifar10

cifar10
Expand Down
4 changes: 2 additions & 2 deletions beginner_source/blitz/neural_networks_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

For example, look at this network that classifies digit images:

.. figure:: /_static/img/mnist.png
.. image:: ../../_static/img/mnist.png
:alt: convnet

convnet
*convnet*

It is a simple feed-forward network. It takes the input, feeds it
through several layers one after the other, and then finally gives the
Expand Down
4 changes: 2 additions & 2 deletions beginner_source/introyt/introyt1_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@


#########################################################################
# .. figure:: /_static/img/mnist.png
# :alt: le-net-5 diagram
# .. image:: ../../_static/img/mnist.png
# :alt: le-net-5 diagram2
#
# *Figure: LeNet-5*
#
Expand Down
3 changes: 2 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@
'filename_pattern': '.py',
'ignore_pattern': re.compile(f"({'|'.join(NOT_RUN)}).py$"),
'promote_jupyter_magic': True,
'backreferences_dir': None
'backreferences_dir': None,
'notebook_images': 'https://pytorch.org/tutorials/'
}

if os.getenv('GALLERY_PATTERN'):
Expand Down