Giter Site home page Giter Site logo

Implementing CMC on CIFAR-10 about cmc HOT 6 CLOSED

hobbitlong avatar hobbitlong commented on August 24, 2024
Implementing CMC on CIFAR-10

from cmc.

Comments (6)

ShaoTengLiu avatar ShaoTengLiu commented on August 24, 2024

Update. I think this may be caused by #27. I find there seems no method to prevent an element in the enqueue come from the same sample as the query. As a result, the loss increases a lot at the beginning of each epoch.

截屏2020-03-24下午2 33 51

This may not hurt performance when the dataset is large enough. However, for CIFAR-10, which only consists of 50,000 samples, this may hurt the performance a lot.

from cmc.

ShaoTengLiu avatar ShaoTengLiu commented on August 24, 2024

Update. I find you gave some hint on this problem, as shown in hint. Can I conclude that we should use softmax and less negative samples to implement CMC on small datasets?

from cmc.

HobbitLong avatar HobbitLong commented on August 24, 2024

@ShaoTengLiu ,

Sorry for the late reply, I have obtained ~70% on CIFAR100. I think using 2048 might suffice on CIFAR datasets (10 or 100). Also you could sample without replacement to solve the conflict issue you just pointed to.

from cmc.

ShaoTengLiu avatar ShaoTengLiu commented on August 24, 2024

@HobbitLong ,

Thanks for your reply. Yes, 2048 or 4096 is suffice on CIFAR. The problem has been solved. You can close this issue. Thank you very much.

from cmc.

HobbitLong avatar HobbitLong commented on August 24, 2024

Glad that you have figured it out. Feel free to reopen for future issues!

from cmc.

WeihongM avatar WeihongM commented on August 24, 2024

@HobbitLong ,

Thanks for your reply. Yes, 2048 or 4096 is suffice on CIFAR. The problem has been solved. You can close this issue. Thank you very much.

Hello, @ShaoTengLiu
Can you share the performance you reach when using cifar-10 dataset.

from cmc.

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.