from local

This commit is contained in:
dohe0342 2022-12-26 14:57:13 +09:00
parent ca6aea85e0
commit bb98fb855c
2 changed files with 2 additions and 2 deletions

View File

@ -1546,8 +1546,8 @@ def run_adapter(rank, world_size, args, wb=None):
train_cuts = train_cuts.filter(remove_short_and_long_utt) train_cuts = train_cuts.filter(remove_short_and_long_utt)
if params.start_batch > 0 and checkpoints and "sampler" in checkpoints: #if params.start_batch > 0 and checkpoints and "sampler" in checkpoints:
sampler_state_dict = checkpoints["sampler"] # sampler_state_dict = checkpoints["sampler"]
else: else:
sampler_state_dict = None sampler_state_dict = None