mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-07 08:04:18 +00:00
assert params.start_epoch>0, params.start_epoch
This commit is contained in:
parent
0bee5d058a
commit
537617302a
@ -861,7 +861,7 @@ def run(rank, world_size, args):
|
|||||||
# model_avg is only used with rank 0
|
# model_avg is only used with rank 0
|
||||||
model_avg = copy.deepcopy(model)
|
model_avg = copy.deepcopy(model)
|
||||||
|
|
||||||
assert params.start_epoch > 0
|
assert params.start_epoch > 0, params.start_epoch
|
||||||
checkpoints = load_checkpoint_if_available(
|
checkpoints = load_checkpoint_if_available(
|
||||||
params=params, model=model, model_avg=model_avg
|
params=params, model=model, model_avg=model_avg
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user