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
@zhang-jian I think you are right - a lot of the training data is lost this way.
Another option might be changing this line to: for i in xrange(int(length) - 1):
This will still generate overlapping 8 second samples, but allow the entire training set to be used.
Hi,
I think this line should be:
os.system('ffmpeg -ss {} -t 8 -i {}/preprocess_all_audio.wav -ac 1 -ab 16k -ar 16000 {}/p{}.flac'.format(i*8, OUTPUT_DIR, OUTPUT_DIR, i))
Otherwise, you only use the first (int(length)//8 - 1) + 8 seconds of your training data?
The text was updated successfully, but these errors were encountered: