Closed jayxio closed 3 years ago
And actually, random.shuffle(y_train_t)
ruins the y_train_t
(if you check it out), so if we use this code, the model cannot learn anything...
random.shuffle(y_train_t)
ruins the y_train_t
. I don't quite understand this point. y_train_t
is labels of speakers, which still corresponds to x_train_t
The implementation is impressive.
However, I wonder the following code's necessity:
So the purpose of
is to randomize yield batch (x_train_t, y_train_t). But, from my opinion, the order of samples within a batch does not affect any training?
Looking forward for your reply!