pytorch-image-models icon indicating copy to clipboard operation
pytorch-image-models copied to clipboard

Fix issue with `torchvision`'s `ImageNet`

Open dedeswim opened this issue 3 years ago • 0 comments

When instantiating torchvision's ImageNet or ImageFolder, the download argument is passed, even if these two classes do not take this argument.

This PR removes the argument from the torch_kwargs dict before the classes are isntantiated.

dedeswim avatar Aug 17 '22 13:08 dedeswim