MCPcopy Create free account

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

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

↓ 2 callersMethodordered_indices
Return an ordered list of indices. Batches will be constructed based on this order.
NeuralSeq/tasks/base_task.py:60
↓ 2 callersMethodout2dur
(self, xs)
NeuralSeq/modules/fastspeech/tts_modules.py:114
↓ 2 callersFunctionoverride_config
(old_config: dict, new_config: dict)
NeuralSeq/utils/hparams.py:15
↓ 2 callersMethodp_losses
(self, x_start, t, cond, noise=None, nonpadding=None)
NeuralSeq/modules/diff/shallow_diffusion_tts.py:213
↓ 2 callersMethodp_sample
(self, x, t, cond, clip_denoised=True, repeat_noise=False)
NeuralSeq/modules/diff/shallow_diffusion_tts.py:160
↓ 2 callersMethodp_sample
(self, x, c, t, clip_denoised=False, repeat_noise=False, return_codebook_ids=False, quantize_
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio.py:749
↓ 2 callersMethodp_sample
(self, x, c, t, clip_denoised=False, repeat_noise=False, return_codebook_ids=False, quantize_
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm.py:1077
↓ 2 callersMethodp_sample
(self, x, c, t, clip_denoised=False, repeat_noise=False, return_codebook_ids=False, quantize_
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio_inpaint.py:767
↓ 2 callersMethodp_sample_ddim
(self, x, c, t, index, repeat_noise=False, use_original_steps=False, quantize_denoised=False,
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddim.py:169
↓ 2 callersFunctionpack_wrapper
(module, attn_feats, attn_feat_lens)
audio_to_text/captioning/models/utils.py:22
↓ 2 callersFunctionpad_unsort_packed_sequence
(input, inv_ix)
audio_to_text/captioning/models/utils.py:17
↓ 2 callersFunctionparallel_apply
r"""Applies each `module` in :attr:`modules` in parallel on arguments contained in :attr:`inputs` (positional) and :attr:`kwargs_tup` (keyword)
NeuralSeq/utils/pl_utils.py:80
↓ 2 callersFunctionpatch_device
(module)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/openai.py:83
↓ 2 callersFunctionpatch_float
(module)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/openai.py:107
↓ 2 callersMethodprepare_beamsearch_decoder_input
(self, input_dict, output_i)
audio_to_text/captioning/models/transformer_model.py:59
↓ 2 callersMethodprepare_decoder_input
(self, input_dict, output)
audio_to_text/captioning/models/transformer_model.py:34
↓ 2 callersMethodpreprocess_text
(text)
NeuralSeq/data_gen/tts/txt_processors/en.py:48
↓ 2 callersMethodprocess
(self)
NeuralSeq/data_gen/tts/base_preprocess.py:34
↓ 2 callersMethodprocess_output
Reduces output according to the training mode. Separates loss from logging and tqdm metrics :param output: :return:
NeuralSeq/utils/pl_utils.py:958
↓ 2 callersFunctionrandom_crop
(lq, hq, sf=4, lq_patchsize=64)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:427
↓ 2 callersFunctionread_config_as_args
(config_path,args=None,is_config_str=False)
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/utils.py:5
↓ 2 callersMethodregister_schedule
(self, given_betas=None, beta_schedule="linear", timesteps=1000, linear_start=1e-4,
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm.py:115
↓ 2 callersFunctionremove_empty_lines
remove empty lines
NeuralSeq/data_gen/tts/data_gen_utils.py:187
↓ 2 callersMethodremove_weight_norm
(m)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:583
↓ 2 callersMethodremove_weight_norm
(self)
NeuralSeq/modules/hifigan/hifigan.py:171
↓ 2 callersMethodremove_weight_norm
Remove weight normalization module from all of the layers.
NeuralSeq/modules/parallel_wavegan/models/melgan.py:159
↓ 2 callersMethodresample_and_duration
(self,wav_sr,audio_duration,resample=False)
text_to_audio/Make_An_Audio/wav_evaluation/models/CLAPWrapper.py:119
↓ 2 callersMethodreset_classifier
(self, num_classes, global_pool='')
audio_detection/audio_infer/pytorch/models.py:901
↓ 2 callersMethodreshape_wav2img
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:833
↓ 2 callersMethodrestore
(self, checkpoint_path, on_gpu)
NeuralSeq/utils/pl_utils.py:661
↓ 2 callersMethodrestore
Restore the parameters stored with the `store` method. Useful to validate the model with EMA parameters without affecting the
text_to_audio/Make_An_Audio/ldm/modules/ema.py:64
↓ 2 callersMethodrun_evaluation
(self, test=False)
NeuralSeq/utils/pl_utils.py:1221
↓ 2 callersMethodrun_model
(self, model, sample, return_output=False, infer=False)
NeuralSeq/tasks/svs/diffsinger_task.py:279
↓ 2 callersMethodrun_model
(self, model, sample, return_output=False)
NeuralSeq/tasks/tts/fs2.py:109
↓ 2 callersMethodrun_model
(self, model, sample, return_output=False, infer=False)
NeuralSeq/tasks/tts/pe.py:128
↓ 2 callersMethodrun_pretrain_routine
Sanity check a few things before starting actual training. :param model:
NeuralSeq/utils/pl_utils.py:507
↓ 2 callersMethodrun_vocoder
(self, c, **kwargs)
NeuralSeq/inference/svs/base_svs_infer.py:61
↓ 2 callersMethodrun_vocoder
(self, c)
NeuralSeq/inference/tts/base_tts_infer.py:52
↓ 2 callersFunctionsequence_mask
(lengths, maxlen, dtype=torch.bool)
NeuralSeq/modules/syntaspeech/syntactic_graph_encoder.py:8
↓ 2 callersFunctionsequence_mask
(length, max_length=None)
NeuralSeq/modules/commons/rel_transformer.py:22
↓ 2 callersMethodset_model_hparams
(self)
audio-chatgpt.py:286
↓ 2 callersMethodset_model_hparams
(self)
audio-chatgpt.py:315
↓ 2 callersMethodset_model_hparams
(self)
audio-chatgpt.py:395
↓ 2 callersFunctionshift_pixel
shift pixel for super-resolution with different scale factors Args: x: WxHxC or WxH sf: scale factor upper_left: shift dir
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan_light.py:99
↓ 2 callersFunctionshift_pixel
shift pixel for super-resolution with different scale factors Args: x: WxHxC or WxH sf: scale factor upper_left: shift dir
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:99
↓ 2 callersMethodssim_loss
(self, decoder_output, target, bias=6.0)
NeuralSeq/tasks/tts/fs2.py:164
↓ 2 callersMethodstepwise_forward
Step-by-step decoding
audio_to_text/captioning/models/base_model.py:148
↓ 2 callersMethodstore
Save the current parameters for restoring later. Args: parameters: Iterable of `torch.nn.Parameter`; the parameters to be
text_to_audio/Make_An_Audio/ldm/modules/ema.py:55
↓ 2 callersFunctionstrip_ids
Strip ids_to_strip from the end ids.
NeuralSeq/utils/text_encoder.py:28
↓ 2 callersMethodtelephone2chntext
(self, fixed=False)
NeuralSeq/utils/text_norm.py:468
↓ 2 callersMethodto_rgb
(self, x)
text_to_audio/Make_An_Audio/ldm/models/autoencoder.py:448
↓ 2 callersMethodto_rgb
(self, x)
text_to_audio/Make_An_Audio/ldm/models/autoencoder_multi.py:175
↓ 2 callersMethodto_rgb
(self, x)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio.py:1062
↓ 2 callersMethodtransfer_batch_to_gpu
(self, batch, gpu_id)
NeuralSeq/utils/pl_utils.py:792
↓ 2 callersFunctiontrim_long_silences
Ensures that segments without voice in the waveform remain no longer than a threshold determined by the VAD parameters in params.py. :par
NeuralSeq/data_gen/tts/data_gen_utils.py:27
↓ 2 callersFunctionuniform_torch
(lower, upper)
sound_extraction/utils/create_mixtures.py:90
↓ 2 callersMethodvalidation_end
(self, outputs)
NeuralSeq/tasks/base_task.py:186
↓ 2 callersMethodweights_nonzero_speech
(self, target)
NeuralSeq/tasks/tts/tts.py:124
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:249
↓ 1 callersFunctionConv1d
(*args, **kwargs)
NeuralSeq/modules/diff/candidate_decoder.py:29
↓ 1 callersMethod__init__
(self)
mono2binaural/src/warping.py:53
↓ 1 callersMethod__init__
(self, hidden_size=None, num_layers=None, kernel_size=None, num_heads=None)
NeuralSeq/modules/diff/candidate_decoder.py:36
↓ 1 callersMethod__init__
Initialize STFT loss module.
NeuralSeq/modules/parallel_wavegan/stft_loss.py:16
↓ 1 callersMethod__init__
Initialize CausalConv1d module.
NeuralSeq/modules/parallel_wavegan/layers/causal_conv.py:15
↓ 1 callersMethod__init__
(self, ph_dict_size, word_dict_size, out_dims=None)
NeuralSeq/modules/syntaspeech/syntaspeech.py:37
↓ 1 callersMethod__init__
(self, c_in, hidden_size, kernel_size, n_f
NeuralSeq/modules/commons/normalizing_flow/res_flow.py:43
↓ 1 callersMethod__init__
( self, logger=True, checkpoint_callback=True, default_save_pa
NeuralSeq/utils/pl_utils.py:355
↓ 1 callersMethod__init__
(self, num_reserved_ids=NUM_RESERVED_TOKENS)
NeuralSeq/utils/text_encoder.py:39
↓ 1 callersMethod__init__
(self, *args, **kwargs)
NeuralSeq/tasks/base_task.py:78
↓ 1 callersMethod__init__
(self, prefix, shuffle=False, test_items=None, test_sizes=None, data_dir=None)
NeuralSeq/tasks/tts/dataset_utils.py:20
↓ 1 callersMethod__init__
(self, prefix, shuffle=False)
NeuralSeq/tasks/tts/pe.py:19
↓ 1 callersMethod__init__
(self, encoder: nn.Module, decoder: nn.Module, **kwargs)
audio_to_text/captioning/models/base_model.py:21
↓ 1 callersMethod__init__
(self)
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/vqperceptual.py:16
↓ 1 callersMethod__init__
(self, loss_name)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/loss.py:293
↓ 1 callersMethod__init__
(self, ddconfig, lossconfig, embed_dim, ck
text_to_audio/Make_An_Audio/ldm/models/autoencoder_multi.py:24
↓ 1 callersMethod__init__
Initialization. INPUT: - in_features: shape of the input - alpha: trainable parameter alpha is in
text_to_audio/Make_An_Audio/vocoder/bigvgan/activations.py:25
↓ 1 callersMethod__init__
(self, ratio=2, kernel_size=None)
text_to_audio/Make_An_Audio/vocoder/bigvgan/alias_free_torch/resample.py:11
↓ 1 callersMethod__str__
(self)
NeuralSeq/utils/text_norm.py:70
↓ 1 callersMethod_absolute_position_to_relative_position
x: [b, h, l, l] ret: [b, h, l, 2*l-1]
NeuralSeq/modules/commons/rel_transformer.py:214
↓ 1 callersMethod_atomic_save
Saves a checkpoint atomically, avoiding the creation of incomplete checkpoints. This will create a temporary checkpoint with a suffix of ``.p
NeuralSeq/utils/pl_utils.py:722
↓ 1 callersMethod_attention_bias_proximal
Bias for self-attention to encourage attention to close positions. Args: length: an integer scalar. Returns: a Ten
NeuralSeq/modules/commons/rel_transformer.py:228
↓ 1 callersFunction_augment
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:475
↓ 1 callersFunction_double_threshold
_double_threshold Computes a double threshold over the input array :param x: input array, needs to be 1d :param high_thres: High threshol
audio_detection/target_sound_detection/src/utils.py:263
↓ 1 callersFunction_find_tensors
r""" Recursively find all tensors contained in the specified object.
NeuralSeq/utils/pl_utils.py:166
↓ 1 callersMethod_get_audio_embeddings
r"""Load preprocessed audio and return a audio embeddings
text_to_audio/Make_An_Audio/wav_evaluation/models/CLAPWrapper.py:198
↓ 1 callersMethod_get_audio_embeddings
r"""Load preprocessed audio and return a audio embeddings
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/CLAPWrapper.py:188
↓ 1 callersMethod_get_closed_form_lr
(self)
audio_to_text/captioning/utils/lr_scheduler.py:22
↓ 1 callersMethod_get_closed_form_lr
(self)
audio_to_text/captioning/utils/lr_scheduler.py:58
↓ 1 callersMethod_get_closed_form_lr
(self)
audio_to_text/captioning/utils/lr_scheduler.py:89
↓ 1 callersMethod_get_item
(self, index)
NeuralSeq/modules/GenerSpeech/task/dataset.py:89
↓ 1 callersMethod_get_item
(self, index)
NeuralSeq/tasks/vocoder/dataset_utils.py:74
↓ 1 callersMethod_get_item_list
Only supports IntervalTier currently
NeuralSeq/data_gen/tts/data_gen_utils.py:235
↓ 1 callersFunction_get_paths_from_images
(path)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:74
↓ 1 callersMethod_get_receptive_field_size
(layers, stacks, kernel_size, dilation=lambda x: 2 ** x)
NeuralSeq/modules/parallel_wavegan/models/parallel_wavegan.py:194
↓ 1 callersMethod_get_size
(self)
NeuralSeq/data_gen/tts/data_gen_utils.py:232
↓ 1 callersMethod_get_text_embeddings
r"""Load preprocessed text and return text embeddings
text_to_audio/Make_An_Audio/wav_evaluation/models/CLAPWrapper.py:191
↓ 1 callersMethod_get_text_embeddings
r"""Load preprocessed text and return text embeddings
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/CLAPWrapper.py:181
↓ 1 callersMethod_get_time_intval
(self)
NeuralSeq/data_gen/tts/data_gen_utils.py:228
↓ 1 callersMethod_get_type
(self)
NeuralSeq/data_gen/tts/data_gen_utils.py:225
↓ 1 callersMethod_init_vocab_from_file
Load vocab from a file. Args: filename: The file to load vocabulary from.
NeuralSeq/utils/text_encoder.py:230
← previousnext →501–600 of 2,752, ranked by callers