From 7bfaa584afd374254bf36a907af947e3f83ca0dd Mon Sep 17 00:00:00 2001 From: Prabhat Roy Date: Fri, 23 Apr 2021 13:01:25 +0100 Subject: [PATCH] Fixed a couple of typos --- test/datasets_utils.py | 2 +- torchvision/datasets/places365.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/datasets_utils.py b/test/datasets_utils.py index 60e3990f3a2..de772d1c7d0 100644 --- a/test/datasets_utils.py +++ b/test/datasets_utils.py @@ -44,7 +44,7 @@ class UsageError(Exception): class LazyImporter: - r"""Lazy importer for additional dependicies. + r"""Lazy importer for additional dependencies. Some datasets require additional packages that are no direct dependencies of torchvision. Instances of this class provide modules listed in MODULES as attributes. They are only imported when accessed. diff --git a/torchvision/datasets/places365.py b/torchvision/datasets/places365.py index 2ee9cdbe8c4..648e0d604ba 100644 --- a/torchvision/datasets/places365.py +++ b/torchvision/datasets/places365.py @@ -13,7 +13,7 @@ class Places365(VisionDataset): Args: root (string): Root directory of the Places365 dataset. - split (string, optional): The dataset split. Can be one of ``train-standard`` (default), ``train-challendge``, + split (string, optional): The dataset split. Can be one of ``train-standard`` (default), ``train-challenge``, ``val``. small (bool, optional): If ``True``, uses the small images, i. e. resized to 256 x 256 pixels, instead of the high resolution ones.