Self-supervised contrastive embeddings of audio via SimCLR on log-mel spectrograms.
- data/: download & preprocess scripts
- notebooks/: EDA & visualization
- src/:
dataset.py— contrastive-datasetmodel.py— SimCLR modelloss.py— InfoNCE losstrain.py— training scripteval.py— downstream evaluation
- configs/: hyperparameter files
- blog/: draft write-ups
- Dockerfile: reproducible env
Place the ESC-50 dataset under data/esc50 so that the directory looks like:
data/
esc50/
audio/ # WAV files
meta/esc50.csv # metadata
src/dataset.py expects a list of file paths pointing to the WAV files.