dc_tts icon indicating copy to clipboard operation
dc_tts copied to clipboard

what will be the the 2.0 conversion of this code

Open frytry opened this issue 5 years ago • 3 comments

    # 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)

frytry avatar Feb 20 '20 19:02 frytry

this is not compatible with 2.0

frytry avatar Feb 22 '20 06:02 frytry

have you tried any new ways to pass this issue?

inanuygur avatar Dec 08 '20 00:12 inanuygur

Been working on converting this thing to be tensorflow 2.0 compliant. Got stuck on some things but feel free to branch off and help finish it off.

https://github.com/dmmagdal/dc_tts

dmmagdal avatar Jul 26 '21 16:07 dmmagdal