diff --git a/torchvision/datasets/usps.py b/torchvision/datasets/usps.py index ee98e6e450f..434d620aa5d 100644 --- a/torchvision/datasets/usps.py +++ b/torchvision/datasets/usps.py @@ -9,7 +9,7 @@ class USPS(VisionDataset): """`USPS `_ Dataset. - 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]``. The value for each pixel lies in ``[-1, 1]``. Here we transform the ``label`` into ``[0, 9]`` and make pixel values in ``[0, 255]``.