Skip to content

Commit a2b8ed2

Browse files
NicolasHugfacebook-github-bot
authored andcommitted
[fbsync] Fix minor typos in Docstrings (#6450)
Summary: * Fix typos * Fix link * pre-commit * Update torchvision/datasets/food101.py Reviewed By: datumbox Differential Revision: D39013672 fbshipit-source-id: f9a6992f8f77b68f73cc48ef2fc4781ad8f6cb37 Co-authored-by: Nicolas Hug <[email protected]> Co-authored-by: Nicolas Hug <[email protected]>
1 parent 546e66a commit a2b8ed2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

torchvision/datasets/food101.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class Food101(VisionDataset):
1212
"""`The Food-101 Data Set <https://data.vision.ee.ethz.ch/cvl/datasets_extra/food-101/>`_.
1313
14-
The Food-101 is a challenging data set of 101 food categories, with 101'000 images.
14+
The Food-101 is a challenging data set of 101 food categories with 101,000 images.
1515
For each class, 250 manually reviewed test images are provided as well as 750 training images.
1616
On purpose, the training images were not cleaned, and thus still contain some amount of noise.
1717
This comes mostly in the form of intense colors and sometimes wrong labels. All images were

torchvision/datasets/ucf101.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class UCF101(VisionDataset):
1717
by ``frames_per_clip``, where the step in frames between each clip is given by
1818
``step_between_clips``. The dataset itself can be downloaded from the dataset website;
1919
annotations that ``annotation_path`` should be pointing to can be downloaded from `here
20-
<https://www.crcv.ucf.edu/data/UCF101/UCF101TrainTestSplits-RecognitionTask.zip>`.
20+
<https://www.crcv.ucf.edu/data/UCF101/UCF101TrainTestSplits-RecognitionTask.zip>`_.
2121
2222
To give an example, for 2 videos with 10 and 15 frames respectively, if ``frames_per_clip=5``
2323
and ``step_between_clips=5``, the dataset size will be (2 + 3) = 5, where the first two

0 commit comments

Comments
 (0)