from local

This commit is contained in:
dohe0342 2023-02-14 15:36:17 +09:00
parent 49e80c3713
commit 2c216570b1
2 changed files with 3 additions and 1 deletions

View File

@ -824,7 +824,9 @@ def main() -> None:
import shutil
import os
if not os.makedir(
try: os.makedir(f"{params.exp_dir}/sorted")
except: pass
for i, (k, v) in enumerate(wer_dict):
shutil.copy(f"{params.exp_dir}/epoch-{k}.pt", f"{params.exp_dir}/sorted/epoch-{100-i}.pt")
if i > 20: