Skip to content

Official Pytorch implementation of the "A Model You Can Hear: Audio Identification with Playable Prototypes" paper

License

Notifications You must be signed in to change notification settings

romainloiseau/a-model-you-can-hear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Model You Can Hear:

Audio Identification with Playable Prototypes

Description

Official PyTorch implementation of the paper "A Model You Can Hear: Audio Identification with Playable Prototypes".

Please visit our webpage for more details.

teaser_light

Installation 👷

1. Clone the repository in recursive mode

git clone git@github.com:romainloiseau/a-model-you-can-hear.git --recursive

2. Clone, create and activate conda environment

This implementation uses Pytorch.

Optional: some monitoring routines are implemented with tensorboard.

Note: this implementation uses pytorch_lightning for all training routines and hydra to manage configuration files and command line arguments.

How to use 🚀

Training the model

To train our best model, launch :

python main.py \
  +experiment={$dataset}_ours_{$supervision}

with dataset in {libri, sol} and supervision in {sup, unsup}

Testing the model

To test the model, launch :

python test.py \
  +experiment={$dataset}_ours_{$supervision} \
  model.load_weights="/path/to/trained/weights.ckpt"

Note: pretrained weights to come in pretrained_models/

Citation

@article{loiseau22online,
  title={A Model You Can Hear: Audio Identification with Playable Prototypes.},
  author={Romain Loiseau and Baptiste Bouvier and Yan Teytaut and Elliot Vincent and Mathieu Aubry and Loic Landrieu},
  journal={ISMIR},
  year={2022}
}

About

Official Pytorch implementation of the "A Model You Can Hear: Audio Identification with Playable Prototypes" paper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages