mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
49e80c3713
commit
2c216570b1
Binary file not shown.
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user