Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
15f6a225
Commit
15f6a225
authored
Nov 03, 2017
by
jvmancuso
Committed by
Alykhan Tejani
Nov 03, 2017
Browse files
Cifar100 added to docs (#318)
added CIFAR100 autoclass in docs
parent
3990952f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
docs/source/datasets.rst
docs/source/datasets.rst
+2
-0
torchvision/datasets/cifar.py
torchvision/datasets/cifar.py
+4
-0
No files found.
docs/source/datasets.rst
View file @
15f6a225
...
...
@@ -86,6 +86,8 @@ CIFAR
:members: __getitem__
:special-members:
.. autoclass:: CIFAR100
STL10
~~~~~
...
...
torchvision/datasets/cifar.py
View file @
15f6a225
...
...
@@ -161,6 +161,10 @@ class CIFAR10(data.Dataset):
class
CIFAR100
(
CIFAR10
):
"""`CIFAR100 <https://www.cs.toronto.edu/~kriz/cifar.html>`_ Dataset.
This is a subclass of the `CIFAR10` Dataset.
"""
base_folder
=
'cifar-100-python'
url
=
"https://www.cs.toronto.edu/~kriz/cifar-100-python.tar.gz"
filename
=
"cifar-100-python.tar.gz"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment