style: comment out first validate for checking

This commit is contained in:
Ting-Jun Wang 2023-12-11 04:34:29 +08:00
parent f6c4a4f87e
commit b96106fa69
Signed by: snsd0805
GPG Key ID: 48D331A3D6160354

View File

@ -112,6 +112,7 @@ def train(args, train_env, val_envs, aug_env=None, rank=-1):
)
# first evaluation
'''
if args.eval_first:
loss_str = "validation before training"
for env_name, env in val_envs.items():
@ -135,6 +136,7 @@ def train(args, train_env, val_envs, aug_env=None, rank=-1):
write_to_record_file(
'\nListener training starts, start iteration: %s' % str(start_iter), record_file
)
'''
best_val = {'val_unseen': {"spl": 0., "sr": 0., "state":""}}