codebase for experiments related to Adaptive and Multi-scale Affinity Alignment.
This repository contains the current PyTorch implementation for AMA-style hierarchical contrastive learning experiments.
Create an environment with Python 3.8+ and install the required packages:
pip install -r requirements.txtThe current requirements are:
torch>=1.8.0torchvision>=0.9.0tensorboard>=2.0.0
major hyperparameters are defined in config.py, including:
- Backbone architecture
- Feature dimension
- Queue size
- Multi-scale clustering settings
- Optimizer settings
- Batch size and number of epochs
- Dataset selection