facebookresearch/moco

PyTorch implementation of MoCo: https://arxiv.org/abs/1911.05722

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 26 minutes ago
Added to GitGenius on September 13th, 2026
Created on March 17th, 2020
Open Issues & Pull Requests: 61 (+0)
GitHub issues: Enabled
Number of forks: 802
Total Stargazers: 5,135 (+0)
Total Subscribers: 47 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

MoCo is a self-supervised learning framework that trains visual representations without requiring labeled data.

The framework addresses the challenge of learning useful image features when labels are unavailable. MoCo uses a contrastive learning approach built around a momentum contrast mechanism. It maintains a queue of negative samples and updates an encoder momentum-style, allowing the model to learn discriminative representations by contrasting similar and dissimilar images. This design enables efficient training on large unlabeled datasets while maintaining computational feasibility.

The tool suits researchers and practitioners working on computer vision tasks where labeled data is scarce or expensive to obtain. It is particularly valuable for pretraining models that will later be fine-tuned on downstream tasks with limited labels. The framework is implemented in PyTorch, making it accessible to developers already working within that ecosystem. Organizations building vision systems can use MoCo to bootstrap feature learning from raw image collections before applying task-specific supervision.

The project maintains active engagement with its codebase through regular updates and refinements to the core implementation. Development includes ongoing improvements to the training methodology and expanded support for different model architectures. The maintainers respond to issues and incorporate feedback from the research community. Documentation and code examples are kept current to reflect best practices in self-supervised learning.