MCPcopy Create free account

hub / github.com/MoonInTheRiver/DiffSinger / functions

Functions694 in github.com/MoonInTheRiver/DiffSinger

Functiondata_loader
Decorator to make any fx with this use the lazy property :param fn: :return:
utils/pl_utils.py:47
Methoddata_parallel
(self)
utils/pl_utils.py:466
Methodddp_train
Entry point into a DP thread :param gpu_idx: :param model: :param cluster_obj: :return:
utils/pl_utils.py:847
Methoddecode
(self, ids, strip_extraneous=False)
utils/text_encoder.py:117
Methoddecode
(self, ids, strip_eos=False, strip_padding=False)
utils/text_encoder.py:207
Methoddecode_list
(self, ids)
utils/text_encoder.py:133
Functiondiscriminator_loss
(disc_real_outputs, disc_generated_outputs)
modules/hifigan/hifigan.py:337
Functiondynamic_range_compression
(x, C=1, clip_val=1e-5)
modules/hifigan/mel_utils.py:15
Functiondynamic_range_decompression
(x, C=1)
modules/hifigan/mel_utils.py:19
Methodencode
(self, s)
utils/text_encoder.py:108
Methodencode
(self, s)
utils/text_encoder.py:153
Methodencode
Converts a space-separated string of tokens to a list of ids.
utils/text_encoder.py:197
Functionfeature_loss
(fmap_r, fmap_g)
modules/hifigan/hifigan.py:328
Functionfind_files
Find files recursively. Args: root_dir (str): Root root_dir to find. query (str): Query to find. include_root_dir (bool):
modules/parallel_wavegan/utils/utils.py:17
Methodforward
(self, x)
usr/diff/net.py:37
Methodforward
(self, x, conditioner, diffusion_step)
usr/diff/net.py:66
Methodforward
:param spec: [B, 1, M, T] :param diffusion_step: [B, 1] :param cond: [B, M, T] :return:
usr/diff/net.py:107
Methodforward
(self, x, *args, **kwargs)
usr/diff/diffusion.py:48
Methodforward
(self, x)
usr/diff/diffusion.py:57
Methodforward
(self, x)
usr/diff/diffusion.py:68
Methodforward
(self, x)
usr/diff/diffusion.py:77
Methodforward
(self, x)
usr/diff/diffusion.py:86
Methodforward
(self, x)
usr/diff/diffusion.py:96
Methodforward
(self, x)
usr/diff/diffusion.py:111
Methodforward
(self, x, time_emb)
usr/diff/diffusion.py:127
Methodforward
(self, x)
usr/diff/diffusion.py:142
Methodforward
(self, txt_tokens, mel2ph=None, spk_embed=None, ref_mels=None, f0=None, uv=None, energy=None,
usr/diff/diffusion.py:296
Methodforward
(self, x)
usr/diff/candidate_decoder.py:19
Methodforward
:param spec: [B, 1, 80, T] :param diffusion_step: [B, 1] :param cond: [B, M, T] :return:
usr/diff/candidate_decoder.py:50
Methodforward
(self, x, *args, **kwargs)
usr/diff/shallow_diffusion_tts.py:48
Methodforward
(self, x)
usr/diff/shallow_diffusion_tts.py:57
Methodforward
(self, x)
usr/diff/shallow_diffusion_tts.py:68
Methodforward
(self, x)
usr/diff/shallow_diffusion_tts.py:77
Methodforward
(self, x)
usr/diff/shallow_diffusion_tts.py:86
Methodforward
(self, x)
usr/diff/shallow_diffusion_tts.py:96
Methodforward
(self, x)
usr/diff/shallow_diffusion_tts.py:111
Methodforward
(self, x, time_emb)
usr/diff/shallow_diffusion_tts.py:127
Methodforward
(self, x)
usr/diff/shallow_diffusion_tts.py:142
Methodforward
(self, txt_tokens, mel2ph=None, spk_embed=None, ref_mels=None, f0=None, uv=None, energy=None,
usr/diff/shallow_diffusion_tts.py:313
Methodforward
(self, txt_tokens, mel2ph=None, spk_embed=None, ref_mels=None, f0=None, uv=None, energy=None,
usr/diff/shallow_diffusion_tts.py:357
Methodforward
(self, x)
modules/hifigan/hifigan.py:54
Methodforward
(self, x)
modules/hifigan/hifigan.py:82
Methodforward
(self, x, f0=None)
modules/hifigan/hifigan.py:144
Methodforward
(self, x, mel)
modules/hifigan/hifigan.py:202
Methodforward
(self, y, y_hat, mel=None)
modules/hifigan/hifigan.py:237
Methodforward
(self, x, mel)
modules/hifigan/hifigan.py:273
Methodforward
(self, y, y_hat, mel=None)
modules/hifigan/hifigan.py:309
Methodforward
(self, x, **kwargs)
modules/fastspeech/tts_modules.py:30
Methodforward
Calculate forward propagation. Args: xs (Tensor): Batch of input sequences (B, Tmax, idim). x_masks (ByteTensor, optio
modules/fastspeech/tts_modules.py:133
Methodforward
Example (no batch dim version): 1. dur = [2,2,3] 2. token_idx = [[1],[2],[3]], dur_cumsum = [2,4,7], dur_cumsum_prev
modules/fastspeech/tts_modules.py:159
Methodforward
:param xs: [B, T, H] :return: [B, T, H]
modules/fastspeech/tts_modules.py:222
Methodforward
:param x: [B, T, C] :param padding_mask: [B, T] :return: [B, T, C] or [L, B, T, C]
modules/fastspeech/tts_modules.py:282
Methodforward
:param txt_tokens: [B, T] :return: { 'encoder_out': [T x B x C] }
modules/fastspeech/tts_modules.py:324
Methodforward
(self, txt_tokens, mel2ph=None, spk_embed=None, ref_mels=None, f0=None, uv=None, energy=None,
modules/fastspeech/fs2.py:93
Methodforward
:param x: [B, T, 80] :return: [L, B, T, H], [B, T, H]
modules/fastspeech/pe.py:23
Methodforward
:param x: [B, C, T] :return: [B, C, T]
modules/fastspeech/pe.py:62
Methodforward
:param x: [B, T, H] :return: [B, T, H]
modules/fastspeech/pe.py:98
Methodforward
(self, mel_input=None)
modules/fastspeech/pe.py:135
Methodforward
Calculate forward propagation. Args: x (Tensor): Predicted signal (B, T). y (Tensor): Groundtruth signal (B, T).
modules/parallel_wavegan/stft_loss.py:29
Methodforward
Calculate forward propagation. Args: x (Tensor): Predicted signal (B, T). y (Tensor): Groundtruth signal (B, T).
modules/parallel_wavegan/stft_loss.py:79
Methodforward
Calculate forward propagation. Args: x (Tensor): Input tensor (B, residual_channels, T). c (Tensor): Local conditioni
modules/parallel_wavegan/layers/residual_block.py:91
Methodforward
Calculate forward propagation. Args: c (Tensor): Input tensor (B, channels, T). Returns: Tensor: Output tens
modules/parallel_wavegan/layers/residual_stack.py:65
Methodforward
Calculate forward propagation. Args: x (Tensor): Input tensor (B, C, F, T). Returns: Tensor: Interpolated te
modules/parallel_wavegan/layers/upsample.py:33
Methodforward
Calculate forward propagation. Args: c : Input tensor (B, C, T). Returns: Tensor: Upsampled tensor (B, C, T'
modules/parallel_wavegan/layers/upsample.py:106
Methodforward
Calculate forward propagation. Args: c : Input tensor (B, C, T'). Returns: Tensor: Upsampled tensor (B, C, T
modules/parallel_wavegan/layers/upsample.py:167
Methodforward
Calculate forward propagation. Args: x (Tensor): Input tensor (B, in_channels, T). Returns: Tensor: Output t
modules/parallel_wavegan/layers/causal_conv.py:23
Methodforward
Calculate forward propagation. Args: x (Tensor): Input tensor (B, in_channels, T_in). Returns: Tensor: Outpu
modules/parallel_wavegan/layers/causal_conv.py:46
Methodforward
Calculate forward propagation. Args: x (Tensor): Input noise signal (B, C_in, T). c (Tensor): Local conditioning auxi
modules/parallel_wavegan/models/parallel_wavegan.py:138
Methodforward
Calculate forward propagation. Args: x (Tensor): Input noise signal (B, 1, T). Returns: Tensor: Output tenso
modules/parallel_wavegan/models/parallel_wavegan.py:268
Methodforward
Calculate forward propagation. Args: x (Tensor): Input noise signal (B, 1, T). Returns: Tensor: Output tenso
modules/parallel_wavegan/models/parallel_wavegan.py:392
Methodforward
Calculate forward propagation. Args: c (Tensor): Input tensor (B, channels, T). Returns: Tensor: Output tens
modules/parallel_wavegan/models/melgan.py:147
Methodforward
Calculate forward propagation. Args: x (Tensor): Input noise signal (B, 1, T). Returns: List: List of output
modules/parallel_wavegan/models/melgan.py:285
Methodforward
Calculate forward propagation. Args: x (Tensor): Input noise signal (B, 1, T). Returns: List: List of list o
modules/parallel_wavegan/models/melgan.py:378
Methodforward
sine_tensor, uv = forward(f0) input F0: tensor(batchsize=1, length, dim=1) f0 for unvoiced steps should be 0 output
modules/parallel_wavegan/models/source.py:104
Methodforward
Pulse train generator pulse_train, uv = forward(f0) input F0: tensor(batchsize=1, length, dim=1) f0 for unvoiced st
modules/parallel_wavegan/models/source.py:158
Methodforward
output = forward(signal, system_ir) signal: (batchsize, length1, dim) system_ir: (length2, dim) output: (batchsize, l
modules/parallel_wavegan/models/source.py:216
Methodforward
Producde cyclic-noise
modules/parallel_wavegan/models/source.py:288
Methodforward
cyc, noise, uv = SourceModuleCycNoise_v1(F0, beta) F0_upsampled (batchsize, length, 1) beta (1) cyc (batchsize, lengt
modules/parallel_wavegan/models/source.py:467
Methodforward
Sine_source, noise_source = SourceModuleHnNSF(F0_sampled) F0_sampled (batchsize, length, 1) Sine_source (batchsize, length, 1
modules/parallel_wavegan/models/source.py:518
Methodforward
Calculate forward propagation. Args: x_mag (Tensor): Magnitude spectrogram of predicted signal (B, #frames, #freq_bins).
modules/parallel_wavegan/losses/stft_loss.py:41
Methodforward
Calculate forward propagation. Args: x_mag (Tensor): Magnitude spectrogram of predicted signal (B, #frames, #freq_bins).
modules/parallel_wavegan/losses/stft_loss.py:62
Methodforward
Calculate forward propagation. Args: x (Tensor): Predicted signal (B, T). y (Tensor): Groundtruth signal (B, T).
modules/parallel_wavegan/losses/stft_loss.py:89
Methodforward
Calculate forward propagation. Args: x (Tensor): Predicted signal (B, T). y (Tensor): Groundtruth signal (B, T).
modules/parallel_wavegan/losses/stft_loss.py:132
Methodforward
(self, img1, img2)
modules/commons/ssim.py:362
Methodforward
(self, x)
modules/commons/common_layers.py:15
Methodforward
(self, x)
modules/commons/common_layers.py:24
Methodforward
(self, x)
modules/commons/common_layers.py:37
Methodforward
(self, signal)
modules/commons/common_layers.py:57
Methodforward
Input is expected to be of size [bsz x seqlen].
modules/commons/common_layers.py:124
Methodforward
(self, input)
modules/commons/common_layers.py:162
Methodforward
Input shape: Time x Batch x Channel Args: key_padding_mask (ByteTensor, optional): mask to exclude keys that are
modules/commons/common_layers.py:236
Methodforward
(ctx, i)
modules/commons/common_layers.py:469
Methodforward
(self, input_tensor)
modules/commons/common_layers.py:482
Methodforward
(self, x, incremental_state=None)
modules/commons/common_layers.py:503
Methodforward
:param x: [T, B, C] :return: [T, B, C]
modules/commons/common_layers.py:530
Methodforward
(self, x, encoder_padding_mask=None, **kwargs)
modules/commons/common_layers.py:564
Methodforward
( self, x, encoder_out=None, encoder_padding_mask=None,
modules/commons/common_layers.py:608
Methodforward
(self, *inputs, **kwargs)
utils/pl_utils.py:187
Methodforward
(self, *inputs, **kwargs)
utils/pl_utils.py:229
Functiongenerator_loss
(disc_outputs)
modules/hifigan/hifigan.py:359
← previousnext →501–600 of 694, ranked by callers