We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b73a48 commit d84fee6Copy full SHA for d84fee6
torchvision/datasets/usps.py
@@ -9,7 +9,7 @@
9
10
class USPS(VisionDataset):
11
"""`USPS <https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/multiclass.html#usps>`_ Dataset.
12
- The data-format is : [label [index:value ]*256 \n] * num_lines, where ``label`` lies in ``[1, 10]``.
+ The data-format is : [label [index:value ]*256 \\n] * num_lines, where ``label`` lies in ``[1, 10]``.
13
The value for each pixel lies in ``[-1, 1]``. Here we transform the ``label`` into ``[0, 9]``
14
and make pixel values in ``[0, 255]``.
15
0 commit comments