Barlowtwins
Implementation of Barlow Twins paper
Install / Use
/learn @IgorSusmelj/BarlowtwinsREADME
barlowtwins
PyTorch Implementation of Barlow Twins paper: Barlow Twins: Self-Supervised Learning via Redundancy Reduction
This is currently a work in progress. The code is a modified version of the SimSiam implementation here
- Time per epoch is around 40 seconds on a V100 GPU
- GPU usage is around 9 GBytes
- The current version reaches around 84.7% test accuracy
Todo:
- [X] warmup learning rate from 0
- [X] report results on cifar-10
- [ ] create PR to add to lightly
Installation
pip install -r requirements.txt
Dependencies
- PyTorch
- PyTorch Lightning
- Torchvision
- lightly
Benchmarks
We benchmark the BarlowTwins model on the CIFAR-10 dataset following the KNN evaluation protocol. Currently, the best effort achieved a test accuracy of 84.7%.
Accuracy | Loss
:-------------------------:|:-------------------------:
| 
Paper
Barlow Twins: Self-Supervised Learning via Redundancy Reduction
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
last30days-skill
16.5kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
sec-edgar-agentkit
10AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.
