项目介绍

Jakobovski/free-spoken-digit-dataset 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,目前获得 681 个 Star、245 次 Fork。

仓库全名
Jakobovski/free-spoken-digit-dataset
Star 数
681
Fork 数
245
未关闭 Issue
6

README 摘要

Free Spoken Digit Dataset (FSDD) A simple audio/speech dataset consisting of recordings of spoken digits in wav files at 8kHz. The recordings are trimmed so that they have near minimal silence at the beginnings and ends. FSDD is an open dataset, which means it will grow over time as data is contributed. In order to enable reproducibility and accurate citation the dataset is versioned using Zenodo DOI as well as git…

完整内容见 GitHub 原始 README 或本页 。

常见问题

free-spoken-digit-dataset 用什么语言开发?

主要使用 Python 编写,目前有 681 个 Star。

如何获取 free-spoken-digit-dataset 的源码?

可以直接克隆仓库:git clone https://github.com/Jakobovski/free-spoken-digit-dataset.git,默认分支为 master;安装与运行步骤见仓库 README。

free-spoken-digit-dataset 最近还在维护吗?

仓库最近一次更新为 2024年5月3日,当前有 6 个未关闭 Issue;Star 数为 681,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A free audio dataset of spoken digits. An audio version of MNIST.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1192
价值分
483
活跃状态
活跃

语言占比

Python

Release

README

Free Spoken Digit Dataset (FSDD)

DOI

A simple audio/speech dataset consisting of recordings of spoken digits in wav files at 8kHz. The recordings are trimmed so that they have near minimal silence at the beginnings and ends.

FSDD is an open dataset, which means it will grow over time as data is contributed. In order to enable reproducibility and accurate citation the dataset is versioned using Zenodo DOI as well as git tags.

Current status

  • 6 speakers
  • 3,000 recordings (50 of each digit per speaker)
  • English pronunciations

Organization

Files are named in the following format: {digitLabel}_{speakerName}_{index}.wav Example: 7_jackson_32.wav

How to use with Hub

A simple way of using this dataset is with Activeloop’s python package Hub!

First, run pip install hub (or pip3 install hub).

import hub
ds = hub.load("hub://activeloop/spoken_mnist")

# check out the first spectrogram, it's label, and who spoke it!
import matplotlib.pyplot as plt
plt.imshow(ds.spectrograms[0].numpy())
plt.title(f"{ds.speakers[0].data()} spoke {ds.labels[0].numpy()}")
plt.show()

# train a model in pytorch
for sample in ds.pytorch():
    # ... model code here ...

# train a model in tensorflow
for sample in ds.tensorflow():
    # ... model code here ...

available tensors can be shown by printing dataset:

print(ds)
# prints: Dataset(path='hub://activeloop/spoken_mnist', tensors=['spectrograms', 'labels', 'audio', 'speakers'])

For more information, check out the hub documentation.

Contributions

Please contribute your homemade recordings. All recordings should be mono 8kHz wav files and be trimmed to have minimal silence. Don’t forget to update metadata.py with the speaker meta-data.

To add your data, follow the recording instructions in acquire_data/say_numbers_prompt.py and then run split_and_label_numbers.py to make your files.

Metadata

metadata.py contains meta-data regarding the speakers gender and accents.

Included utilities

trimmer.py Trims silences at beginning and end of an audio file. Splits an audio file into multiple audio files by periods of silence.

fsdd.py A simple class that provides an easy to use API to access the data.

spectogramer.py Used for creating spectrograms of the audio data. Spectrograms are often a useful pre-processing step.

Usage

The test set officially consists of the first 10% of the recordings. Recordings numbered 0-4 (inclusive) are in the test and 5-49 are in the training set.

Made with FSDD

Did you use FSDD in a paper, project or app? Add it here!

External tools

License

Creative Commons Attribution-ShareAlike 4.0 International

评论

暂无评论