MCPcopy Create free account

hub / github.com/AIGC-Audio/AudioGPT / functions

Functions2,752 in github.com/AIGC-Audio/AudioGPT

Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/bigvgan/models.py:120
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/bigvgan/models.py:181
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/bigvgan/models.py:231
Methodforward
(self, y, y_hat)
text_to_audio/Make_An_Audio/vocoder/bigvgan/models.py:261
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/bigvgan/models.py:304
Methodforward
(self, y, y_hat)
text_to_audio/Make_An_Audio/vocoder/bigvgan/models.py:341
Methodforward
Forward pass of the function. Applies the function to the input elementwise. Snake ∶= x + 1/a * sin^2 (xa)
text_to_audio/Make_An_Audio/vocoder/bigvgan/activations.py:48
Methodforward
Forward pass of the function. Applies the function to the input elementwise. SnakeBeta ∶= x + 1/b * sin^2 (xa)
text_to_audio/Make_An_Audio/vocoder/bigvgan/activations.py:107
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/bigvgan/alias_free_torch/resample.py:25
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/bigvgan/alias_free_torch/resample.py:46
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/bigvgan/alias_free_torch/filter.py:86
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/bigvgan/alias_free_torch/act.py:23
Methodforward_model
(self, inp)
NeuralSeq/inference/svs/ds_e2e.py:32
Methodforward_model
(self, inp)
NeuralSeq/inference/svs/ds_cascade.py:22
Methodforward_model
(self, inp)
NeuralSeq/inference/tts/PortaSpeech.py:20
Methodforward_model
(self, inp)
NeuralSeq/inference/tts/GenerSpeech.py:104
Methodfreeze_patch_emb
(self)
audio_detection/audio_infer/pytorch/models.py:891
Functiongen_kernel
# modified version of https://github.com/assafshocher/BlindSR_dataset_generator # Kai Zhang # min_var = 0.175 * sf # variance of the gau
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan_light.py:145
Functiongen_kernel
# modified version of https://github.com/assafshocher/BlindSR_dataset_generator # Kai Zhang # min_var = 0.175 * sf # variance of the gau
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:145
Functiongenerator_loss
(disc_outputs)
NeuralSeq/modules/hifigan/hifigan.py:359
Functiongenerator_loss
(disc_outputs)
text_to_audio/Make_An_Audio/vocoder/hifigan/modules.py:285
Functiongenerator_loss
(disc_outputs)
text_to_audio/Make_An_Audio/vocoder/bigvgan/models.py:381
Functionget_acc
(pred, target)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/loss.py:251
Methodget_align
(tg_fn, ph, mel, phone_encoded, res)
NeuralSeq/data_gen/tts/binarizer_zh.py:14
Methodget_audio_embedding
Get the audio embedding from the model Parameters ---------- data: a list of dict the audio input dict list from
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:740
Methodget_audio_embeddings_per_batch
r"""Load preprocessed audio and return a audio embeddings per batch
text_to_audio/Make_An_Audio/wav_evaluation/models/CLAPWrapper.py:246
Methodget_audio_embeddings_per_batch
r"""Load preprocessed audio and return a audio embeddings per batch
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/CLAPWrapper.py:227
Methodget_classifier
(self)
audio_detection/audio_infer/pytorch/models.py:898
Functionget_data_from_log
Output dictionary from out.txt log file
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/utils.py:245
Methodget_full_graph_edges
(nodes)
NeuralSeq/modules/syntaspeech/syntactic_graph_buider.py:115
Methodget_input
(self, batch, k, cond_key=None, bs=None, return_first_stage_outputs=False)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio.py:1230
Methodget_last_layer
(self)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:364
Functionget_lf0_cwt_norm
(f0s, mean, std)
NeuralSeq/utils/cwt.py:89
Methodget_logit_scale
(self)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:697
Methodget_lr
(self)
audio_to_text/captioning/utils/lr_scheduler.py:44
Methodget_lr
(self)
audio_to_text/captioning/utils/lr_scheduler.py:68
Methodget_lr
(self)
audio_to_text/captioning/utils/lr_scheduler.py:97
Functionget_map
(pred, target)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/loss.py:246
Functionget_mask_from_lengths
(lengths)
NeuralSeq/utils/tts_utils.py:350
Functionget_mauc
(pred, target)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/loss.py:256
Functionget_mix_lambda
(mixup_alpha, batch_size)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/utils.py:169
Methodget_model_output
(x, t)
text_to_audio/Make_An_Audio/ldm/models/diffusion/plms.py:178
Functionget_optimizer
(params, lr, betas, eps, momentum, optimizer_name)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/utils.py:354
Methodget_path
Get hdf5 file path for a given key.
NeuralSeq/modules/parallel_wavegan/utils/utils.py:147
Methodget_plot_dur_info
(self, sample, model_out)
NeuralSeq/tasks/tts/ps.py:127
Functionget_tar_path_from_dataset_name
Get tar path from dataset name and type
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/utils.py:93
Functionget_tar_path_from_txts
Get tar path from txt path
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/utils.py:134
Methodget_text_embedding
Get the text embedding from the model Parameters ---------- data: torch.Tensor a tensor of text embedding
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:718
Methodget_text_embeddings_per_batch
r"""Load preprocessed text and return text embeddings per batch
text_to_audio/Make_An_Audio/wav_evaluation/models/CLAPWrapper.py:250
Methodget_text_embeddings_per_batch
r"""Load preprocessed text and return text embeddings per batch
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/CLAPWrapper.py:231
Methodget_textual_embedding
(self, data)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:700
Methodget_tokenizer
(self)
sound_extraction/model/LASSNet.py:24
Methodget_x_pred
(x, noise_t, t)
NeuralSeq/modules/diff/shallow_diffusion_tts.py:174
Methodget_x_prev_and_pred_x0
(e_t, index)
text_to_audio/Make_An_Audio/ldm/models/diffusion/plms.py:199
Functiongetfile_outlogger
(outputfile)
audio_detection/target_sound_detection/src/utils.py:108
Functiongroup_by_key_prefix
(prefix, d)
text_to_audio/Make_An_Audio/ldm/modules/x_transformer.py:106
Methodgumbel_softmax_sample
(logit, temperature)
audio_to_text/captioning/models/base_model.py:219
Functionimresize
(img, scale, antialiasing=True)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:766
Functionimresize_np
(img, scale, antialiasing=True)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:839
Functionimsave
(img, img_path)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:203
Functionimshow
(x, title=None, cbar=False, figsize=None)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:37
Functionimwrite
(img, img_path)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:209
Methodinference
(self, image_path)
audio-chatgpt.py:134
Methodinference
(self, text, seed = 55, scale = 1.5, ddim_steps = 100, n_samples = 3, W = 624, H = 80)
audio-chatgpt.py:201
Methodinference
(self, image, seed = 55, scale = 3, ddim_steps = 100, W = 624, H = 80)
audio-chatgpt.py:262
Methodinference
(self, text)
audio-chatgpt.py:290
Methodinference
(self, inputs)
audio-chatgpt.py:319
Methodinference
(self, inputs)
audio-chatgpt.py:368
Methodinference
(self, inputs)
audio-chatgpt.py:405
Methodinference
(self, input_audio, mel_and_mask, seed = 55, ddim_steps = 100)
audio-chatgpt.py:529
Methodinference
(self, audio_path)
audio-chatgpt.py:566
Methodinference
(self, audio_path)
audio-chatgpt.py:584
Methodinference
(self, audio_path)
audio-chatgpt.py:599
Methodinference
(self, audio_path)
audio-chatgpt.py:634
Methodinference
(self, inputs)
audio-chatgpt.py:689
Methodinference
(self, audio_path)
audio-chatgpt.py:729
Methodinference
(self, text, audio_path)
audio-chatgpt.py:833
Methodinference
(self, speech_path, ref_channel=0)
audio-chatgpt.py:989
Methodinference
(self, speech_path)
audio-chatgpt.py:1036
Functioninit
(m, method="kaiming")
audio_to_text/captioning/models/utils.py:79
Methodinit
(self, m)
audio_to_text/captioning/models/decoder.py:160
Functioninit_
(tensor)
text_to_audio/Make_An_Audio/ldm/modules/attention.py:29
Functioninit_gru
Initialize a GRU layer.
sound_extraction/model/modules.py:444
Functioninit_logger
(filename, level="INFO")
audio_to_text/captioning/utils/train_util.py:21
Functioninit_obj
(module, config, **kwargs)
audio_to_text/captioning/utils/train_util.py:37
Methodinit_tools
(self, interaction_type)
audio-chatgpt.py:1075
Functioninit_weights
(m, mean=0.0, std=0.01)
NeuralSeq/modules/hifigan/hifigan.py:14
Functioninit_weights
(m)
audio_detection/target_sound_detection/src/models.py:124
Functioninit_weights
(m, mean=0.0, std=0.01)
text_to_audio/Make_An_Audio/vocoder/hifigan/modules.py:16
Functioninit_weights
(m, mean=0.0, std=0.01)
text_to_audio/Make_An_Audio/vocoder/bigvgan/models.py:21
Methodinit_weights
(self)
sound_extraction/model/modules.py:90
Methodinit_weights
(self)
sound_extraction/model/modules.py:148
Methodinit_weights
(self)
sound_extraction/model/modules.py:198
Methodinit_weights
(self)
sound_extraction/model/modules.py:251
Methodinit_weights
(self)
sound_extraction/model/modules.py:306
Functioninit_weights_func
(m)
NeuralSeq/modules/GenerSpeech/model/prosody_util.py:225
Functioninit_weights_func
(m)
NeuralSeq/modules/commons/conv.py:19
Functioninner
(module)
audio_to_text/captioning/utils/train_util.py:123
Functioninner
(*args, **kwargs)
text_to_audio/Make_An_Audio/ldm/modules/x_transformer.py:65
Methodinpainting
(self, state, audio_filename, image_filename)
audio-chatgpt.py:1351
← previousnext →2,301–2,400 of 2,752, ranked by callers