GithubHelp home page GithubHelp logo

ayulockin / swav-tf Goto Github PK

View Code? Open in Web Editor NEW
86.0 5.0 13.0 21.06 MB

TensorFlow implementation of "Unsupervised Learning of Visual Features by Contrasting Cluster Assignments".

Home Page: https://app.wandb.ai/authors/swav-tf/reports/Unsupervised-Visual-Representation-Learning-with-SwAV--VmlldzoyMjg3Mzg

License: Apache License 2.0

Jupyter Notebook 99.90% Python 0.10%
tensorflow2 keras tensorflow representation-learning self-supervised-learning augmentation contrastive-learning

swav-tf's Introduction

SwAV-TF

By: Ayush Thakur and Sayak Paul

TensorFlow 2 implementation of Unsupervised Learning of Visual Features by Contrasting Cluster Assignments by Mathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal, Piotr Bojanowski, Armand Joulin.

To know more about SwAV and the experiments we performed with it you can check out our blog post Unsupervised Visual Representation Learning with SwAV. Our blog post is structured in the following way -

  • Common problems in existing self-supervised methods (for visual representation learning)
  • SwAV at a high-level
  • Multi-crop augmentation policy and its promise
  • Contrasting the cluster assignments
    • Cluster assignment as an optimal transport problem
    • Swapped prediction problem to enforce consistency
  • A single forward pass in SwAV
  • Experimental results
  • Conclusion

Model weights for reproducibility

Available here.

Results

Results of all our experiments are available as a wandb dashboard. Explore-in W&B

Acknowledgements

Thanks to Mathilde Caron for providing insightful pointers that helped us minimally implement SwAV.

Thanks to Jiri Simsa of Google for providing us with tips that helped us improve our data input pipeline.

Thanks to the Google Developers Experts program for providing us with GCP credits.

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.