Skip to content

Commit bf0e386

Browse files
aribornsteinsubramen
authored andcommitted
Update data_quickstart_tutorial.py (pytorch#35)
Fixed links and formatting
1 parent 0f56d12 commit bf0e386

File tree

1 file changed

+51
-1
lines changed

1 file changed

+51
-1
lines changed

beginner_source/quickstart/data_quickstart_tutorial.py

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
Skip to content
2+
Search or jump to
3+
4+
Pull requests
5+
Issues
6+
Codespaces
7+
Marketplace
8+
Explore
9+
10+
@aribornstein
11+
aribornstein
12+
/
13+
tutorials
14+
forked from sethjuarez/tutorials
15+
0
16+
0
17+
2.5k
18+
Code
19+
Pull requests
20+
Actions
21+
Projects
22+
Wiki
23+
Security
24+
Insights
25+
Settings
26+
tutorials/beginner_source/quickstart/data_quickstart_tutorial.py /
27+
@aribornstein
28+
aribornstein Update data_quickstart_tutorial.py
29+
30+
Latest commit 4d522bb 35 seconds ago
31+
History
32+
3 contributors
33+
@sethjuarez@aribornstein@cassieview
34+
199 lines (172 sloc) 8.64 KB
35+
136
"""
237
Datasets & Dataloaders
338
===================
@@ -35,7 +70,10 @@
3570
#
3671
# Once we have a Dataset we can index it manually like a list `clothing[index]`.
3772
#
38-
# Here is an example of how to load the [Fashion-MNIST](https://research.zalando.com/welcome/mission/research-projects/fashion-mnist/) dataset from torch vision. "[Fashion-MNIST](https://research.zalando.com/welcome/mission/research-projects/fashion-mnist/) is a dataset of Zalando’s article images consisting of of 60,000 training examples and 10,000 test examples. Each example is comprised of a 28×28 grayscale image, associated with a label from one of 10 classes. Read more [here](https://pytorch.org/docs/stable/torchvision/datasets.html#fashion-mnist).
73+
# Here is an example of how to load the `Fashion-MNIST<https://research.zalando.com/welcome/mission/research-projects/fashion-mnist/>`_ dataset from torch vision.
74+
# `Fashion-MNIST <https://research.zalando.com/welcome/mission/research-projects/fashion-mnist/>`_ is a dataset of Zalando’s article images consisting of of 60,000 training examples and 10,000 test examples.
75+
# Each example is comprised of a 28×28 grayscale image, associated with a label from one of 10 classes. Read more `here <https://pytorch.org/docs/stable/torchvision/datasets.html#fashion-mnist>`_.
76+
#
3977
# To load the FashionMNIST Dataset we need to provide the following three parameters:
4078
# - root is the path where the train/test data is stored.
4179
# - train includes the training dataset.
@@ -194,3 +232,15 @@ def __getitem__(self, idx):
194232
# Next: Learn more about how to `transform that data for training <transforms_tutorial.html>`_.
195233
#
196234
# .. include:: /beginner_source/quickstart/qs_toc.txt
235+
© 2020 GitHub, Inc.
236+
Terms
237+
Privacy
238+
Security
239+
Status
240+
Help
241+
Contact GitHub
242+
Pricing
243+
API
244+
Training
245+
Blog
246+
About

0 commit comments

Comments
 (0)