Giter Site home page Giter Site logo

Comments (5)

HobbitLong avatar HobbitLong commented on August 24, 2024

Hi, @nkliuyifang ,

Can you share more details? e.g., training command line, testing command line.

How is the result for CMC on your end? I want to see if this is a common issue for all of the three or only InsDis and MoCo.

from cmc.

nkliuyifang avatar nkliuyifang commented on August 24, 2024

Hi, @HobbitLong ,

The best result of CMC using "--view YCbCr" and "--nce_k 16384" is 70.54

The corresponding training command line is:
train

The corresponding testing command line is:
test

All related results of InsDIS, MoCo and CMC on ImageNet100 dataset is listed as follows, where the training set of ImageNet100 is used for both unsupervised learning and fine-tuning, and the testing set of ImageNet100 is used for testing classifiaction results.
ImageNet100

from cmc.

HobbitLong avatar HobbitLong commented on August 24, 2024

Hi, @nkliuyifang,

I can see several gaps as below, which apply to all MoCo, InsDis, and CMC:
(1) For pre-training on ImageNet100, use batch_size 128 instead of 256. This is equivalent to increase the learning rate a bit. For full ImageNet, keep using 256.
(2) Switch from NCE loss to softmax-ce for pre-training
(3) Use a learning rate of 10 for linear probing stage, as can be found in README

from cmc.

nkliuyifang avatar nkliuyifang commented on August 24, 2024

Hi, @HobbitLong,

Thanks! I will modify these settings and try again.

from cmc.

nkliuyifang avatar nkliuyifang commented on August 24, 2024

I have reached the expected result. Thanks!

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.