SimSiam is a PyTorch implementation of “Exploring Simple Siamese Representation Learning” by Xinlei Chen and Kaiming He. The project introduces a minimalist approach to self-supervised learning that avoids negative pairs, momentum encoders, or large memory banks—key complexities of prior contrastive methods. SimSiam learns image representations by maximizing similarity between two augmented views of the same image through a Siamese neural network with a stop-gradient operation, preventing feature collapse. This elegant yet effective design achieves strong results in unsupervised learning benchmarks such as ImageNet without requiring contrastive losses. The repository provides scripts for both unsupervised pre-training and linear evaluation, using a ResNet-50 backbone by default. It is compatible with multi-GPU distributed training and can be fine-tuned or transferred to downstream tasks like object detection following the same setup as MoCo.

Features

  • Minimal self-supervised learning framework without negative pairs or momentum encoders
  • PyTorch-based implementation optimized for distributed multi-GPU training
  • Fully reproducible training pipeline for ImageNet using default hyperparameters from the paper
  • Includes both unsupervised pre-training and linear evaluation scripts
  • LARS optimizer support via NVIDIA Apex for large-batch training
  • Compatible with object detection transfer setups from MoCo

Project Samples

Project Activity

See All Activity >

License

Creative Commons Attribution License

Follow SimSiam

SimSiam Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SimSiam!

Additional Project Details

Operating Systems

Linux

Programming Language

Python

Related Categories

Python Deep Learning Frameworks

Registered

2025-10-08