Skip to content

Commit 7e2881d

Browse files
committed
img rename optmization formatting
1 parent 43716fb commit 7e2881d

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed
File renamed without changes.

beginner_source/quickstart/data_quickstart_tutorial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#
1212

1313
###############################################################
14-
# .. figure:: /_static/img/quickstart/typesofdata.png
15-
# :alt: typesofdata
14+
# .. figure:: /_static/img/quickstart/typesdata.png
15+
# :alt: typesdata
1616
#
1717

1818
############################################################

beginner_source/quickstart/optimization_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#
4141

4242
############################################################
43-
# .. figure:: /_static/img/quickstart/optimization_loops.png
43+
# .. figure:: /_static/img/quickstart/optimizationloops.png
4444
# :alt:
4545
#
4646

beginner_source/quickstart/transforms_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
# For the feature transforms we have an array of transforms to process our image data for training. The first transform in the array is `transforms.ToTensor()` this is from class [torchvision.transforms.ToTensor](https://pytorch.org/docs/stable/torchvision/transforms.html#torchvision.transforms.ToTensor). We need to take our images and turn them into a tensor. (To learn more about Tensors check out [this]() resource.) The ToTensor() transformation is doing more than converting our image into a tensor. Its also normalizing our data for us by scaling the images to be between 0 and 1.
6262
#
6363
#
64-
# .. note: ToTensor only normalized image data that is in PIL mode of (L, LA, P, I, F, RGB, YCbCr, RGBA, CMYK, 1) or if the numpy.ndarray has dtype = np.uint8. In the other cases, tensors are returned without scaling.
64+
# .. note:: ToTensor only normalized image data that is in PIL mode of (L, LA, P, I, F, RGB, YCbCr, RGBA, CMYK, 1) or if the numpy.ndarray has dtype = np.uint8. In the other cases, tensors are returned without scaling.
6565
#
6666
#
6767
# Check out the other `TorchVision Transforms <https://pytorch.org/docs/stable/torchvision/transforms.html>`_

0 commit comments

Comments
 (0)