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
ca6aea85e0
commit
bb98fb855c
Binary file not shown.
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user