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
5022120f5d
commit
3f990428a5
Binary file not shown.
@ -1419,10 +1419,6 @@ def is_module_available(*modules: str) -> bool:
|
|||||||
def save_args(args):
|
def save_args(args):
|
||||||
if not os.path.exists(args.exp_dir):
|
if not os.path.exists(args.exp_dir):
|
||||||
os.makedirs(args.exp_dir)
|
os.makedirs(args.exp_dir)
|
||||||
#if args.world_size == 4:
|
|
||||||
# shutil.copy("./run_bear.sh", f"{args.exp_dir}/run.sh")
|
|
||||||
#else:
|
|
||||||
# shutil.copy("./run.sh", f"{args.exp_dir}/run.sh")
|
|
||||||
args_dict = vars(args)
|
args_dict = vars(args)
|
||||||
f = open(f"{args.exp_dir}/config.yaml", 'w')
|
f = open(f"{args.exp_dir}/config.yaml", 'w')
|
||||||
for k, v in args_dict.items():
|
for k, v in args_dict.items():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user