Commit 42810875 authored by Anthony Larcher's avatar Anthony Larcher

Refactoring,in sidekit

parent 61eabaed
......@@ -374,10 +374,20 @@ class SStream(object):
os.makedirs(dir_name)
with h5py.File(self.output_filename, 'a') as fh:
sidekit.frontend.io.write_hdf5(show = self.show,
fh = fh,
feat = np.hstack([np.vstack(collect_energy), np.vstack(collect_sig)]),
feature_id =self.output_id ,
label= np.vstack(collect_vad))
fh = fh,
cep = collect_sig,
cep_mean = None,
cep_std = None,
energy = collect_energy,
energy_mean = None,
energy_std = None,
fb = None,
fb_mean = None,
fb_std = None,
bnf = None,
bnf_mean = None,
bnf_std = None,
label = collect_vad)
@coroutine
def dump(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment