Skip to content
Snippets Groups Projects
Commit 2a222bef authored by Milos CERNAK's avatar Milos CERNAK
Browse files

Saving UBM-GMM in a text format

parent e76730fe
Branches
Tags
No related merge requests found
Pipeline #
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment