mycrazycracy / tf-kaldi-speaker

Neural speaker recognition/verification system based on Kaldi and Tensorflow
Apache License 2.0
32 stars 16 forks source link

Correct number of steps #16

Open tgm185z opened 3 years ago

tgm185z commented 3 years ago

Hello,

thanks for the great work, it is really useful!

I have a question about how to set the number of steps per epochs for KaldiDataRandomQueue.

As far as I know, an epoch means training the neural network with all the training data for one cycle. In an epoch, we use all of the data at least once. There are many steps in one epoch, and in one step, batch_size examples are processed.

But I don't see in the code for KaldiDataRandomQueue how you make sure to use all training data at least one for one epoch. So I'm having troubles to set the number of steps.

Please, Can you explain to me how I can make sure that the whole training set is seen and how to set the number of steps?

Thank you in advance.