Skip to main content

npvcc2016 - Python loader of npVCC2016Corpus

PyPI version Python Versions

npvcc2016 is a Python package for loader of npVCC2016 non-parallel speech corpus.
For machine learning, corpus/dataset is indispensable - but troublesome - part.
We need portable & flexible loader for streamline development.
npvcc2016 is the one!!

Demo

Python/PyTorch

pip install npvcc2016
from npvcc2016.PyTorch.dataset.waveform import NpVCC2016_wave

dataset = NpVCC2016(train=True, download=True)

for datum in dataset:
    print("Yeah, data is acquired with only two line of code!!")
    print(datum) # (datum, label) tuple provided

npvcc2016 transparently downloads corpus, structures the data and provides standarized datasets.
What you have to do is only instantiating the class!

APIs

Current npvcc2016 support PyTorch.
As interface, PyTorch's Dataset and PyTorch-Lightning's DataModule are provided.
npVCC2016 corpus is speech corpus, so we provide waveform dataset and spectrogram dataset for both interfaces.

  • PyTorch
    • (pure PyTorch) dataset
      • waveform: NpVCC2016_wave
      • spectrogram: NpVCC2016_spec
    • PyTorch-Lightning
      • waveform: NpVCC2016_wave_DataModule
      • spectrogram: NpVCC2016_spec_DataModule

Dependency Notes

PyTorch version

PyTorch version: PyTorch v1.6 is working (We checked with v1.6.0).

For dependency resolution, we do NOT explicitly specify the compatible versions.
PyTorch have several distributions for various environment (e.g. compatible CUDA version.)
Unfortunately it make dependency version management complicated for dependency management system.
In our case, the system poetry cannot handle cuda variant string (e.g. torch>=1.6.0 cannot accept 1.6.0+cu101.)
In order to resolve this problem, we use torch==*, it is equal to no version specification.
Setup.py could resolve this problem (e.g. torchaudio's setup.py), but we will not bet our effort to this hacky method.

Release files for npvcc2016 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for npvcc2016 3.0.0
File Size Uploaded
npvcc2016-3.0.0.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for npvcc2016 3.0.0
File Interpreter ABI Platform
npvcc2016-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.7 kB

Release files / npvcc2016-3.0.0.tar.gz

Download URL npvcc2016-3.0.0.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d0aaf55ae128441833b0797fce59345d2421cce0cbf9e37417e310f8918ff4fe
BLAKE2b-256 checksum
How to use checksums
a1e12a532cd9ba7c494d432eaf30ad6ceba72c2fd5357abdf93b22b930dc3471
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.6.12 Linux/4.19.104-microsoft-standard

Release files / npvcc2016-3.0.0-py3-none-any.whl

Download URL npvcc2016-3.0.0-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b252e75b44544be69f247b3620a797db0ffad631ba73bc564cf67e5aca998ffe
BLAKE2b-256 checksum
How to use checksums
c180cded0936e4b5c86c62b034d32c55e44dfed1e00ad4098e42155bb1f52f44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.6.12 Linux/4.19.104-microsoft-standard

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page