Skip to content

Commit 9d076a0

Browse files
committed
Corrected assertion
1 parent 0ac17d6 commit 9d076a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/fastspeech2_libritts/fastspeech2_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def __init__(
9898
== len(energy_files)
9999
), f"Number of charactor, mel, duration, f0 and energy files are different"
100100

101-
assert speakers_map == None, f"No speakers map found. Did you set --dataset_mapping?"
101+
assert speakers_map != None, f"No speakers map found. Did you set --dataset_mapping?"
102102

103103
if ".npy" in charactor_query:
104104
suffix = charactor_query[1:]

0 commit comments

Comments
 (0)