MCPcopy Create free account

hub / github.com/MoonInTheRiver/DiffSinger / functions

Functions694 in github.com/MoonInTheRiver/DiffSinger

↓ 1 callersFunctionrun_task
()
tasks/run.py:5
↓ 1 callersMethodrun_training_batch
(self, batch, batch_idx)
utils/pl_utils.py:1436
↓ 1 callersMethodrun_training_epoch
(self)
utils/pl_utils.py:1371
↓ 1 callersMethodseg
(self)
utils/text_encoder.py:287
↓ 1 callersMethodset_distributed_mode
(self, distributed_backend)
utils/pl_utils.py:823
↓ 1 callersMethodsil_phonemes
(self)
utils/text_encoder.py:303
↓ 1 callersMethodsp_phonemes
()
data_gen/tts/txt_processors/zh_g2pM.py:16
↓ 1 callersFunctionspectral_normalize_torch
(magnitudes)
modules/hifigan/mel_utils.py:31
↓ 1 callersFunctionsplit_train_test_set
(item_names)
data_gen/singing/binarize.py:24
↓ 1 callersFunctionssim
(img1, img2, window_size=11, size_average=True)
modules/commons/ssim.py:383
↓ 1 callersFunctionstring2symbols
(chinese_string, system)
utils/text_norm.py:245
↓ 1 callersMethodtest
(self, model)
utils/pl_utils.py:584
↓ 1 callersMethodtest_end
(self, outputs)
tasks/tts/tts.py:115
↓ 1 callersMethodtest_start
(self)
tasks/tts/tts.py:107
↓ 1 callersMethodtoJson
(self)
data_gen/tts/data_gen_utils.py:264
↓ 1 callersMethodtraining_end
(self, *args, **kwargs)
tasks/base_task.py:273
↓ 1 callersMethodtraining_forward
Handle forward for each training case (distributed, single gpu, etc...) :param batch: :param batch_idx: :return:
utils/pl_utils.py:1564
↓ 1 callersFunctiontrim_long_silences
Ensures that segments without voice in the waveform remain no longer than a threshold determined by the VAD parameters in params.py. :par
data_gen/tts/data_gen_utils.py:27
↓ 1 callersMethodvalidation_step
:param sample: :param batch_idx: :return: output: dict
tasks/base_task.py:168
Method__call__
(self, text)
data_gen/tts/txt_processors/en.py:15
Method__del__
(self)
utils/indexed_datasets.py:21
Method__enter__
(self)
utils/__init__.py:231
Method__exit__
(self, exc_type, exc_val, exc_tb)
utils/__init__.py:234
Method__getitem__
(self, index)
usr/diffsinger_task.py:86
Method__getitem__
Get ndarray for a given key.
modules/parallel_wavegan/utils/utils.py:151
Method__getitem__
(self, i)
utils/indexed_datasets.py:25
Method__getitem__
(self, index)
tasks/base_task.py:42
Method__getitem__
(self, index)
tasks/tts/fs2_utils.py:60
Method__getitem__
(self, index)
tasks/tts/pe.py:48
Method__init__
(self)
usr/diffsinger_task.py:105
Method__init__
(self)
usr/diffspeech_task.py:18
Method__init__
(self)
usr/singingvocoder/highgan.py:38
Method__init__
(self, *args, **kwargs)
usr/diff/net.py:17
Method__init__
(self, dim)
usr/diff/net.py:33
Method__init__
(self, encoder_hidden, residual_channels, dilation)
usr/diff/net.py:59
Method__init__
(self, fn)
usr/diff/diffusion.py:44
Method__init__
(self, dim)
usr/diff/diffusion.py:53
Method__init__
(self, dim)
usr/diff/diffusion.py:73
Method__init__
(self, dim)
usr/diff/diffusion.py:82
Method__init__
(self, fn)
usr/diff/diffusion.py:91
Method__init__
(self, dim, dim_out, *, time_emb_dim, groups=8)
usr/diff/diffusion.py:116
Method__init__
(self, dim, heads=4, dim_head=32)
usr/diff/diffusion.py:135
Method__init__
(self, phone_encoder, out_dims, denoise_fn, timesteps=1000, loss_type='l1', betas=None, spec_
usr/diff/diffusion.py:181
Method__init__
(self, dim)
usr/diff/candidate_decoder.py:15
Method__init__
(self, fn)
usr/diff/shallow_diffusion_tts.py:44
Method__init__
(self, dim)
usr/diff/shallow_diffusion_tts.py:53
Method__init__
(self, dim)
usr/diff/shallow_diffusion_tts.py:73
Method__init__
(self, dim)
usr/diff/shallow_diffusion_tts.py:82
Method__init__
(self, fn)
usr/diff/shallow_diffusion_tts.py:91
Method__init__
(self, dim, dim_out, *, time_emb_dim, groups=8)
usr/diff/shallow_diffusion_tts.py:116
Method__init__
(self, dim, heads=4, dim_head=32)
usr/diff/shallow_diffusion_tts.py:135
Method__init__
(self, phone_encoder, out_dims, denoise_fn, timesteps=1000, K_step=1000, loss_type=hparams.ge
usr/diff/shallow_diffusion_tts.py:195
Method__init__
(self, h, channels, kernel_size=3, dilation=(1, 3))
modules/hifigan/hifigan.py:71
Method__init__
Initialize 1x1 Conv1d module.
modules/hifigan/hifigan.py:97
Method__init__
(self, h, c_out=1)
modules/hifigan/hifigan.py:105
Method__init__
(self, period, kernel_size=5, stride=3, use_spectral_norm=False, use_cond=False, c_in=1)
modules/hifigan/hifigan.py:182
Method__init__
(self, use_cond=False, c_in=1)
modules/hifigan/hifigan.py:227
Method__init__
(self, use_spectral_norm=False, use_cond=False, upsample_rates=None, c_in=1)
modules/hifigan/hifigan.py:254
Method__init__
(self, use_cond=False, c_in=1)
modules/hifigan/hifigan.py:290
Method__init__
(self, hidden_size, dropout, kernel_size=None, num_heads=2, norm='ln')
modules/fastspeech/tts_modules.py:17
Method__init__
Initilize duration predictor module. Args: idim (int): Input dimension. n_layers (int, optional): Number of convolutio
modules/fastspeech/tts_modules.py:70
Method__init__
(self, pad_value=0.0)
modules/fastspeech/tts_modules.py:155
Method__init__
Initilize pitch predictor module. Args: idim (int): Input dimension. n_layers (int, optional): Number of convolutional
modules/fastspeech/tts_modules.py:193
Method__init__
(self, hidden_size, num_layers, ffn_kernel_size=9, dropout=None, num_heads=2, use_pos_embed=T
modules/fastspeech/tts_modules.py:252
Method__init__
(self, embed_tokens, hidden_size=None, num_layers=None, kernel_size=None, num_heads=2)
modules/fastspeech/tts_modules.py:311
Method__init__
(self, hidden_size=None, num_layers=None, kernel_size=None, num_heads=None)
modules/fastspeech/tts_modules.py:348
Method__init__
(self, dictionary, out_dims=None)
modules/fastspeech/fs2.py:22
Method__init__
(self, idim=80, n_chans=256, kernel_size=3, stride=1, norm='gn', dropout=0)
modules/fastspeech/pe.py:45
Method__init__
(self, idim=80, n_layers=5, n_chans=256, odim=32, kernel_size=5, norm='gn', dropout=0, stride
modules/fastspeech/pe.py:82
Method__init__
(self, n_mel_bins=80, conv_layers=2)
modules/fastspeech/pe.py:120
Method__init__
Initialize Multi resolution STFT loss module. Args: fft_sizes (list): List of FFT sizes. hop_sizes (list): List of ho
modules/parallel_wavegan/stft_loss.py:58
Method__init__
Initialize HDF5 scp loader. Args: feats_scp (str): Kaldi-style feats.scp file with hdf5 format. default_hdf5_path (st
modules/parallel_wavegan/utils/utils.py:131
Method__init__
Initilize PQMF module. Args: subbands (int): The number of subbands. taps (int): The number of filter taps.
modules/parallel_wavegan/layers/pqmf.py:61
Method__init__
Initialize 1x1 Conv1d module.
modules/parallel_wavegan/layers/residual_block.py:32
Method__init__
Initialize ResidualBlock module. Args: kernel_size (int): Kernel size of dilation convolution layer. residual_channel
modules/parallel_wavegan/layers/residual_block.py:42
Method__init__
Initialize ResidualStack module. Args: kernel_size (int): Kernel size of dilation convolution layer. channels (int):
modules/parallel_wavegan/layers/residual_stack.py:16
Method__init__
Initialize Stretch2d module. Args: x_scale (int): X scaling factor (Time axis in spectrogram). y_scale (int): Y scali
modules/parallel_wavegan/layers/upsample.py:19
Method__init__
Initialize upsampling network module. Args: upsample_scales (list): List of upsampling scales. nonlinear_activation (
modules/parallel_wavegan/layers/upsample.py:64
Method__init__
Initialize convolution + upsampling network module. Args: upsample_scales (list): List of upsampling scales. nonlinea
modules/parallel_wavegan/layers/upsample.py:128
Method__init__
Initialize CausalConvTranspose1d module.
modules/parallel_wavegan/layers/causal_conv.py:39
Method__init__
Initialize TFReflectionPad1d module. Args: padding_size (int): Padding size.
modules/parallel_wavegan/layers/tf_layers.py:14
Method__init__
Initialize TFConvTranspose1d( module. Args: channels (int): Number of channels. kernel_size (int): kernel size.
modules/parallel_wavegan/layers/tf_layers.py:41
Method__init__
Initilize RAdam optimizer.
modules/parallel_wavegan/optimizers/radam.py:17
Method__init__
Initialize Parallel WaveGAN Discriminator module. Args: in_channels (int): Number of input channels. out_channels (in
modules/parallel_wavegan/models/parallel_wavegan.py:210
Method__init__
Initialize Parallel WaveGAN Discriminator module. Args: in_channels (int): Number of input channels. out_channels (in
modules/parallel_wavegan/models/parallel_wavegan.py:306
Method__init__
Initilize MelGAN discriminator module. Args: in_channels (int): Number of input channels. out_channels (int): Number
modules/parallel_wavegan/models/melgan.py:197
Method__init__
Initilize MelGAN multi-scale discriminator module. Args: in_channels (int): Number of input channels. out_channels (i
modules/parallel_wavegan/models/melgan.py:306
Method__init__
(self, samp_rate, pulse_amp = 0.1, noise_std = 0.003, voiced_threshold = 0)
modules/parallel_wavegan/models/source.py:146
Method__init__
(self)
modules/parallel_wavegan/models/source.py:213
Method__init__
(self, samp_rate, noise_std=0.003, voiced_threshold=0)
modules/parallel_wavegan/models/source.py:252
Method__init__
(self, sampling_rate, noise_std=0.003, voiced_threshod=0)
modules/parallel_wavegan/models/source.py:460
Method__init__
(self, sampling_rate, harmonic_num=0, sine_amp=0.1, add_noise_std=0.003, voiced_threshod=0)
modules/parallel_wavegan/models/source.py:503
Method__init__
Initilize spectral convergence loss module.
modules/parallel_wavegan/losses/stft_loss.py:37
Method__init__
Initilize los STFT magnitude loss module.
modules/parallel_wavegan/losses/stft_loss.py:58
Method__init__
Initialize Multi resolution STFT loss module. Args: fft_sizes (list): List of FFT sizes. hop_sizes (list): List of ho
modules/parallel_wavegan/losses/stft_loss.py:112
Method__init__
(self, window_size=11, size_average=True)
modules/commons/ssim.py:355
Method__init__
(self, *args)
modules/commons/common_layers.py:20
Method__init__
(self, in_dim, out_dim, bias=True, w_init_gain='linear')
modules/commons/common_layers.py:29
Method__init__
(self, in_channels, out_channels, kernel_size=1, stride=1, padding=None, dilation=1, bias=Tru
modules/commons/common_layers.py:42
Method__init__
(self, embedding_dim, padding_idx, init_size=1024)
modules/commons/common_layers.py:94
← previousnext →301–400 of 694, ranked by callers