You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python prepare.py fails with AssertionError: Unknown speaker! FEE005
Assertion error comes from utils.py line 117 assert speaker in speakers, f"Unknown speaker! {speaker}"
Judging by the assertion and line 119 speaker = speakers[speaker], the script expects speakers to be a dictionary, however, as we can see on line 111 speakers = {(speaker.id, speaker) for speaker in speakers}, speakers is a set of tuples.
Line 111 should be speakers = { speaker.id : speaker for speaker in speakers }, then the script works as intended.
The text was updated successfully, but these errors were encountered:
python prepare.py
fails withAssertionError: Unknown speaker! FEE005
Assertion error comes from
utils.py
line 117assert speaker in speakers, f"Unknown speaker! {speaker}"
Judging by the assertion and line 119
speaker = speakers[speaker]
, the script expectsspeakers
to be a dictionary, however, as we can see on line 111speakers = {(speaker.id, speaker) for speaker in speakers}
,speakers
is a set of tuples.Line 111 should be
speakers = { speaker.id : speaker for speaker in speakers }
, then the script works as intended.The text was updated successfully, but these errors were encountered: