mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Include start batch in seed
This commit is contained in:
parent
5fc0cce553
commit
f37ec0f0da
@ -907,7 +907,7 @@ def run(rank, world_size, args):
|
|||||||
params = get_params()
|
params = get_params()
|
||||||
params.update(vars(args))
|
params.update(vars(args))
|
||||||
|
|
||||||
fix_random_seed(params.seed)
|
fix_random_seed(params.seed + params.start_batch)
|
||||||
if world_size > 1:
|
if world_size > 1:
|
||||||
setup_dist(rank, world_size, params.master_port)
|
setup_dist(rank, world_size, params.master_port)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user