Closed MostafaAlaviyan closed 2 years ago
I check the preprocessed items and I found that:
ids = np.load("./ids/Excel1-sheet7-08-ids.npy")
print(len(ids))
d =np.sum(np.load("./durations/Excel1-sheet7-08-durations.npy"))
print(d)
energy = np.load("./raw-energies/Excel1-sheet7-08-raw-energy.npy")
print(len(energy))
f0 = np.load("./Excel1-sheet7-08-raw-f0.npy")
print(len(f0))
norm = np.load("./Excel1-sheet7-08-norm-feats.npy")
print(len(norm))
the results are as follows:
132
799
799
799
799
@MostafaAlaviyan you need to feed a Fastspeech model to every samples to detect what samples caused this problem by the code bellow:
for d in dataset:
outputs = fastspeech2(**d, training=True)
print("PRINT WHAT YOU WANT HERE IF THERE IS A BUG")
note that you should set batch_size is 1.
hi thanks to your valuable repo! I want to train fastspeech2 on a Persian dataset and extract durations from MFA. after preprocessing, when I began the train the bellow error occurred:
how can I solve the error?