Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Commit

Permalink
fix speedyspeech inference input type
Browse files Browse the repository at this point in the history
  • Loading branch information
yt605155624 committed Oct 27, 2021
1 parent c2dd149 commit 041a18b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/speedyspeech/baker/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def main():
sentence, merge_sentences=True, get_tone_ids=True)
phone_ids = input_ids["phone_ids"]
tone_ids = input_ids["tone_ids"]
phones = phone_ids[0]
tones = tone_ids[0]
phones = phone_ids[0].numpy()
tones = tone_ids[0].numpy()

if args.enable_auto_log:
logger.times.stamp()
Expand Down

0 comments on commit 041a18b

Please sign in to comment.