MCPcopy Create free account

hub / github.com/cnlinxi/style-token_tacotron2 / functions

Functions388 in github.com/cnlinxi/style-token_tacotron2

Method__init__
Args: layers_sizes: list of integers, the length of the list represents the number of pre-net layers and the list
tacotron/models/modules.py:278
Method__init__
(self, output_size, is_training=True, scope=None)
tacotron/models/modules.py:310
Method__init__
Args: is_training: Boolean, determines if the model is in training or inference to control zoneout layers: integer, t
tacotron/models/modules.py:332
Method__init__
Args: shape: integer, dimensionality of output space (r*n_mels for decoder or n_mels for postnet) activation: callabl
tacotron/models/modules.py:365
Method__init__
Args: is_training: Boolean, to control the use of sigmoid function as it is useless to use it during training sin
tacotron/models/modules.py:395
Method__init__
Args: is_training: Boolean, determines if the model is training or in inference to control dropout kernel_size: tuple
tacotron/models/modules.py:426
Method__init__
Construct the Attention mechanism. Args: num_units: The depth of the query mechanism. memory: The memory to query; usually the output of an RN
tacotron/models/attention.py:111
Method__init__
(self, hparams)
tacotron/models/tacotron.py:28
Method__iter__
(self)
utils/labcnp.py:59
Method__len__
(self)
tacotron/utils/cmudict.py:29
Function_add_pinyin
txt2pinyin in one file
utils/mtts.py:42
Method_enqueue_next_test_group
(self)
wavenet_vocoder/feeder.py:221
Method_enqueue_next_test_group
(self)
tacotron/feeder.py:171
Method_enqueue_next_train_group
(self)
wavenet_vocoder/feeder.py:203
Method_enqueue_next_train_group
(self)
tacotron/feeder.py:152
Function_expand_decimal_point
(m)
tacotron/utils/numbers.py:18
Function_expand_dollars
(m)
tacotron/utils/numbers.py:22
Function_expand_number
(m)
tacotron/utils/numbers.py:47
Function_expand_ordinal
(m)
tacotron/utils/numbers.py:43
Function_process_utterance
Preprocesses a single utterance wav/text pair this writes the mel scale spectogram to disk and return a tuple to write to the train.txt file Ar
datasets/preprocessor.py:85
Function_process_utterance
Preprocesses a single utterance wav/text pair this writes the mel scale spectogram to disk and return a tuple to write to the train.txt file Ar
datasets/wavenet_preprocessor.py:39
Function_remove_commas
(m)
tacotron/utils/numbers.py:14
Function_round_up
(x, multiple)
wavenet_vocoder/feeder.py:395
Function_send_slack
(msg)
infolog.py:39
Function_smoothing_normalization
Applies a smoothing normalization function instead of softmax Introduced in: J. K. Chorowski, D. Bahdanau, D. Serdyuk, K. Cho, and Y. Ben- gio,
tacotron/models/attention.py:72
Function_txt_preprocess
(txtfile, output_path)
utils/mandarin_frontend.py:150
Methodaverage
(self)
tacotron/utils/__init__.py:18
Functionbasic_cleaners
Basic pipeline that lowercases and collapses whitespace without transliteration.
tacotron/utils/cleaners.py:73
Methodbatch_size
(self)
tacotron/models/custom_decoder.py:56
Methodbatch_size
(self)
tacotron/models/helpers.py:15
Methodbatch_size
(self)
tacotron/models/helpers.py:83
Methodbody
(time, outputs_ta, current_input, loss_outputs_ta, queues)
wavenet_vocoder/models/wavenet.py:666
Methodbuild
Build `Layer`
wavenet_vocoder/models/modules.py:249
Functionbuild_from_path
Preprocesses the speech dataset from a gven input path to given output directories Args: - hparams: hyper parameters - input_dir: input direct
datasets/preprocessor.py:10
Functionbuild_from_path
Preprocesses the speech dataset from a gven input path to given output directories Args: - hparams: hyper parameters - input_dir: input direct
datasets/wavenet_preprocessor.py:10
Functionbuild_from_path_thchs30
Preprocesses the speech dataset from a gven input path to given output directories Args: - hparams: hyper parameters - input
datasets/preprocessor.py:48
Methodcall
Call `Layer`
wavenet_vocoder/models/modules.py:169
Methodcall
Call 'Layer
wavenet_vocoder/models/modules.py:266
Methodcall
(self, x, c=None, g=None)
wavenet_vocoder/models/modules.py:454
Methodcall
(self, inputs)
wavenet_vocoder/models/modules.py:521
Methodcall
(self, inputs)
wavenet_vocoder/models/modules.py:537
Functionclean_metadata
(metadata)
preprocess.py:10
Methodclear_queue
(self)
wavenet_vocoder/models/wavenet.py:748
Methodcondition
(time, unused_outputs_ta, unused_current_input, unused_loss_outputs_ta, unused_queues)
wavenet_vocoder/models/wavenet.py:663
Methodcount
(self)
tacotron/utils/__init__.py:14
Functionenglish_cleaners
Pipeline for English text, including number and abbreviation expansion.
tacotron/utils/cleaners.py:88
Methodincremental_step
At sequential inference times: we adopt fast wavenet convolution queues approach by saving pre-computed states for faster generation inputs: [bat
wavenet_vocoder/models/modules.py:322
Methodincremental_step
(self, x, c=None, g=None, queue=None)
wavenet_vocoder/models/modules.py:458
Functioninit
(filename, run_name, slack_url=None)
infolog.py:13
Methodinitialize
Initialize the decoder. Args: name: Name scope for any created operations. Returns: `(finished, first_inputs, initial_state)`.
tacotron/models/custom_decoder.py:96
Methodinitialize
(self, name=None)
tacotron/models/helpers.py:30
Methodinitialize
(self, name=None)
tacotron/models/helpers.py:98
Functioninv_linear_spectrogram
Converts linear spectrogram to waveform using librosa
datasets/audio.py:75
Functionlibrosa_pad_lr
compute right padding (final frame)
datasets/audio.py:158
Functionlinearspectrogram
(wav, hparams)
datasets/audio.py:59
Functionload_wav
(path, sr)
datasets/audio.py:9
Functionlog_prob_from_logits
numerically stable log_softmax implementation that prevents overflow
wavenet_vocoder/models/mixture.py:12
Methodlookup
Returns list of ARPAbet pronunciations of the given word.
tacotron/utils/cmudict.py:33
Functionmelspectrogram
(wav, hparams)
datasets/audio.py:67
Methodnext_inputs
(self, time, outputs, state, sample_ids, stop_token_prediction, name=None)
tacotron/models/helpers.py:115
Functionnormalize
Applies layer normalization. Args: inputs: A tensor with 2 or more dimensions, where the first dimension has `batch_size`. ep
tacotron/models/modules.py:470
Methodoutput_dtype
(self)
tacotron/models/custom_decoder.py:86
Methodoutput_size
(self)
tacotron/models/Architecture_wrappers.py:150
Methodoutput_size
(self)
tacotron/models/custom_decoder.py:78
Methodoutput_size
(self)
tacotron/models/modules.py:118
Functionpad_lr
Compute left and right padding
datasets/audio.py:148
Functionplot_alignment
(alignment, path, title=None, split_title=False, max_len=None)
tacotron/utils/plot.py:16
Functionplot_spectrogram
(pred_spectrogram, path, title=None, split_title=False, target_spectrogram=None, max_len=None, auto_aspect=Fal
tacotron/utils/plot.py:42
Methodreset
(self)
tacotron/utils/__init__.py:21
Methodsample
(self, time, outputs, state, name=None)
tacotron/models/helpers.py:112
Methodsample_ids_dtype
(self)
tacotron/models/helpers.py:27
Methodsample_ids_dtype
(self)
tacotron/models/helpers.py:95
Methodsample_ids_shape
(self)
tacotron/models/helpers.py:23
Methodsample_ids_shape
(self)
tacotron/models/helpers.py:91
Methodset_mode
(self, is_training)
wavenet_vocoder/models/modules.py:231
Methodset_mode
(self, is_training)
wavenet_vocoder/models/modules.py:446
Functionshow
(tree_list, shift=0)
utils/labformat.py:85
Functionsplit_func
(x, split_pos)
tacotron/models/tacotron.py:14
Functionstart_and_end_indices
(quantized, silence_threshold=2)
datasets/audio.py:31
Methodstate_size
The `state_size` property of `TacotronDecoderCell`. Returns: An `TacotronDecoderCell` tuple containing shapes used by this object.
tacotron/models/Architecture_wrappers.py:154
Methodstate_size
(self)
tacotron/models/modules.py:114
Functionstatics_dataset_biaobei
(input_path, output_path)
utils/datasets_statics.py:13
Methodstep
Perform a custom decoding step. Enables for dyanmic <stop_token> prediction Args: time: scalar `int32` tensor. inputs: A (structure of) inpu
tacotron/models/custom_decoder.py:105
Methodtoken_output_size
(self)
tacotron/models/helpers.py:19
Methodtoken_output_size
(self)
tacotron/models/helpers.py:87
Functiontransliteration_cleaners
Pipeline for non-English text that transliterates to ASCII.
tacotron/utils/cleaners.py:80
Functiontrim_silence
Trim leading and trailing silence Useful for M-AILABS dataset if we choose to trim the extra 0.5 silence at beginning and end.
datasets/audio.py:44
Functionwaveplot
(path, y_hat, y_target, hparams)
wavenet_vocoder/util.py:174
← previous301–388 of 388, ranked by callers