MCPcopy Create free account

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

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

↓ 4 callersMethodinit_t2s_weights
(self, weights_path: str)
GPT_SoVITS/TTS_infer_pack/TTS.py:594
↓ 4 callersMethodinit_vits_weights
(self, weights_path: str)
GPT_SoVITS/TTS_infer_pack/TTS.py:493
↓ 4 callersFunctionmake_pad_mask_left
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:44
↓ 4 callersFunctionnorm_spec
(x)
GPT_SoVITS/inference_webui.py:715
↓ 4 callersMethodpadding
(self, x)
GPT_SoVITS/module/attentions_onnx.py:340
↓ 4 callersFunctionresample
(audio_tensor, sr0, sr1, device)
GPT_SoVITS/inference_webui.py:548
↓ 4 callersFunctionresample
(audio_tensor, sr0, sr1, device)
GPT_SoVITS/TTS_infer_pack/TTS.py:42
↓ 4 callersFunctionsample
( logits, previous_tokens, temperature: float = 1.0, top_k: Optional[int] = None, top_p: O
GPT_SoVITS/export_torch_script.py:114
↓ 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
↓ 4 callersFunctionvalidate
(rank, a, h, loader, mode="seen")
GPT_SoVITS/BigVGAN/train.py:265
↓ 4 callersMethodvalues
(self)
GPT_SoVITS/utils.py:337
↓ 4 callersMethodweight_norm
(self)
GPT_SoVITS/module/attentions.py:439
↓ 4 callersFunctionworld_size
()
GPT_SoVITS/module/distrib.py:21
↓ 3 callersMethod__init__
(self, ar_text_embedding, bert_proj, ar_text_position)
GPT_SoVITS/AR/models/t2s_model_onnx.py:96
↓ 3 callersMethod__init__
(self, hidden_channels, kernel_size, dilation_rate, n_layers)
GPT_SoVITS/module/mrte_model.py:98
↓ 3 callersMethod__init__
(self, inplace=False)
GPT_SoVITS/eres2net/ERes2NetV2.py:20
↓ 3 callersMethod__init__
(self, inplace=False)
GPT_SoVITS/eres2net/ERes2Net.py:20
↓ 3 callersMethod__init__
(self, inplace=False)
GPT_SoVITS/eres2net/ERes2Net_huge.py:21
↓ 3 callersMethod__init__
(self, **kwargs)
GPT_SoVITS/eres2net/pooling_layers.py:15
↓ 3 callersMethod__str__
(self)
GPT_SoVITS/TTS_infer_pack/TTS.py:403
↓ 3 callersMethod_apply_slice
(self, waveform, begin, end)
tools/slicer2.py:60
↓ 3 callersFunction_get_epsilon
(device, dtype)
GPT_SoVITS/eres2net/kaldi.py:35
↓ 3 callersFunction_pad_sequences
(sequences, pad_value=0)
GPT_SoVITS/text/g2pw/dataset.py:146
↓ 3 callersFunction_subtract_column_mean
(tensor: Tensor, subtract_mean: bool)
GPT_SoVITS/eres2net/kaldi.py:220
↓ 3 callersFunctionanti_wrapping_function
(x)
tools/AP_BWE_main/models/model.py:445
↓ 3 callersFunctionchange_gpt_sovits_weights
(gpt_path, sovits_path)
api.py:494
↓ 3 callersFunctionchange_gpt_weights
(gpt_path)
GPT_SoVITS/inference_webui.py:413
↓ 3 callersFunctionchange_sovits_weights
(sovits_path, prompt_language=None, text_language=None)
GPT_SoVITS/inference_webui.py:261
↓ 3 callersFunctionclean_bigvgan_model
()
GPT_SoVITS/inference_webui.py:457
↓ 3 callersFunctionclean_hifigan_model
()
GPT_SoVITS/inference_webui.py:446
↓ 3 callersFunctionclean_sv_cn_model
()
GPT_SoVITS/inference_webui.py:468
↓ 3 callersFunctioncombine_spectrograms
(specs, mp)
tools/uvr5/lib/lib_v5/spec_utils.py:85
↓ 3 callersMethodconvert
(self, words, style, heteronym, errors, strict, **kwargs)
GPT_SoVITS/text/g2pw/g2pw.py:66
↓ 3 callersMethodcreate_ge
(self, refer)
GPT_SoVITS/module/models_onnx.py:1065
↓ 3 callersMethoddecode
(self, embed_ind)
GPT_SoVITS/module/core_vq.py:231
↓ 3 callersMethoddecode_next_token
( self, x: torch.Tensor, k_cache: torch.Tensor, v_cache: torch.Tensor,
GPT_SoVITS/AR/models/t2s_model.py:176
↓ 3 callersFunctionexists
(val)
tools/uvr5/bs_roformer/bs_roformer.py:23
↓ 3 callersFunctionexists
(val)
tools/uvr5/bs_roformer/mel_band_roformer.py:26
↓ 3 callersFunctionfft_lp_filter
(spec, bin_start, bin_stop)
tools/uvr5/lib/lib_v5/spec_utils.py:399
↓ 3 callersMethodforward
(self, x)
GPT_SoVITS/AR/models/t2s_model.py:81
↓ 3 callersFunctiong2p
(text)
GPT_SoVITS/text/english.py:363
↓ 3 callersMethodgenerate
(self, request: T2SRequest)
GPT_SoVITS/AR/models/t2s_model_cudagraph.py:578
↓ 3 callersFunctionget_pos_embed_indices
(start, length, max_pos, scale=1.0)
GPT_SoVITS/f5_tts/model/modules.py:210
↓ 3 callersFunctionget_spepc
(hps, filename, dtype, device, is_v2pro=False)
api.py:640
↓ 3 callersFunctioninit_sv_cn
(device, is_half)
GPT_SoVITS/export_torch_script.py:42
↓ 3 callersFunctionlatin_to_hangul
(text)
GPT_SoVITS/text/korean.py:170
↓ 3 callersFunctionload_checkpoint
(filepath, device)
GPT_SoVITS/BigVGAN/utils0.py:61
↓ 3 callersFunctionmake_pair
(mix_dir, inst_dir)
tools/uvr5/lib/lib_v5/dataset.py:31
↓ 3 callersMethodmodified_tone
(self, word: str, pos: str, finals: List[str])
GPT_SoVITS/text/tone_sandhi.py:769
↓ 3 callersFunctionplot_spectrogram
(spectrogram)
GPT_SoVITS/BigVGAN/utils0.py:16
↓ 3 callersFunctionprecompute_freqs_cis
(dim: int, end: int, theta: float = 10000.0, theta_rescale_factor=1.0)
GPT_SoVITS/f5_tts/model/modules.py:196
↓ 3 callersMethodprocess_prompt
(self, x: torch.Tensor, attn_mask: torch.Tensor, padding_mask: Optional[torch.Tensor] = None)
GPT_SoVITS/export_torch_script.py:247
↓ 3 callersMethodprocess_prompt
( self, x: torch.Tensor, attn_mask: torch.Tensor, padding_mask: Optional[torch
GPT_SoVITS/AR/models/t2s_model.py:135
↓ 3 callersMethodremove_weight_norm
(self)
GPT_SoVITS/module/models.py:506
↓ 3 callersFunctionresample
(audio_tensor, sr0, sr1, device)
api.py:293
↓ 3 callersFunctionsample
( logits, previous_tokens, **sampling_kwargs, )
GPT_SoVITS/AR/models/t2s_model_onnx.py:81
↓ 3 callersFunctionsample_vectors
(samples, num: int)
GPT_SoVITS/module/core_vq.py:65
↓ 3 callersFunctionsavee
(ckpt, name, epoch, steps, hps, model_version=None, lora_rank=None)
GPT_SoVITS/process_ckpt.py:41
↓ 3 callersMethodsegment_and_extract_feature_for_text
( self, text: str, language: str, version: str = "v1" )
GPT_SoVITS/TTS_infer_pack/TextPreprocessor.py:117
↓ 3 callersFunctionset_no_grad
(net_g)
GPT_SoVITS/module/models.py:1210
↓ 3 callersFunctionset_no_grad
(net_g)
GPT_SoVITS/module/models_onnx.py:962
↓ 3 callersFunctionslice
(inp, opt_root, threshold, min_length, min_interval, hop_size, max_sil_kept, _max, alpha, i_part, all_part)
tools/slice_audio.py:13
↓ 3 callersFunctionspectrogram_to_image
(spec, mode="magnitude")
tools/uvr5/lib/lib_v5/spec_utils.py:115
↓ 3 callersFunctiontest_export
( todo_text, gpt_sovits_v3_half, cfm, bigvgan, output, )
GPT_SoVITS/export_torch_script_v3v4.py:931
↓ 3 callersFunctiontranditional_to_simplified
(text: str)
GPT_SoVITS/text/zh_normalization/char_convert.py:30
↓ 3 callersMethodupdate_configs
(self)
GPT_SoVITS/TTS_infer_pack/TTS.py:387
↓ 3 callersMethodupdate_ref_audio
(self, file_path)
GPT_SoVITS/inference_gui.py:266
↓ 3 callersFunctionvtln_warp_mel_freq
r""" Args: vtln_low_cutoff (float): Lower frequency cutoffs for VTLN vtln_high_cutoff (float): Upper frequency cutoffs for VTLN
GPT_SoVITS/eres2net/kaldi.py:409
↓ 3 callersFunctionwave_to_spectrogram
(wave, hop_length, n_fft, mid_side=False, mid_side_b2=False, reverse=False)
tools/uvr5/lib/lib_v5/spec_utils.py:30
↓ 2 callersFunctionBalancedDoubleSwish
ActivationBalancer -> DoubleSwish
GPT_SoVITS/AR/modules/scaling.py:312
↓ 2 callersMethod__init__
( self, dim: int, codebook_size: int, kmeans_init: int = False, kmeans
GPT_SoVITS/module/core_vq.py:130
↓ 2 callersMethod__init__
( self, *, dim, depth=8, heads=8, dim_head=64, dropout
GPT_SoVITS/f5_tts/model/backbones/mmdit.py:77
↓ 2 callersMethod__init__
( self, *, dim, depth=8, heads=8, dim_head=64, dropout
GPT_SoVITS/f5_tts/model/backbones/unett.py:97
↓ 2 callersMethod__init__
( self, *, dim, depth=8, heads=8, dim_head=64, dropout
GPT_SoVITS/f5_tts/model/backbones/dit.py:89
↓ 2 callersMethod__init__
(self, h: AttrDict, use_cuda_kernel: bool = False)
GPT_SoVITS/BigVGAN/bigvgan.py:249
↓ 2 callersFunction_execute
(X_mag_pad, roi_size, n_window, device, model, aggressiveness, is_half=True)
tools/uvr5/lib/utils.py:30
↓ 2 callersMethod_ff_block
(self, x: Tensor)
GPT_SoVITS/AR/modules/transformer.py:328
↓ 2 callersFunction_get_log_energy
r"""Returns the log energy of size (m) for a strided_input (m,*)
GPT_SoVITS/eres2net/kaldi.py:116
↓ 2 callersMethod_get_ref_spec
(self, ref_audio_path)
GPT_SoVITS/TTS_infer_pack/TTS.py:772
↓ 2 callersMethod_get_relative_embeddings
(self, relative_embeddings, length)
GPT_SoVITS/module/attentions.py:278
↓ 2 callersMethod_get_relative_embeddings
(self, relative_embeddings, length)
GPT_SoVITS/module/attentions_onnx.py:241
↓ 2 callersFunction_get_waveform_and_window_properties
r"""Gets the waveform and window properties
GPT_SoVITS/eres2net/kaldi.py:125
↓ 2 callersFunction_get_window
r"""Gets a window and its log energy Returns: (Tensor, Tensor): strided_input of size (m, ``padded_window_size``) and signal_log_energy o
GPT_SoVITS/eres2net/kaldi.py:154
↓ 2 callersMethod_is_reduplication
(self, word: str)
GPT_SoVITS/text/tone_sandhi.py:704
↓ 2 callersFunction_load_json_from_candidates
(filename: str, candidate_dirs: List[str])
GPT_SoVITS/text/g2pw/onnx_api.py:56
↓ 2 callersFunction_merge_erhua
Do erhub.
GPT_SoVITS/text/chinese2.py:142
↓ 2 callersMethod_path_audio_
(self, input, others_root, vocal_root, format, is_hp3=False)
tools/uvr5/mdxnet.py:222
↓ 2 callersMethod_sa_block
( self, x: Tensor, attn_mask: Optional[Tensor], key_padding_mask: Optional[Ten
GPT_SoVITS/AR/modules/transformer.py:305
↓ 2 callersMethod_split_word
(self, word: str)
GPT_SoVITS/text/tone_sandhi.py:573
↓ 2 callersFunctionall_reduce
(tensor: torch.Tensor, op=torch.distributed.ReduceOp.SUM)
GPT_SoVITS/module/distrib.py:32
↓ 2 callersMethodattention
(self, query, key, value, mask=None)
GPT_SoVITS/module/attentions.py:227
↓ 2 callersMethodbackward
(ctx, output_grads)
GPT_SoVITS/BigVGAN/alias_free_activation/cuda/activation1d.py:28
↓ 2 callersFunctionbatch_sequences
(sequences: List[np.array], axis: int = 0, pad_value: int = 0)
GPT_SoVITS/AR/data/dataset.py:21
↓ 2 callersFunctionbroadcast_tensors
Broadcast the tensors from the given parameters to all workers. This can be used to ensure that all workers have the same model to start with.
GPT_SoVITS/module/distrib.py:57
↓ 2 callersFunctionchange_choices
()
config.py:116
↓ 2 callersMethodcompute_embedding3
(self, wav)
GPT_SoVITS/prepare_datasets/2-get-sv.py:72
← previousnext →101–200 of 1,613, ranked by callers