Skip to content

Commit

Permalink
Update bert_gen.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Stardust-minus authored Sep 30, 2023
1 parent 4e4a4d2 commit 9169311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bert_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def process_line(line):
assert bert.shape[-1] == len(phone)
except Exception:
bert = get_bert(text, word2ph, language_str, device)
# assert bert.shape[-1] == len(phone)
assert bert.shape[-1] == len(phone)
torch.save(bert, bert_path)


Expand Down

0 comments on commit 9169311

Please sign in to comment.