Giter Site home page Giter Site logo

Comments (6)

sacmehta avatar sacmehta commented on May 15, 2024

Thanks for your question. The validation error plot in (b) is without EMA while the validation accuracy in (c) is with EMA.

from ml-cvnets.

cuicheng01 avatar cuicheng01 commented on May 15, 2024

Thanks a lot for the reply. It is surprising that the EMA strategy can rise so much. My previous experimental conclusions are basically between 0-0.2%.
By the way, the top-1 accuracy of the standard training method is only 77% without using the EMA strategy?

from ml-cvnets.

sacmehta avatar sacmehta commented on May 15, 2024

Our experiments also suggests that EMA improves performance by 0.2-0.3%.

The top-1 accuracy without EMA is about 78%. The difference we observe in graph is because part (c) performance is measured after the training on a single GPU ensuring batches are neither truncated nor padded. While the data for plots in (b) are measured during training. For (b), depending on the batch size, there could be cases when dataset size is not multiple of batch size. For example, for ImageNet, we have 50k validation images. If we use a batch size of 1024 for computing validation statistics during training, then few batches will be either truncated or padded. So, training/validation curves could be bit noisy.

Hope this helps.

from ml-cvnets.

cuicheng01 avatar cuicheng01 commented on May 15, 2024

Ok! Thanks for your reply. However, I still have some questions. According to what you said, I reproduced the process. Although there will be some differences in accuracy, it will not be as big as 1%. I would like to take the liberty to ask, can you provide the training log here?

I look forward to your reply.

from ml-cvnets.

sacmehta avatar sacmehta commented on May 15, 2024

Hi @cuicheng01 ,

Extremely sorry for the late response. I did not realize that I did not respond to your comment.

Here are the training/validation/validation + EMA loss curves. Hope this helps.

Train loss vs. Epoch:
Train_Loss

Val loss vs. Epoch:
Val_Loss

Val loss w/ EMA vs. Epoch:
Val_EMA_Loss

from ml-cvnets.

sacmehta avatar sacmehta commented on May 15, 2024

Closing issue because of no activity.

from ml-cvnets.

Related Issues (20)

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.