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 59e59ff commit 81900a6Copy full SHA for 81900a6
timm/data/dataset_factory.py
@@ -144,6 +144,7 @@ def create_dataset(
144
use_train = split in _TRAIN_SYNONYM
145
ds = QMNIST(train=use_train, **torch_kwargs)
146
elif name == 'imagenet':
147
+ torch_kwargs.pop('download')
148
assert has_imagenet, 'Please update to a newer PyTorch and torchvision for ImageNet dataset.'
149
if split in _EVAL_SYNONYM:
150
split = 'val'
0 commit comments