tristandeleu / pytorch-meta

A collection of extensions and data-loaders for few-shot learning & meta-learning in PyTorch
https://tristandeleu.github.io/pytorch-meta/
MIT License
1.97k stars 256 forks source link

mini-imagenet normalization #125

Closed jaeho3690 closed 3 years ago

jaeho3690 commented 3 years ago

Hi, the mini imagenet usually goes through the transformation

        # normalize
        normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406],
                                        std=[0.229, 0.224, 0.225])

Do we have to manually add the normalization for the mini-image dataset, or is it already done when loading it?

I really appreciate any help you can provide.

jaeho3690 commented 3 years ago

I think the normalization should be done manually