Commit 2a222bef authored by Milos CERNAK's avatar Milos CERNAK

Saving UBM-GMM in a text format

parent e76730fe
Pipeline #13257 passed with stages
in 8 minutes and 25 seconds
......@@ -192,11 +192,11 @@ def ubm_train(feats, ubmname, num_threads=4, num_frames=500000,
with open(logfile.name) as fp:
logtxt = fp.read()
logger.debug("%s", logtxt)
shutil.copyfile(txtfile.name, ubmname)
with open(txtfile.name, 'rt') as f:
ubmtxt = f.read()
ret = ubmtxt
shutil.copyfile(estfile.name, ubmname)
os.unlink(estfile.name)
os.unlink(gselfile.name)
......
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