MCPcopy Create free account

hub / github.com/MoonInTheRiver/DiffSinger / functions

Functions694 in github.com/MoonInTheRiver/DiffSinger

↓ 2 callersFunctionexists
(x)
usr/diff/diffusion.py:18
↓ 2 callersFunctionexists
(x)
usr/diff/shallow_diffusion_tts.py:18
↓ 2 callersMethodexpand_f0_ph
(f0, mel2ph)
tasks/tts/fs2.py:483
↓ 2 callersMethodfit
(self, model)
utils/pl_utils.py:477
↓ 2 callersMethodget_align
(tg_fn, ph, mel, phone_encoded, res)
data_gen/tts/binarizer_zh.py:14
↓ 2 callersMethodget_embedding
Build sinusoidal embeddings. This matches the implementation in tensor2tensor, but differs slightly from the description in Section 3
modules/commons/common_layers.py:106
↓ 2 callersFunctionget_hop_size
(hparams)
utils/audio.py:20
↓ 2 callersMethodget_lr
(self)
utils/training_utils.py:26
↓ 2 callersFunctionget_mel2ph
(tg_fn, ph, mel, hparams)
data_gen/tts/data_gen_utils.py:274
↓ 2 callersMethodget_pitch
(wav_fn, spec, res)
data_gen/singing/binarize.py:182
↓ 2 callersFunctionget_symbol
(char, system)
utils/text_norm.py:234
↓ 2 callersMethodin_proj_k
(self, key)
modules/commons/common_layers.py:434
↓ 2 callersMethodin_proj_q
(self, query)
modules/commons/common_layers.py:425
↓ 2 callersMethodinit_optimizers
(self, optimizers)
utils/pl_utils.py:492
↓ 2 callersFunctionload_model
(config_path, checkpoint_path)
vocoders/hifigan.py:17
↓ 2 callersFunctionload_pwg_model
(config_path, checkpoint_path, stats_path)
vocoders/pwg.py:16
↓ 2 callersMethodlog_metrics
Logs the metric dict passed in. :param metrics: :param grad_norm_dic:
utils/pl_utils.py:917
↓ 2 callersFunctionnorm_f0
(f0, uv, hparams)
utils/pitch_utils.py:34
↓ 2 callersFunctionnorm_interp_f0
(f0, hparams)
utils/pitch_utils.py:45
↓ 2 callersFunctionnorm_scale
(Wavelet_lf0)
utils/cwt.py:72
↓ 2 callersMethodon_epoch_end
(self, epoch, logs=None)
utils/pl_utils.py:327
↓ 2 callersMethodout2dur
(self, xs)
modules/fastspeech/tts_modules.py:122
↓ 2 callersMethodout2mel
(self, out)
modules/fastspeech/fs2.py:246
↓ 2 callersFunctionoverride_config
(old_config: dict, new_config: dict)
utils/hparams.py:15
↓ 2 callersMethodp_losses
(self, x_start, t, cond, noise=None, nonpadding=None)
usr/diff/shallow_diffusion_tts.py:293
↓ 2 callersMethodp_sample
(self, x, t, cond, clip_denoised=True, repeat_noise=False)
usr/diff/shallow_diffusion_tts.py:278
↓ 2 callersFunctionparallel_apply
r"""Applies each `module` in :attr:`modules` in parallel on arguments contained in :attr:`inputs` (positional) and :attr:`kwargs_tup` (keyword)
utils/pl_utils.py:80
↓ 2 callersMethodpreprocess_text
(text)
data_gen/tts/txt_processors/en.py:47
↓ 2 callersMethodprocess
(self)
data_gen/tts/base_binarizer.py:111
↓ 2 callersMethodprocess_output
Reduces output according to the training mode. Separates loss from logging and tqdm metrics :param output: :return:
utils/pl_utils.py:958
↓ 2 callersFunctionremove_empty_lines
remove empty lines
data_gen/tts/data_gen_utils.py:187
↓ 2 callersMethodremove_weight_norm
(self)
modules/hifigan/hifigan.py:63
↓ 2 callersMethodremove_weight_norm
Remove weight normalization module from all of the layers.
modules/parallel_wavegan/models/melgan.py:159
↓ 2 callersMethodrestore
(self, checkpoint_path, on_gpu)
utils/pl_utils.py:661
↓ 2 callersMethodrun_evaluation
(self, test=False)
utils/pl_utils.py:1221
↓ 2 callersMethodrun_model
(self, model, sample, return_output=False, infer=False)
usr/diffsinger_task.py:123
↓ 2 callersMethodrun_model
(self, model, sample, return_output=False)
tasks/tts/fs2.py:111
↓ 2 callersMethodrun_model
(self, model, sample, return_output=False, infer=False)
tasks/tts/pe.py:128
↓ 2 callersMethodrun_pretrain_routine
Sanity check a few things before starting actual training. :param model:
utils/pl_utils.py:507
↓ 2 callersMethodspec2wav
(self, mel, **kwargs)
vocoders/pwg.py:82
↓ 2 callersFunctionspec_to_figure
(spec, vmin=None, vmax=None)
utils/plot.py:8
↓ 2 callersMethodssim_loss
(self, decoder_output, target, bias=6.0)
tasks/tts/fs2.py:166
↓ 2 callersFunctionstrip_ids
Strip ids_to_strip from the end ids.
utils/text_encoder.py:28
↓ 2 callersMethodtelephone2chntext
(self, fixed=False)
utils/text_norm.py:468
↓ 2 callersMethodtrain
(self)
utils/pl_utils.py:1313
↓ 2 callersMethodtransfer_batch_to_gpu
(self, batch, gpu_id)
utils/pl_utils.py:792
↓ 2 callersMethodvalidation_end
(self, outputs)
tasks/base_task.py:185
↓ 2 callersMethodweights_nonzero_speech
(self, target)
tasks/tts/tts.py:124
↓ 1 callersFunctionConv1d
(*args, **kwargs)
usr/diff/candidate_decoder.py:29
↓ 1 callersMethod__init__
(self)
usr/diffsinger_task.py:24
↓ 1 callersMethod__init__
(self, hidden_size=None, num_layers=None, kernel_size=None, num_heads=None)
usr/diff/candidate_decoder.py:36
↓ 1 callersMethod__init__
Initialize STFT loss module.
modules/parallel_wavegan/stft_loss.py:16
↓ 1 callersMethod__init__
Initialize CausalConv1d module.
modules/parallel_wavegan/layers/causal_conv.py:15
↓ 1 callersMethod__init__
( self, logger=True, checkpoint_callback=True, default_save_pa
utils/pl_utils.py:355
↓ 1 callersMethod__init__
(self, num_reserved_ids=NUM_RESERVED_TOKENS)
utils/text_encoder.py:39
↓ 1 callersMethod__init__
(self, *args, **kwargs)
tasks/base_task.py:77
↓ 1 callersMethod__init__
(self, prefix, shuffle=False)
tasks/tts/pe.py:19
↓ 1 callersMethod__str__
(self)
utils/text_norm.py:70
↓ 1 callersMethod_atomic_save
Saves a checkpoint atomically, avoiding the creation of incomplete checkpoints. This will create a temporary checkpoint with a suffix of ``.p
utils/pl_utils.py:722
↓ 1 callersFunction_find_tensors
r""" Recursively find all tensors contained in the specified object.
utils/pl_utils.py:166
↓ 1 callersMethod_get_item
(self, index)
tasks/tts/fs2_utils.py:53
↓ 1 callersMethod_get_item_list
Only supports IntervalTier currently
data_gen/tts/data_gen_utils.py:235
↓ 1 callersMethod_get_receptive_field_size
(layers, stacks, kernel_size, dilation=lambda x: 2 ** x)
modules/parallel_wavegan/models/parallel_wavegan.py:194
↓ 1 callersMethod_get_size
(self)
data_gen/tts/data_gen_utils.py:232
↓ 1 callersMethod_get_time_intval
(self)
data_gen/tts/data_gen_utils.py:228
↓ 1 callersMethod_get_type
(self)
data_gen/tts/data_gen_utils.py:225
↓ 1 callersMethod_init_vocab_from_file
Load vocab from a file. Args: filename: The file to load vocabulary from.
utils/text_encoder.py:230
↓ 1 callersMethod_init_vocab_from_list
Initialize tokens from a list of tokens. It is ok if reserved tokens appear in the vocab list. They will be removed. The set of token
utils/text_encoder.py:245
↓ 1 callersFunction_is_batch_full
(batch, num_tokens, max_tokens, max_sentences)
utils/__init__.py:79
↓ 1 callersMethod_particular
(self)
utils/text_norm.py:608
↓ 1 callersMethod_percent_range_check
(self, name)
utils/pl_utils.py:1611
↓ 1 callersMethod_phone_encoder
(self)
data_gen/singing/binarize.py:99
↓ 1 callersMethod_phone_encoder
(self)
data_gen/tts/base_binarizer.py:83
↓ 1 callersMethod_safe_id_to_token
(self, idx)
utils/text_encoder.py:227
↓ 1 callersMethod_training_step
:param sample: :param batch_idx: :return: total loss: torch.Tensor, loss_log: dict
tasks/base_task.py:117
↓ 1 callersMethod_validation_end
:param outputs: :return: loss_output: dict
tasks/base_task.py:177
↓ 1 callersFunction_worker
(i, module, input, kwargs, device=None)
utils/pl_utils.py:109
↓ 1 callersMethodadd_dur
:param dur_input: [B, T_txt, H] :param mel2ph: [B, T_mel] :param txt_tokens: [B, T_txt] :param ret: :return:
modules/fastspeech/fs2.py:151
↓ 1 callersMethodadd_energy
(self, decoder_inp, energy, ret)
modules/fastspeech/fs2.py:176
↓ 1 callersMethodadd_mel_loss
(self, mel_out, target, losses, postfix='', mel_mix_loss=None)
tasks/tts/fs2.py:143
↓ 1 callersMethodadd_pitch
(self, decoder_inp, f0, uv, mel2ph, ret, encoder_out=None)
modules/fastspeech/fs2.py:185
↓ 1 callersMethodadd_pitch_loss
(self, output, sample, losses)
tasks/tts/pe.py:146
↓ 1 callersMethodapply_sparse_mask
(self, attn_weights, tgt_len, src_len, bsz)
modules/commons/common_layers.py:463
↓ 1 callersMethodapply_weight_norm
Apply weight normalization module from all of the layers.
modules/parallel_wavegan/models/parallel_wavegan.py:184
↓ 1 callersMethodapply_weight_norm
Apply weight normalization module from all of the layers.
modules/parallel_wavegan/models/parallel_wavegan.py:282
↓ 1 callersMethodapply_weight_norm
Apply weight normalization module from all of the layers.
modules/parallel_wavegan/models/parallel_wavegan.py:416
↓ 1 callersMethodapply_weight_norm
Apply weight normalization module from all of the layers.
modules/parallel_wavegan/models/melgan.py:170
↓ 1 callersMethodapply_weight_norm
Apply weight normalization module from all of the layers.
modules/parallel_wavegan/models/melgan.py:406
↓ 1 callersMethodbackward
(self, loss, optimizer)
tasks/base_task.py:337
↓ 1 callersFunctionbinarize
()
data_gen/tts/bin/binarize.py:9
↓ 1 callersMethodbuild_embedding
(self, dictionary, embed_dim)
modules/fastspeech/fs2.py:88
↓ 1 callersMethodbuild_optimizer
(self, model)
tasks/base_task.py:198
↓ 1 callersMethodbuild_phone_encoder
(self, data_dir)
tasks/tts/tts.py:95
↓ 1 callersMethodbuild_scheduler
(self, optimizer)
tasks/base_task.py:195
↓ 1 callersMethodbuild_tts_model
(self)
tasks/tts/fs2.py:65
↓ 1 callersMethodcheck_index
(self, i)
utils/indexed_datasets.py:17
↓ 1 callersFunctionchunked_multiprocess_run
(map_func, args, num_workers=None, ordered=True, init_ctx_func=None, q_max_size=1000)
utils/multiprocess_utils.py:19
↓ 1 callersMethodclip_gradients
(self)
utils/pl_utils.py:1074
↓ 1 callersFunctioncompute_value
Compute the value. When current unit is larger than previous unit, current unit * all previous units will be used as all previous uni
utils/text_norm.py:288
↓ 1 callersMethodconfigure_accumulated_gradients
(self, accumulate_grad_batches)
utils/pl_utils.py:1085
← previousnext →101–200 of 694, ranked by callers