This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import h5py | |
class HDF5Store(object): | |
""" | |
Simple class to append value to a hdf5 file on disc (usefull for building keras datasets) | |
Params: | |
datapath: filepath of h5 file | |
dataset: dataset name within the file |