frytry
frytry
# Batching _, (texts, mels, mags, fnames) = tf.contrib.training.bucket_by_sequence_length( input_length=text_length, tensors=[text, mel, mag, fname], batch_size=hp.B, bucket_boundaries=[i for i in range(minlen + 1, maxlen - 1, 20)], num_threads=8, capacity=hp.B*4, dynamic_pad=True)
how to edit and which version is suitable for this code