DeepCluster is a classic self-supervised clustering-based representation learning algorithm that iteratively groups image features and uses the cluster assignments as pseudo-labels to train the network. In each round, features produced by the network are clustered (e.g. k-means), and the cluster IDs become supervision targets in the next epoch, encouraging the model to refine its representation to better separate semantic groups. This alternating “cluster & train” scheme helps the model gradually discover meaningful structure without labels. DeepCluster was one of the early successes in unsupervised visual feature learning, demonstrating that clustering-based reformulation can rival supervised baselines for many downstream tasks. The repository includes code for feature extraction, clustering, training loops, and evaluation benchmarks like linear probes. Because of its simplicity and modular design, DeepCluster has inspired many later methods.

Features

  • Unsupervised learning via iterative clustering and pseudo-label supervision
  • Alternating pipeline: cluster features → use cluster IDs to train network
  • Support for k-means or other clustering algorithms in feature space
  • Training and evaluation scripts for downstream tasks (classification, detection)
  • Modular code to swap network architectures or clustering methods
  • Baseline reference for many later self-supervised approaches

Project Samples

Project Activity

See All Activity >

Categories

Clustering

License

MIT License

Follow DeepCluster

DeepCluster Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DeepCluster!

Additional Project Details

Programming Language

Python

Related Categories

Python Clustering Software

Registered

4 days ago