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
9a43c2a0a3
commit
eb8c0fae64
Binary file not shown.
@ -557,7 +557,7 @@ def main():
|
||||
token_dict = {}
|
||||
for line in f:
|
||||
line = line.strip().split()
|
||||
token_dict[line[1]] = line[0]
|
||||
token_dict[int(line[1])] = line[0]
|
||||
|
||||
if params.avg == 1:
|
||||
load_checkpoint(f"{params.exp_dir}/epoch-{params.epoch}.pt", model)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user