Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

openmic-2018

> 编程语言
Open source

Tools and tutorials for the OpenMIC-2018 dataset.

99 stars0 likes1 views
WebsiteGitHub

About

Tools and tutorials for the OpenMIC-2018 dataset.

openmic-2018

Tools and tutorials for the OpenMIC-2018 dataset.

Overview

This repository contains companion source code for working with the OpenMIC-2018 dataset, a collection of audio and crowd-sourced instrument labels produced in a collaboration between Spotify and New York Universiy's MARL and Center for Data Science. The cost of annotation was sponsored by Spotify, whose contributions to open-source research can be found online at the developer site, engineering blog, and public GitHub.

If you use this dataset, please cite the following work:

Humphrey, Eric J., Durand, Simon, and McFee, Brian. "OpenMIC-2018: An Open Dataset for Multiple Instrument Recognition." in Proceedings of the 19th International Society for Music Information Retrieval Conference (ISMIR), 2018. pdf

Download the Dataset

The OpenMIC-2018 dataset is made available on Zenodo. After downloading, decompress with your favorite commandline tar utility:

bash
$ tar xvzf openmic-2018-v1.0.0.tgz -C some/dir

This will expand into some/dir/openmic-2018, with the following structure:

openmic-2018/
  acknowledgement.md
  audio/
    000/
      000046_3840.ogg
      ..
    ..
  checksums
  class-map.json
  license-cc-by.txt
  openmic-2018-aggregated-labels.csv
  openmic-2018-individual-responses.csv
  openmic-2018-metadata.csv
  openmic-2018.npz
  partitions/
    train01.txt
    test01.txt
  vggish/
    000/
      000046_3840.json
      ..
    ..

The openmic-2018.npz is a Python-friendly composite of the vggish features and the openmic-2018-aggregated-labels.csv. An example of how to train and evaluate a model is provided in a tutorial notebook.

Installing

To use the provided openmic Python library, first clone the repository and change directory into it:

bash
$ git clone https://github.com/cosmir/openmic-2018.git
$ cd ./openmic-2018

Next, you'll want to pull down the VGGish model parameters via the following script.

bash
$ ./scripts/download-deps.sh

Finally, you can now install the Python library, e.g. with pip:

bash
$ pip install .

Errata

When initially collecting data, ten audio files were corrupted due to an issue in the source FMA dataset:

python
'071826', '071827', '087435', '095253', '095259',
'095263', '102144', '113025', '113604', '138485'

Of the 41k responses obtained, only three resulted in erroneous labels by annotators. The following rows have been manually corrected:

Sample Key Instrument True Label
095253_134400 piano yes
095263_96000 mallet percussion yes
113025_99840 trumpet yes

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言