h5pack logo: a waveform turning into stacked bars inside a dark circle

h5pack is a utility made to pack, analyze and unpack HDF5 audio datasets using data and annotations of various sources. It was made to go from raw files to HDF5 files and back in a robust, consistent and simple way.

It provides a collection of tools for all the necessary tasks:

  • h5pack init: creates a configuration file from an annotations .csv file.
  • h5pack pack: converts raw data and/or annotation files into an HDF5 file.
  • h5pack unpack: extracts raw data from an HDF5 file, allowing regeneration of the original input data.
  • h5pack virtual: combines multiple datasets into a single virtual dataset without duplicating data.
  • h5pack info: displays the contents of an HDF5 file generated with h5pack.
  • h5pack checksum: verifies the integrity of an HDF5 file to detect potential corruption.
  • h5pack show: shows, saves or plays the data of any row of an HDF5 file.

Packed data can be read in Python with h5pack.open(), which also works with PyTorch DataLoader workers.

Links