Sign inSign up

turian/torchopenl3

By turian

•Updated about 5 years ago

Dev environment for regression testing of torchopenl3

Image
0

1.0K

turian/torchopenl3 repository overview

⁠Torchopenl3

TorchopenL3 is an open-source Python library Pytorch Support for computing deep audio embeddings.

PyPI Build Status Maintenance Ask Me Anything ! GitHub version License

⁠Contributors

GitHub Contributors Image

Please refer to the Openl3 Library⁠ for keras version.

The audio and image embedding models provided here are published as part of [1], and are based on the Look, Listen and Learn approach [2]. For details about the embedding models and how they were trained, please see:

Look, Listen and Learn More: Design Choices for Deep Audio Embeddings⁠
Jason Cramer, Ho-Hsiang Wu, Justin Salamon, and Juan Pablo Bello.
IEEE Int. Conf. on Acoustics, Speech and Signal Processing (ICASSP), pages 3852–3856, Brighton, UK, May 2019.

⁠Comparasion

We run torchopenl3 over 100 audio files and compare with openl3 embeddings. Below is the MAE (Mean Absolute Error) Table

Content_typeInput_reprEmd_sizeMAE
EnvLinear5121.1522600237867664e-06
EnvLinear61441.027089645617707e-06
EnvMel1285121.2094695046016568e-06
EnvMel12861441.0968088741947213e-06
EnvMel2565121.1641358707947802e-06
EnvMel25661441.0069775197507625e-06
MusicLinear5121.173499645119591e-06
MusicLinear61441.048712784381678e-06
MusicMel1285121.1837427564387327e-06
MusicMel12861441.0497348176841115e-06
MusicMel2565121.1619711483490392e-06
MusicMel25661449.881532906774738e-07

⁠Installation

PyPI
Install via pip

pip install git+https://github.com/turian/torchopenl3.git

Install the package with all dev libraries (i.e. tensorflow openl3)

git clone https://github.com/turian/torchopenl3.git
pip3 install -e ".[dev]"

Install Docker and work within the Docker environment. Unfortunately this Docker image is quite big (about 4 GB) because

docker pull turian/torchopenl3
# Or, build the docker yourself
#docker build -t turian/torchopenl3 .

⁠Using TorchpenL3

Open In Colab

To help you get started with TorchopenL3 please go through the colab file.

⁠Acknowledge

Special Thank you to Joseph Turian⁠ for his help

[1] Look, Listen and Learn More: Design Choices for Deep Audio Embeddings⁠
Jason Cramer, Ho-Hsiang Wu, Justin Salamon, and Juan Pablo Bello.
IEEE Int. Conf. on Acoustics, Speech and Signal Processing (ICASSP), pages 3852–3856, Brighton, UK, May 2019.

[2] Look, Listen and Learn⁠
Relja Arandjelović and Andrew Zisserman
IEEE International Conference on Computer Vision (ICCV), Venice, Italy, Oct. 2017.

Tag summary

Content type

Image

Digest

Size

3 GB

Last updated

about 5 years ago

docker pull turian/torchopenl3