How atplab-lums/wave-gms works
Wave-GMS is a medical-image segmentation research repository. Its documented workflow prepares image/mask datasets, trains a multi-resolution encoder and latent-mapping model with Tiny-VAE latent alignment, then produces segmentation masks and metrics at inference. The supplied tree contains the dataset loader, configuration files, and utility modules, but not the training, inference, or model implementation directories described by the README. Those capabilities are shown as documented components with unknown paths; their internal call relationships cannot be verified here.
Main entry points: image_dataset.py Image dataset loader · instantiate_model.py VAE factory · configs Dataset configs
Components 17
Dataset input
- Image and mask files
- Dataset splits
- Image dataset loader
data/image_dataset.py
Segmentation model
- Wavelet encoder
- Tiny-VAE
- Latent mapping model
- Latent alignment loss
Training and inference
- Dataset configs
configs - Training workflow
- Inference workflow
- Predicted masks
- Segmentation metrics
Runtime utilities
- Logging setup
utils/get_logger.py - VAE factory
utils/instantiate_model.py - Warmup cosine scheduler
utils/lr_scheduler.py - Checkpoint and training helpers
utils/tools.py
Other components
- Researcher
Connections 22
- Researcher → Image and mask files: prepares
README.md - Researcher → Dataset splits: provides splits
README.md - Image and mask files → Image dataset loader: loads pairs
data/image_dataset.py - Dataset splits → Image dataset loader: selects samples
data/image_dataset.py - Researcher → Dataset configs: tunes settings
README.md - Image dataset loader → Training workflow: supplies batches
- Dataset configs → Training workflow: configures
README.md - Training workflow → Wavelet encoder: trains
README.md - Training workflow → Latent mapping model: trains
README.md - Training workflow → Tiny-VAE: uses
README.md - Training workflow → Latent alignment loss: optimizes
README.md - Wavelet encoder → Latent alignment loss: aligns latents
README.md - Tiny-VAE → Latent alignment loss: provides reference
README.md - Wavelet encoder → Latent mapping model: provides latents
README.md - Researcher → Inference workflow: runs validation
README.md - Inference workflow → Image dataset loader: loads samples
- Inference workflow → Wavelet encoder: encodes images
README.md - Inference workflow → Latent mapping model: maps latents
README.md - Inference workflow → Predicted masks: writes masks
README.md - Inference workflow → Segmentation metrics: computes scores
README.md - VAE factory → Tiny-VAE: instantiates
utils/instantiate_model.py - VAE factory → Wavelet encoder: instantiates
utils/instantiate_model.py