Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MYZY-AI/Muyan-TTS
/ functions
Functions
387 in github.com/MYZY-AI/Muyan-TTS
⨍
Functions
387
◇
Types & classes
72
↳
Endpoints
1
Method
__init__
( self, in_channels, out_channels, kernel_size, stride=1, padd
sovits/module/attentions.py:489
Method
__init__
( self, hidden_channels, filter_channels, n_heads, n_layers=1,
sovits/module/attentions.py:559
Method
__init__
( self, channels, hidden_channels, kernel_size, n_layers, n_he
sovits/module/attentions.py:649
Method
__init__
( self, content_enc_channels=192, hidden_size=512, out_channels=192, k
sovits/module/mrte_model.py:10
Method
__init__
( self, mel_n_channels=80, model_num_layers=2, model_hidden_size=256,
sovits/module/mrte_model.py:65
Method
__init__
( self, in_channels, out_channels, hidden_channels, kernel_size,
sovits/module/mrte_model.py:87
Method
__init__
(self, channels, eps=1e-5)
sovits/module/modules.py:20
Method
__init__
( self, in_channels, hidden_channels, out_channels, kernel_size,
sovits/module/modules.py:35
Method
__init__
(self, channels, kernel_size, n_layers, p_dropout=0.0)
sovits/module/modules.py:91
Method
__init__
(self, channels, kernel_size=3, dilation=(1, 3, 5))
sovits/module/modules.py:224
Method
__init__
(self, channels, kernel_size=3, dilation=(1, 3))
sovits/module/modules.py:321
Method
__init__
(self, channels)
sovits/module/modules.py:387
Method
__init__
( self, channels, hidden_channels, kernel_size, dilation_rate,
sovits/module/modules.py:405
Method
__init__
( self, in_channels, filter_channels, kernel_size, n_layers, n
sovits/module/modules.py:462
Method
__init__
( self, in_channels, out_channels, bias=True, spectral_norm=False,
sovits/module/modules.py:522
Method
__init__
(self)
sovits/module/modules.py:541
Method
__init__
(self, in_channels, out_channels, kernel_size, dropout)
sovits/module/modules.py:554
Method
__init__
( self, in_channels, out_channels, kernel_size=1, stride=1, pa
sovits/module/modules.py:570
Method
__init__
(self, n_head, d_model, d_k, d_v, dropout=0.0, spectral_norm=False)
sovits/module/modules.py:608
Method
__init__
(self, temperature, dropout)
sovits/module/modules.py:665
Method
__init__
( self, n_mel_channels=80, style_hidden=128, style_vector_dim=256, sty
sovits/module/modules.py:688
Method
__init__
(self, spec_channels, z_latent_dim, emb_dim)
sovits/module/modules.py:767
Method
__init__
(self, channels, ddi=False, **kwargs)
sovits/module/modules.py:818
Method
__init__
(self, channels, n_split=4, no_jacobian=False, **kwargs)
sovits/module/modules.py:869
Method
__init__
( self, dimension: int = 256, n_q: int = 8, bins: int = 1024, decay: f
sovits/module/quantize.py:42
Method
__init__
( self, dim: int, codebook_size: int, codebook_dim: tp.Optional[int] = None,
sovits/module/core_vq.py:251
Method
__init__
(self, *, num_quantizers, **kwargs)
sovits/module/core_vq.py:331
Method
__init__
(self)
sovits/text/english.py:256
Method
__init__
(self)
sovits/text/tone_sandhi.py:23
Method
__init__
(self)
sovits/text/zh_normalization/text_normlization.py:60
Method
__init__
(self, model_dir='G2PWModel/', model_source=None, enable_non_tradional_chinese=True,
sovits/text/g2pw/g2pw.py:20
Method
__init__
(self, g2pw_instance, v_to_u=False, neutral_tone_with_five=False, tone_sandh
sovits/text/g2pw/g2pw.py:40
Method
__init__
(self, model_dir: str='sovits/models/G2PWModel/', style: str='bopomofo',
sovits/text/g2pw/onnx_api.py:78
Method
__init__
(self, stop_token_ids_list: list[list[int]])
inference/inference_llama.py:16
Method
__init__
(self, model_path, model_type)
inference/inference_llama.py:63
Method
__init__
(self, model_path, model_type)
inference/inference_llama.py:137
Method
__init__
(self, model_type, model_path, ref_wav_path="assets/Claire.wav", prompt_te
inference/inference.py:12
Method
__init__
(self)
data_process/audio_process.py:5
Method
__len__
(self)
sovits/utils.py:396
Method
__new__
(cls, *args, **kwargs)
sovits/process.py:62
Method
__repr__
(self)
sovits/utils.py:408
Method
__setattr__
(self, key, value)
sovits/process.py:46
Method
_causal_padding
(self, x)
sovits/module/attentions.py:416
Method
_convert_bopomofo_to_pinyin
(self, bopomofo: str)
sovits/text/g2pw/onnx_api.py:165
Method
_process_english
(words, data)
sovits/LangSegment.py:77
Method
_process_number
(words, data)
sovits/LangSegment.py:82
Method
_same_padding
(self, x)
sovits/module/attentions.py:425
Function
add_timing_signal_1d
(x, min_timescale=1.0, max_timescale=1.0e4)
sovits/module/commons.py:83
Function
audio_hubert_embedding
(input_dir="data", output_dir="data", cnhubert_base_path="pretrained_models/chinese-hubert-base")
data_process/audio_hubert_embedding.py:24
Function
audio_tokenizer
(input_dir = "data", output_dir = "data", s2config_path = "sovits/configs/s2
data_process/audio_tokenizer.py:19
Method
cal_tts
(self, batch_prompts, temperature, repetition_penalty)
inference/inference_llama.py:126
Function
cat_timing_signal_1d
(x, min_timescale=1.0, max_timescale=1.0e4, axis=1)
sovits/module/commons.py:89
Function
clean_text_inf
(text, language, version)
sovits/utils.py:144
Function
clip_grad_value_
(parameters, clip_value, norm_type=2)
sovits/module/commons.py:146
Method
codebook
(self)
sovits/module/core_vq.py:289
Function
correct_pronunciation
(word,word_pinyins)
sovits/text/g2pw/g2pw.py:147
Function
count_audio_tokens
(strings)
sovits/utils.py:377
Method
decode
Decode the given codes to the quantized representation. Args: codes (torch.Tensor): Input indices for each quantizer.
sovits/module/quantize.py:112
Method
decode
(self, embed_ind)
sovits/module/core_vq.py:298
Method
decode
(self, q_indices: torch.Tensor, st: int = 0)
sovits/module/core_vq.py:377
Method
decode_latent
(self, codes, y_mask, refer, refer_mask, ge)
sovits/models.py:269
Function
download_and_decompress
(model_dir: str='G2PWModel/')
sovits/text/g2pw/onnx_api.py:54
Method
embed
(self, x)
sovits/models.py:737
Method
encode
Encode a given input tensor with the specified sample rate at the given bandwidth. The RVQ encode method sets the appropriate number of quanti
sovits/module/quantize.py:96
Method
encode
(self, x)
sovits/module/core_vq.py:292
Method
encode
( self, x: torch.Tensor, n_q: tp.Optional[int] = None, st: tp.Optional[int] = None )
sovits/module/core_vq.py:362
Method
extract_latent
(self, x)
sovits/models.py:1024
Method
forward
(self, x)
sovits/cnhubert.py:35
Method
forward
(self, x, x_mask, w=None, g=None, reverse=False, noise_scale=1.0)
sovits/models.py:76
Method
forward
(self, x, x_mask, g=None)
sovits/models.py:164
Method
forward
(self, y, y_lengths, text, text_lengths, ge, speed=1,test=None)
sovits/models.py:239
Method
forward
(self, x, x_mask, g=None, reverse=False)
sovits/models.py:319
Method
forward
(self, x, x_lengths, g=None)
sovits/models.py:359
Method
forward
(self, x, x_lengths, g=None)
sovits/models.py:404
Method
forward
(self, x, g=None)
sovits/models.py:463
Method
forward
(self, x)
sovits/models.py:549
Method
forward
(self, x)
sovits/models.py:587
Method
forward
(self, y, y_hat)
sovits/models.py:612
Method
forward
(self, inputs)
sovits/models.py:662
Method
forward
(self, x)
sovits/models.py:692
Method
forward
(self, xin)
sovits/models.py:716
Method
forward
(self, x, x_mask, refer, codes, infer=False)
sovits/models.py:783
Method
forward
(self, ssl, y, y_lengths, text, text_lengths)
sovits/models.py:913
Method
forward
(self, x, x_mask, g=None)
sovits/module/attentions.py:66
Method
forward
x: decoder input h: encoder output
sovits/module/attentions.py:151
Method
forward
(self, x, c, attn_mask=None)
sovits/module/attentions.py:231
Method
forward
(self, x, x_mask)
sovits/module/attentions.py:406
Method
forward
(self, input)
sovits/module/attentions.py:476
Method
forward
(self, input)
sovits/module/attentions.py:527
Method
forward
x: decoder input h: encoder output
sovits/module/attentions.py:617
Method
forward
(self, x, x_mask, g=None, reverse=False)
sovits/module/attentions.py:690
Method
forward
(self, ssl_enc, ssl_mask, text, text_mask, ge, test=None)
sovits/module/mrte_model.py:25
Method
forward
(self, mels)
sovits/module/mrte_model.py:79
Method
forward
(self, x)
sovits/module/mrte_model.py:108
Method
forward
(self, x)
sovits/module/mrte_model.py:151
Method
forward
(self, x)
sovits/module/modules.py:28
Method
forward
(self, x, x_mask)
sovits/module/modules.py:76
Method
forward
(self, x, x_mask, g=None)
sovits/module/modules.py:120
Method
forward
(self, x, x_mask, g=None, **kwargs)
sovits/module/modules.py:187
Method
forward
(self, x, x_mask=None)
sovits/module/modules.py:298
← previous
next →
201–300 of 387, ranked by callers