from local

This commit is contained in:
dohe0342 2023-02-02 19:03:00 +09:00
parent 9a43c2a0a3
commit eb8c0fae64
2 changed files with 1 additions and 1 deletions

View File

@ -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)