Giter Site home page Giter Site logo

Comments (3)

chenyaofo avatar chenyaofo commented on September 28, 2024

Sorry for the late reply.

Actually, mean: [0.4914, 0.4822, 0.4465], std: [0.2023, 0.1994, 0.2010] are computed based on CIFAR-10 dataset. For more details that how to calculate mean and std, please refer to https://discuss.pytorch.org/t/computing-the-mean-and-std-of-dataset/34949/2.

However, sometimes, we can not calculate mean and std because of some reasons (for example, the dataset is too large to calculate). In this case, we will use transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)).

This is my understanding.

from pytorch-cifar-models.

chenyaofo avatar chenyaofo commented on September 28, 2024

In my opinion, these two normalized setting will yield competitive performance (I am not very sure with this).

from pytorch-cifar-models.

wufeim avatar wufeim commented on September 28, 2024

Thanks very much for the comment. For your information, I think the performance would drop by around 1% when using "the other" mean and std, which is usually significant.

from pytorch-cifar-models.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.