mirror of
https://github.com/qurator-spk/eynollah.git
synced 2026-02-20 16:32:03 +01:00
fix a typo
This commit is contained in:
parent
77adcbea8a
commit
a84ae67e7a
1 changed files with 1 additions and 1 deletions
|
|
@ -566,7 +566,7 @@ def run(
|
||||||
|
|
||||||
if i >=0:
|
if i >=0:
|
||||||
model.save( os.path.join(dir_output,'model_'+str(i) ))
|
model.save( os.path.join(dir_output,'model_'+str(i) ))
|
||||||
os.system("cp "+characters_txt_file+" "+os.path.join(os.path.join(dir_output,'model_'+str(i)),"characters_org.txt")
|
os.system("cp "+characters_txt_file+" "+os.path.join(os.path.join(dir_output,'model_'+str(i)),"characters_org.txt"))
|
||||||
with open(os.path.join(os.path.join(dir_output,'model_'+str(i)),"config_eynollah.json"), "w") as fp:
|
with open(os.path.join(os.path.join(dir_output,'model_'+str(i)),"config_eynollah.json"), "w") as fp:
|
||||||
json.dump(_config, fp) # encode dict into JSON
|
json.dump(_config, fp) # encode dict into JSON
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue