Skip to content
Merged
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
52 changes: 51 additions & 1 deletion beginner_source/quickstart/data_quickstart_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
Skip to content
Search or jump to…

Pull requests
Issues
Codespaces
Marketplace
Explore

@aribornstein
aribornstein
/
tutorials
forked from sethjuarez/tutorials
0
0
2.5k
Code
Pull requests
Actions
Projects
Wiki
Security
Insights
Settings
tutorials/beginner_source/quickstart/data_quickstart_tutorial.py /
@aribornstein
aribornstein Update data_quickstart_tutorial.py
Latest commit 4d522bb 35 seconds ago
History
3 contributors
@sethjuarez@aribornstein@cassieview
199 lines (172 sloc) 8.64 KB

"""
Datasets & Dataloaders
===================
Expand Down Expand Up @@ -35,7 +70,10 @@
#
# Once we have a Dataset we can index it manually like a list `clothing[index]`.
#
# 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).
# 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>`_.
#
# To load the FashionMNIST Dataset we need to provide the following three parameters:
# - root is the path where the train/test data is stored.
# - train includes the training dataset.
Expand Down Expand Up @@ -194,3 +232,15 @@ def __getitem__(self, idx):
# Next: Learn more about how to `transform that data for training <transforms_tutorial.html>`_.
#
# .. include:: /beginner_source/quickstart/qs_toc.txt
© 2020 GitHub, Inc.
Terms
Privacy
Security
Status
Help
Contact GitHub
Pricing
API
Training
Blog
About