vis4d.data.io.to_hdf5
Script to convert a dataset to hdf5 format.
Functions
|
Convert a dataset to HDF5 format. |
- convert_dataset(source_dir)[source]
Convert a dataset to HDF5 format.
This function converts an arbitary dictionary to an HDF5 file. The keys inside the HDF5 file preserve the directory structure of the original.
As an example, if you convert “/path/to/dataset” to HDF5, the resulting file will be: “/path/to/dataset.hdf5”. The file “relative/path/to/file” will be stored at “relative/path/to/file” inside /path/to/dataset.hdf5.
- Parameters:
source_dir (str) – The path to the dataset to convert.
- Return type:
None