MCPcopy Index your code

hub / github.com/RVC-Boss/GPT-SoVITS / functions

Functions1,532 in github.com/RVC-Boss/GPT-SoVITS

↓ 452 callersMethodto
(self, *arg, **kwargs)
tools/audio_sr.py:36
↓ 80 callersFunctionprocess_info
(process_name="", indicator="")
webui.py:248
↓ 52 callersMethodkeys
(self)
GPT_SoVITS/utils.py:331
↓ 29 callersMethodstft
(self, x)
tools/uvr5/mdxnet.py:35
↓ 24 callersMethoditems
(self)
GPT_SoVITS/utils.py:334
↓ 22 callersMethodresample
(self, ref_audio: torch.Tensor, src_sr: int, dst_sr: int)
GPT_SoVITS/export_torch_script.py:572
↓ 20 callersMethodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
GPT_SoVITS/AR/modules/optim.py:197
↓ 18 callersMethod__init__
(self, in_channels, dit)
GPT_SoVITS/module/models.py:1000
↓ 18 callersMethod__init__
( self, hidden_channels, kernel_size, dilation_rate, n_layers,
GPT_SoVITS/module/modules.py:132
↓ 18 callersFunctionget_padding
(kernel_size, dilation=1)
GPT_SoVITS/module/commons.py:12
↓ 17 callersMethod__init__
(self, in_channels, dit)
GPT_SoVITS/module/models_onnx.py:899
↓ 16 callersMethoddecode
(self, codes, text, refer,noise_scale=0.5, speed=1, sv_emb=None)
GPT_SoVITS/module/models.py:955
↓ 15 callersFunctioncleaned_text_to_sequence
Converts a string of text to a sequence of IDs corresponding to the symbols in the text. Args: text: string to convert to a sequence Ret
GPT_SoVITS/text/__init__.py:14
↓ 13 callersMethodrun
Text to speech inference. Args: inputs (dict): { "text": "", # str
GPT_SoVITS/TTS_infer_pack/TTS.py:970
↓ 12 callersFunctionget_phones_and_bert
(text, language, version, final=False)
GPT_SoVITS/inference_webui.py:588
↓ 12 callersMethodistft
(self, x, freq_pad=None)
tools/uvr5/mdxnet.py:50
↓ 12 callersFunctionkill_process
(pid, process_name="")
webui.py:238
↓ 11 callersMethod__init__
(self, dim)
GPT_SoVITS/f5_tts/model/modules.py:226
↓ 11 callersMethodextract_latent
(self, x)
GPT_SoVITS/module/models.py:233
↓ 11 callersMethodgetTexts
(text)
GPT_SoVITS/text/LangSegmenter/langsegmenter.py:91
↓ 11 callersFunctionload_audio
(file, sr)
tools/my_utils.py:16
↓ 11 callersMethodnormalize
(self, text: str)
GPT_SoVITS/text/zh_normalization/text_normlization.py:169
↓ 11 callersFunctionnum2str
(value_string: str)
GPT_SoVITS/text/zh_normalization/num.py:299
↓ 11 callersFunctionspectrogram_torch
(y, n_fft, sampling_rate, hop_size, win_size, center=False)
GPT_SoVITS/module/mel_processing.py:40
↓ 10 callersMethod__init__
(self, vq_model: SynthesizerTrnV3, cfm: CFM, hps)
GPT_SoVITS/export_torch_script_v3v4.py:541
↓ 10 callersFunctioncheck_for_existance
(file_list: list = None, is_train=False, is_dataset_processing=False)
tools/my_utils.py:49
↓ 10 callersFunctionclean_text
(text, language, version=None)
GPT_SoVITS/text/cleaner.py:21
↓ 10 callersMethodempty_cache
(self)
GPT_SoVITS/TTS_infer_pack/TTS.py:1341
↓ 10 callersFunctionfix_gpu_number
(input)
webui.py:149
↓ 9 callersFunctionclean_path
(path_str: str)
tools/my_utils.py:40
↓ 9 callersFunctionmel_spectrogram_torch
(y, n_fft, num_mels, sampling_rate, hop_size, win_size, fmin, fmax, center=False)
GPT_SoVITS/module/mel_processing.py:93
↓ 8 callersMethod__init__
( self, h: AttrDict, period: List[int], kernel_size: int = 5, stride:
GPT_SoVITS/BigVGAN/discriminators.py:22
↓ 8 callersFunctionb_save_file
()
tools/subfix_webui.py:261
↓ 8 callersMethoddecode_encp
(self, codes, text, refer, ge=None, speed=1)
GPT_SoVITS/module/models.py:1220
↓ 8 callersFunctionmerge_lang
(lang_list, item)
GPT_SoVITS/text/LangSegmenter/langsegmenter.py:69
↓ 8 callersFunctionnormalize
!!! 所有的处理都需要正确的输入 !!! 可以添加新的处理,只需要添加正则表达式和对应的处理函数即可
GPT_SoVITS/text/en_normalization/expend.py:241
↓ 7 callersMethod__init__
( self, dim: int, layer_scale_init_value=None, adanorm_num_embeddings=None,
tools/AP_BWE_main/models/model.py:36
↓ 7 callersMethod__init__
(self, dim)
tools/uvr5/bs_roformer/bs_roformer.py:47
↓ 7 callersMethod__init__
(self, dim)
tools/uvr5/bs_roformer/mel_band_roformer.py:56
↓ 7 callersMethod__init__
(self, w1, b1, w2, b2)
GPT_SoVITS/export_torch_script.py:166
↓ 7 callersMethod__init__
( self, in_channels, out_channels, filter_channels, kernel_size,
GPT_SoVITS/module/attentions.py:338
↓ 7 callersMethod__setitem__
(self, key, value)
GPT_SoVITS/utils.py:346
↓ 7 callersMethod_all_tone_three
(self, finals: List[str])
GPT_SoVITS/text/tone_sandhi.py:626
↓ 7 callersFunctionget_padding
(kernel_size, dilation=1)
GPT_SoVITS/BigVGAN/utils0.py:57
↓ 7 callersFunctionload_sovits_new
(sovits_path)
GPT_SoVITS/process_ckpt.py:127
↓ 7 callersFunctionmel_spectrogram
Calculate the mel spectrogram of an input signal. This function uses slaney norm for the librosa mel filterbank (using librosa.filters.mel) a
GPT_SoVITS/BigVGAN/meldataset.py:51
↓ 6 callersFunction_numeric_feature_by_regex
(regex, s)
GPT_SoVITS/text/japanese.py:260
↓ 6 callersFunctioncheck_details
(path_list=None, is_train=False, is_dataset_processing=False)
tools/my_utils.py:90
↓ 6 callersFunctionget_padding
(kernel_size, dilation=1)
tools/AP_BWE_main/models/model.py:8
↓ 6 callersFunctionscan_language_list
()
tools/i18n/i18n.py:14
↓ 6 callersMethodto_mask
(self, x: torch.Tensor, padding_mask: Optional[torch.Tensor])
GPT_SoVITS/export_torch_script.py:213
↓ 6 callersFunctionverbalize_digit
(value_string: str, alt_one=False)
GPT_SoVITS/text/zh_normalization/num.py:291
↓ 5 callersMethod__init__
(self, t2s_path, vits_model)
GPT_SoVITS/onnx_export.py:87
↓ 5 callersFunctioncmb_spectrogram_to_wave
(spec_m, mp, extra_bins_h=None, extra_bins=None)
tools/uvr5/lib/lib_v5/spec_utils.py:327
↓ 5 callersMethodembedding
(self, index: int)
GPT_SoVITS/AR/modules/embedding.py:27
↓ 5 callersMethodget_2d_padding
( self, kernel_size: typing.Tuple[int, int], dilation: typing.Tuple[int, int] = (1, 1)
GPT_SoVITS/BigVGAN/discriminators.py:488
↓ 5 callersFunctionget_sovits_version_from_path_fast
(sovits_path)
GPT_SoVITS/process_ckpt.py:98
↓ 5 callersFunctionhtml_center
(text, label="p")
GPT_SoVITS/inference_webui.py:1106
↓ 5 callersMethodinfer_panel
( self, x: torch.LongTensor, #####全部文本token x_lens: torch.LongTensor, prompts
GPT_SoVITS/AR/models/t2s_model.py:920
↓ 5 callersMethodremove_weight_norm
(self)
GPT_SoVITS/module/modules.py:208
↓ 5 callersMethodremove_weight_norm
(self)
GPT_SoVITS/BigVGAN/bigvgan.py:357
↓ 5 callersMethodsave_configs
(self, configs_path: str = None)
GPT_SoVITS/TTS_infer_pack/TTS.py:363
↓ 5 callersMethodset_device
To set the device for all models. Args: device: torch.device, the device to use for all models.
GPT_SoVITS/TTS_infer_pack/TTS.py:704
↓ 5 callersFunctionspec_to_mel_torch
(spec, n_fft, num_mels, sampling_rate, fmin, fmax)
GPT_SoVITS/module/mel_processing.py:77
↓ 5 callersMethodto_mask
( self, x: torch.Tensor, padding_mask: Optional[torch.Tensor], )
GPT_SoVITS/AR/models/t2s_model.py:122
↓ 5 callersFunctionverbalize_cardinal
(value_string: str)
GPT_SoVITS/text/zh_normalization/num.py:275
↓ 4 callersMethod__init__
(self, nin, nout, ksize=3, stride=1, pad=1, activ=nn.LeakyReLU)
tools/uvr5/lib/lib_v5/layers_33966KB.py:53
↓ 4 callersMethod__init__
(self, nin, nout, ksize=3, stride=1, pad=1, activ=nn.LeakyReLU)
tools/uvr5/lib/lib_v5/layers.py:53
↓ 4 callersMethod__init__
(self, nin, nout, ksize=3, stride=1, pad=1, activ=nn.LeakyReLU)
tools/uvr5/lib/lib_v5/layers_537227KB.py:53
↓ 4 callersMethod__init__
(self, nin, nout, ksize=3, stride=1, pad=1, activ=nn.LeakyReLU)
tools/uvr5/lib/lib_v5/layers_123812KB.py:53
↓ 4 callersMethod__init__
(self, nin, nout, ksize=3, stride=1, pad=1, activ=nn.LeakyReLU)
tools/uvr5/lib/lib_v5/layers_123821KB.py:53
↓ 4 callersMethod__init__
(self, nin, nout, ksize=3, stride=1, pad=1, activ=nn.LeakyReLU)
tools/uvr5/lib/lib_v5/layers_new.py:30
↓ 4 callersMethod__init__
(self, nin, nout, ksize=3, stride=1, pad=1, activ=nn.LeakyReLU)
tools/uvr5/lib/lib_v5/layers_537238KB.py:53
↓ 4 callersMethod__init__
( self, normalized_shape: _shape_t, eps: float = 1e-5, elementwise_affine: boo
GPT_SoVITS/AR/modules/transformer_onnx.py:28
↓ 4 callersMethod__init__
( self, normalized_shape: _shape_t, eps: float = 1e-5, elementwise_affine: boo
GPT_SoVITS/AR/modules/transformer.py:28
↓ 4 callersMethod__init__
( self, in_channels, out_channels, filter_channels, kernel_size,
GPT_SoVITS/module/attentions_onnx.py:301
↓ 4 callersFunction_g2p
(segments)
GPT_SoVITS/text/chinese.py:94
↓ 4 callersMethod_make_layer
(self, block, planes, num_blocks, stride)
GPT_SoVITS/eres2net/ERes2NetV2.py:227
↓ 4 callersMethod_make_layer
(self, block, planes, num_blocks, stride)
GPT_SoVITS/eres2net/ERes2Net.py:200
↓ 4 callersMethod_make_layer
(self, block, planes, num_blocks, stride)
GPT_SoVITS/eres2net/ERes2Net_huge.py:198
↓ 4 callersFunction_time_num2str
A special case for verbalizing number in time.
GPT_SoVITS/text/zh_normalization/chronology.py:22
↓ 4 callersMethodbackward
(ctx, y_grad: Tensor)
GPT_SoVITS/AR/modules/scaling.py:73
↓ 4 callersFunctiondenorm_spec
(x)
GPT_SoVITS/export_torch_script_v3v4.py:217
↓ 4 callersMethodencode
(self, x)
GPT_SoVITS/module/core_vq.py:185
↓ 4 callersFunctionget_bert_feature
(text, word2ph)
batch_inference.py:104
↓ 4 callersFunctionget_sovits_weights
(sovits_path)
GPT_SoVITS/export_torch_script_v3v4.py:580
↓ 4 callersFunctionget_spepc
(hps, filename, dtype, device, is_v2pro=False)
GPT_SoVITS/inference_webui.py:504
↓ 4 callersFunctionget_weights_names
()
config.py:86
↓ 4 callersMethodinference
Forward diffusion
GPT_SoVITS/module/models.py:1013
↓ 4 callersMethodinit_vits_weights
(self, weights_path: str)
GPT_SoVITS/TTS_infer_pack/TTS.py:479
↓ 4 callersFunctionmake_pad_mask
Args: lengths: A 1-D tensor containing sentence lengths. max_len: The length of masks. Returns: Return a 2-
GPT_SoVITS/AR/models/utils.py:16
↓ 4 callersFunctionnorm_spec
(x)
GPT_SoVITS/inference_webui.py:660
↓ 4 callersMethodpadding
(self, x)
GPT_SoVITS/module/attentions_onnx.py:340
↓ 4 callersFunctionresample
(audio_tensor, sr0, sr1, device)
GPT_SoVITS/inference_webui.py:496
↓ 4 callersFunctionresample
(audio_tensor, sr0,sr1,device)
GPT_SoVITS/TTS_infer_pack/TTS.py:40
↓ 4 callersMethodsave_audio
(self, path, data, sr, format)
tools/uvr5/bsroformer.py:248
↓ 4 callersFunctionscaled_dot_product_attention
( query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, attn_mask: Optional[torch.Tenso
GPT_SoVITS/AR/models/t2s_model.py:39
↓ 4 callersMethodset_epoch
r""" Sets the epoch for this sampler. When :attr:`shuffle=True`, this ensures all replicas use a different random ordering for each ep
GPT_SoVITS/AR/data/bucket_sampler.py:140
↓ 4 callersFunctionspectrogram_to_wave
(spec, hop_length, mid_side, mid_side_b2, reverse)
tools/uvr5/lib/lib_v5/spec_utils.py:275
↓ 4 callersMethodtransform
(self, phonemes)
GPT_SoVITS/AR/text_processing/phonemizer.py:58
next →1–100 of 1,532, ranked by callers