Skip to content

Commit 3c70d81

Browse files
committed
Let's make this code more complictaed than it needs to be because why not
1 parent dc7c166 commit 3c70d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/datasets/rendered_sst2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(
5454
if not self._check_exists():
5555
raise RuntimeError("Dataset not found. You can use download=True to download it")
5656

57-
self._samples = make_dataset(str(self._base_folder / self._split_to_folder[self._split]), extensions="png")
57+
self._samples = make_dataset(str(self._base_folder / self._split_to_folder[self._split]), extensions=("png",))
5858

5959
def __len__(self) -> int:
6060
return len(self._samples)

0 commit comments

Comments
 (0)