style: comment out first validate for checking
This commit is contained in:
parent
f6c4a4f87e
commit
b96106fa69
@ -112,6 +112,7 @@ def train(args, train_env, val_envs, aug_env=None, rank=-1):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# first evaluation
|
# first evaluation
|
||||||
|
'''
|
||||||
if args.eval_first:
|
if args.eval_first:
|
||||||
loss_str = "validation before training"
|
loss_str = "validation before training"
|
||||||
for env_name, env in val_envs.items():
|
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(
|
write_to_record_file(
|
||||||
'\nListener training starts, start iteration: %s' % str(start_iter), record_file
|
'\nListener training starts, start iteration: %s' % str(start_iter), record_file
|
||||||
)
|
)
|
||||||
|
'''
|
||||||
|
|
||||||
best_val = {'val_unseen': {"spl": 0., "sr": 0., "state":""}}
|
best_val = {'val_unseen': {"spl": 0., "sr": 0., "state":""}}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user