ubclaunchpad / minutes

:telescope: Speaker diarization via transfer learning
https://medium.com/ubc-launch-pad-software-engineering-blog/speaker-diarisation-using-transfer-learning-47ca1a1226f4
27 stars 5 forks source link

Chad/hdf5 batcher #90

Closed chadlagore closed 6 years ago

chadlagore commented 6 years ago

:construction_worker: Changes

:flashlight: Testing Instructions

X = np.load('/path/to/X.npy)
y = np.load('/path/to/y.npy)
with TrainingData('path/to/file.hdf5', 'w') as data:
    data.write(X, y)
    for X_batch, y_batch in data.batches(batch_size=42):
        print(X)
        print(y)
grig-guz commented 6 years ago

Please don't merge it until the next week, I'll try finish the chunked reading.