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 f840af4 commit efc78f3Copy full SHA for efc78f3
utils/dataloaders/mnist_0_3.py
@@ -76,8 +76,10 @@ def __init__(
76
self.download = download
77
self.num_classes = 4
78
79
- if self.split == "train" or self.split == "validation":
80
- train = True # used to decide whether to load training or test dataset
+ if self.split == "test":
+ train = False # used to decide whether to load training or test dataset
81
+ else:
82
+ train = True
83
84
if not self.download and not self._chech_is_downloaded():
85
raise ValueError(
0 commit comments