Coder Social home page Coder Social logo

guillaumeerhard / supervised_contrastive_loss_pytorch Goto Github PK

View Code? Open in Web Editor NEW
71.0 71.0 11.0 942 KB

Independent implementation of Supervised Contrastive Loss. Straight to the point and beyond

License: MIT License

Python 100.00%
cifar10 contrastive-learning deep-learning image-classification

supervised_contrastive_loss_pytorch's People

Contributors

guillaumeerhard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

supervised_contrastive_loss_pytorch's Issues

Two different Data augmentations?

Hi,
According to the theory, in stage 1, two different types of augmentations should be applied to a batch of samples.

  1. crop and resize
  2. AutoAugment/randaugment/simaugment.
    It seems the code doesn't have augmentation number (2). Are the mentioned results from only augmentation number (1) which has been applied twice to the same set of samples?

Thanks

Low Val Accuracy on CIFAR 100

Do you mind sharing the parameters you used for training CIFAR 100? For me validation accuracy seems to be saturating at 40% (using resnet-20 though) even with Auto Augment=True. I am interested in knowing the learning rate, batch size, resnet model and temperature you used for CIFAR-100.

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.