MCPcopy Create free account

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

Functions388 in github.com/cnlinxi/style-token_tacotron2

↓ 121 callersFunctionlog
(msg, end='\n', slack=False)
infolog.py:24
↓ 94 callersMethodappend
(self, x)
tacotron/utils/__init__.py:6
↓ 20 callersFunctionis_mulaw_quantize
(s)
wavenet_vocoder/util.py:13
↓ 16 callersMethodreplace
Clones the current state while overwriting components provided by kwargs.
tacotron/models/Architecture_wrappers.py:97
↓ 14 callersMethodload
(self, checkpoint_path, hparams, gta=False, style_transfer=True, model_name='Tacotron')
tacotron/synthesizer.py:18
↓ 8 callersFunctionis_mulaw
(s)
wavenet_vocoder/util.py:17
↓ 7 callersMethod__init__
(self, K, conv_channels, pool_size, projections, projection_kernel_size, n_highwaynet_layers,
tacotron/models/modules.py:21
↓ 7 callersMethodinitialize
Initializes the model for inference sets "mel_outputs" and "alignments" fields. Args: - inputs: int32 Tensor with
tacotron/models/tacotron.py:31
↓ 7 callersFunctionmulaw
Mu-Law companding Method described in paper [1]_. .. math:: f(x) = sign(x) ln (1 + mu |x|) / ln (1 + mu) Args: x (array-like): Input signal. Ea
wavenet_vocoder/util.py:30
↓ 6 callersMethod__init__
(self, num_embeddings, embedding_dim, std=0.1, name='gc_embedding')
wavenet_vocoder/models/modules.py:12
↓ 6 callersFunctionconv1d
(inputs, kernel_size, channels, activation, is_training, drop_rate, scope)
tacotron/models/modules.py:456
↓ 6 callersFunctionhparams_debug_string
()
hparams.py:382
↓ 6 callersMethodload
(self, checkpoint_path, hparams, model_name='WaveNet')
wavenet_vocoder/synthesizer.py:14
↓ 6 callersFunctionmulaw_quantize
Mu-Law companding + quantize Args: x (array-like): Input signal. Each value of input signal must be in range of [-1, 1]. mu (number): Compres
wavenet_vocoder/util.py:71
↓ 6 callersFunctiontime_string
()
tacotron/train.py:75
↓ 5 callersMethodcall
(self, inputs, incremental=False, convolution_queue=None)
wavenet_vocoder/models/modules.py:374
↓ 5 callersMethodincremental_step
(self, inputs, unused_queue=None)
wavenet_vocoder/models/modules.py:378
↓ 5 callersFunctiontacotron_synthesize
(args, hparams, checkpoint, sentences=None)
tacotron/synthesize.py:117
↓ 4 callersFunction_conv1x1_forward
conv1x1 step
wavenet_vocoder/models/modules.py:541
↓ 4 callersFunctionget_hop_size
(hparams)
datasets/audio.py:52
↓ 4 callersFunctioninv_preemphasis
(wav, k, inv_preemphasize=True)
datasets/audio.py:25
↓ 4 callersMethodlocal_conditioning_enabled
(self)
wavenet_vocoder/models/wavenet.py:509
↓ 4 callersMethodsample
(self, time, outputs, state, name=None)
tacotron/models/helpers.py:33
↓ 4 callersFunctionsequence_mask
(input_lengths, max_len=None, expand=True)
wavenet_vocoder/util.py:165
↓ 3 callersFunction_assert_valid_input_type
(s)
wavenet_vocoder/util.py:10
↓ 3 callersFunction_lws_processor
(hparams)
datasets/audio.py:110
↓ 3 callersFunction_pad_inputs
(x, maxlen, _pad=0)
wavenet_vocoder/feeder.py:389
↓ 3 callersFunction_stft
(y, hparams)
datasets/audio.py:126
↓ 3 callersFunction_symbols_to_sequence
(symbols)
tacotron/utils/text.py:66
↓ 3 callersFunctioncollapse_whitespace
(text)
tacotron/utils/cleaners.py:65
↓ 3 callersFunctioncreate_model
(name, hparams, init=False)
wavenet_vocoder/models/__init__.py:5
↓ 3 callersFunctioncreate_model
(name, hparams)
tacotron/models/__init__.py:4
↓ 3 callersFunctiongenerate_fast
(model, text)
tacotron/synthesize.py:14
↓ 3 callersMethodhas_speaker_embedding
(self)
wavenet_vocoder/models/wavenet.py:506
↓ 3 callersMethodinitialize
Initialize wavenet graph for train, eval and test cases.
wavenet_vocoder/models/wavenet.py:199
↓ 3 callersFunctioninv_mulaw
Inverse of mu-law companding (mu-law expansion) .. math:: f^{-1}(x) = sign(y) (1 / mu) (1 + mu)^{|y|} - 1) Args: y (array-like): Compressed sign
wavenet_vocoder/util.py:52
↓ 3 callersFunctionsave_seq
Save Tacotron-2 training state to disk. (To skip for future runs)
train.py:16
↓ 3 callersFunctionsequence_mask
Returns a 2-D or 3-D tensorflow sequence mask depending on the argument 'expand'
tacotron/models/modules.py:608
↓ 3 callersMethodsum
(self)
tacotron/utils/__init__.py:10
↓ 3 callersMethodsynthesize
(self, texts, basenames, out_dir, log_dir, mel_filenames)
tacotron/synthesizer.py:73
↓ 3 callersFunctiontext_to_sequence
Converts a string of text to a sequence of IDs corresponding to the symbols in the text. The text can optionally have ARPAbet sequences enclose
tacotron/utils/text.py:14
↓ 3 callersFunctiontxt2pinyin
(txt)
utils/txt2pinyin.py:87
↓ 3 callersFunctionwavenet_synthesize
(args, hparams, checkpoint)
wavenet_vocoder/synthesize.py:69
↓ 2 callersFunctionDiscretizedMixtureLogisticLoss
(outputs, targets, hparams, lengths=None, mask=None, max_len=None)
wavenet_vocoder/models/modules.py:568
↓ 2 callersFunctionGaussianMaximumLikelihoodEstimation
(outputs, targets, hparams, lengths=None, mask=None, max_len=None)
wavenet_vocoder/models/modules.py:587
↓ 2 callersFunctionMaskedCrossEntropyLoss
(outputs, targets, lengths=None, mask=None, max_len=None)
wavenet_vocoder/models/modules.py:549
↓ 2 callersFunctionMaskedMSE
Computes a masked Mean Squared Error
tacotron/models/modules.py:618
↓ 2 callersFunction_abs
(x)
wavenet_vocoder/util.py:145
↓ 2 callersFunction_amp_to_db
(x, hparams)
datasets/audio.py:185
↓ 2 callersFunction_assert_ready_for_upsample
(hparams, x, c)
test_wavenet_feeder.py:68
↓ 2 callersMethod_assert_ready_for_upsample
(self, x, c)
wavenet_vocoder/feeder.py:386
↓ 2 callersFunction_build_mel_basis
(hparams)
datasets/audio.py:180
↓ 2 callersMethod_check_conditions
(self)
wavenet_vocoder/synthesizer.py:91
↓ 2 callersFunction_clean_text
(text, cleaner_names)
tacotron/utils/text.py:57
↓ 2 callersFunction_db_to_amp
(x)
datasets/audio.py:189
↓ 2 callersFunction_denormalize
(D, hparams)
datasets/audio.py:206
↓ 2 callersFunction_expand_global_features
Expand global conditioning features to all time steps Args: batch_size: int time_length: int global_features: Tensor of shape [batch_size, cha
wavenet_vocoder/models/wavenet.py:14
↓ 2 callersFunction_get_float_val
returns the last word in a string as a float
utils/textgrid.py:131
↓ 2 callersFunction_go_frames
Returns all-zero <GO> frames for a given batch size and output dimension
tacotron/models/helpers.py:131
↓ 2 callersFunction_griffin_lim
librosa implementation of Griffin-Lim Based on https://github.com/librosa/librosa/issues/434
datasets/audio.py:114
↓ 2 callersFunction_istft
(y, hparams)
datasets/audio.py:132
↓ 2 callersFunction_log1p
(x)
wavenet_vocoder/util.py:138
↓ 2 callersFunction_normalize
(S, hparams)
datasets/audio.py:192
↓ 2 callersFunction_pad_targets
(x, maxlen, _pad=0)
wavenet_vocoder/feeder.py:392
↓ 2 callersFunction_parse_cmudict
(file)
tacotron/utils/cmudict.py:42
↓ 2 callersMethod_prepare_batch
(self, batch)
wavenet_vocoder/feeder.py:262
↓ 2 callersMethod_prepare_batch
(self, batches, outputs_per_step)
tacotron/feeder.py:198
↓ 2 callersMethod_prepare_targets
(self, targets, alignment)
tacotron/feeder.py:234
↓ 2 callersMethod_prepare_targets
(self, targets, alignment)
tacotron/synthesizer.py:268
↓ 2 callersFunction_read
(f)
utils/textgrid.py:85
↓ 2 callersMethod_rnn_output_size
(self)
tacotron/models/custom_decoder.py:59
↓ 2 callersMethod_round_up
(self, x, multiple)
tacotron/feeder.py:253
↓ 2 callersFunction_sign
(x)
wavenet_vocoder/util.py:131
↓ 2 callersMethodadd_loss
Adds loss computation to the graph. Supposes that initialize function has already been called.
wavenet_vocoder/models/wavenet.py:412
↓ 2 callersMethodadd_loss
Adds loss to the model. Sets "loss" field. initialize must have been called.
tacotron/models/tacotron.py:346
↓ 2 callersMethodbuild
Build `Layer`
wavenet_vocoder/models/modules.py:127
↓ 2 callersFunctionconvert_to_ascii
(text)
tacotron/utils/cleaners.py:69
↓ 2 callersFunctioncreate_shadow_saver
Load shadow variables of saved model. Inspired by: https://www.tensorflow.org/api_docs/python/tf/train/ExponentialMovingAverage Can also use: shad
wavenet_vocoder/train.py:43
↓ 2 callersFunctionget_list
(rhythm)
utils/labformat.py:13
↓ 2 callersMethodincremental
Inceremental forward step Inputs of shape [batch_size, channels, time_length] are reshaped to [batch_size, time_length, channels] Input of each t
wavenet_vocoder/models/wavenet.py:578
↓ 2 callersFunctioninv_mel_spectrogram
Converts mel spectrogram to waveform using librosa
datasets/audio.py:93
↓ 2 callersFunctioninv_mulaw_quantize
Inverse of mu-law companding + quantize Args: y (array-like): Quantized signal (∈ [0, mu]). mu (number): Compression parameter ``μ``. Returns:
wavenet_vocoder/util.py:105
↓ 2 callersFunctionis_scalar_input
(s)
wavenet_vocoder/util.py:25
↓ 2 callersFunctionload_averaged_model
(sess, sh_saver, checkpoint_path)
wavenet_vocoder/train.py:61
↓ 2 callersFunctionlog_sum_exp
numerically stable log_sum_exp implementation that prevents overflow
wavenet_vocoder/models/mixture.py:5
↓ 2 callersFunctionlowercase
lowercase input tokens.
tacotron/utils/cleaners.py:59
↓ 2 callersFunctionmodel_train_mode
(args, feeder, hparams, global_step, init=False)
wavenet_vocoder/train.py:115
↓ 2 callersFunctionpreemphasis
(wav, k, preemphasize=True)
datasets/audio.py:20
↓ 2 callersFunctionsample_from_discretized_mix_logistic
Args: y: Tensor, [batch_size, channels, time_length] Returns: Tensor: sample in range of [-1, 1]
wavenet_vocoder/models/mixture.py:76
↓ 2 callersFunctionsample_from_gaussian
sample from learned gaussian distribution
wavenet_vocoder/models/gaussian.py:26
↓ 2 callersFunctionsave_wav
(wav, path, sr)
datasets/audio.py:12
↓ 2 callersFunctionsplit_title_line
A function that splits any string based on specific character (returning it with the string), with maximum number of words on it
tacotron/utils/plot.py:8
↓ 2 callersMethodstep
Args: x: Tensor [batch_size, channels, time_length] c: Tensor [batch_size, c_channels, time_length]. Local conditioning features g: Tenso
wavenet_vocoder/models/modules.py:461
↓ 2 callersFunctiontacotron_train
(args, log_dir, hparams)
tacotron/train.py:376
↓ 2 callersFunctiontree
(words, rhythms, syllables, poses, phs_type=None)
utils/labformat.py:130
↓ 2 callersFunctiontxt2label
Return a generator of HTS format label of txt. Args: txt: like raw txt "向香港特别行政区同胞澳门台湾同胞" or txt with prosody make like "向#1
utils/mandarin_frontend.py:58
↓ 2 callersFunctionwavenet_train
(args, log_dir, hparams, input_path)
wavenet_vocoder/train.py:267
↓ 1 callersFunctionMaskedLinearLoss
Computes a masked MAE loss with priority to low frequencies
tacotron/models/modules.py:666
↓ 1 callersFunctionMaskedSigmoidCrossEntropy
Computes a masked SigmoidCrossEntropy with logits
tacotron/models/modules.py:640
↓ 1 callersMethod__init__
Initialize encoder parameters Args: convolutional_layers: Encoder convolutional block class lstm_layer: encoder bidir
tacotron/models/Architecture_wrappers.py:23
next →1–100 of 388, ranked by callers