MCPcopy Create free account

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

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

↓ 3 callersFunctionmultiprocess_run_tqdm
(map_func, args, num_workers=None, ordered=True, init_ctx_func=None, multithread=Fal
NeuralSeq/utils/multiprocess_utils.py:49
↓ 3 callersFunctionnormal_kl
source: https://github.com/openai/guided-diffusion/blob/27c20a8fab9cb472df5d6bdd6c8d11c8f430b924/guided_diffusion/losses.py#L12 Compute the K
text_to_audio/Make_An_Audio/ldm/modules/distributions/distributions.py:65
↓ 3 callersFunctionplot_dgl_sentence_graph
labels = {idx: word for idx,word in enumerate(sentence.split(" ")) }
NeuralSeq/modules/syntaspeech/syntactic_graph_buider.py:267
↓ 3 callersMethodplot_dur
(self, batch_idx, sample, model_out)
NeuralSeq/tasks/tts/fs2.py:294
↓ 3 callersMethodprepare_output
(self, input_dict)
audio_to_text/captioning/models/base_model.py:108
↓ 3 callersMethodprocess_data
(self, prefix)
NeuralSeq/data_gen/tts/base_binarizer.py:123
↓ 3 callersMethodprocess_data
(self, prefix)
NeuralSeq/data_gen/tts/base_binarizer_emotion.py:172
↓ 3 callersMethodq_mean_variance
Get the distribution q(x_t | x_0). :param x_start: the [N x C x ...] tensor of noiseless inputs. :param t: the number of diff
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm.py:202
↓ 3 callersMethodq_sample
(self, x_start, t, noise=None)
NeuralSeq/modules/diff/shallow_diffusion_tts.py:206
↓ 3 callersMethodrun_decoder
(self, decoder_inp, tgt_nonpadding, ret, infer, **kwargs)
NeuralSeq/modules/fastspeech/fs2.py:222
↓ 3 callersMethodrun_model
(self, model, sample, return_output=False, infer=False)
NeuralSeq/tasks/svs/task.py:26
↓ 3 callersMethodrun_model
(self, sample, infer=False, *args, **kwargs)
NeuralSeq/tasks/tts/ps.py:37
↓ 3 callersMethodsample
(self, cond, batch_size=16, return_intermediates=False, x_T=None, verbose=True, timesteps=None,
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio.py:887
↓ 3 callersMethodsample
(self, S, batch_size, shape, conditioning=None,
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddim.py:59
↓ 3 callersMethodsample
(self, cond, batch_size=16, return_intermediates=False, x_T=None, verbose=True, timesteps=None,
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio_inpaint.py:905
↓ 3 callersMethodseg
(self)
NeuralSeq/utils/text_encoder.py:287
↓ 3 callersFunctionsequence_mask
(lengths, maxlen, dtype=torch.bool)
NeuralSeq/utils/tts_utils.py:25
↓ 3 callersFunctionset_incremental_state
Helper for setting incremental state for an nn.Module.
NeuralSeq/utils/tts_utils.py:56
↓ 3 callersMethodshared_step
(self, batch)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm.py:335
↓ 3 callersFunctionssim
(img1, img2)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:669
↓ 3 callersMethodstore_inverse
(self)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:278
↓ 3 callersMethodstore_inverse_all
(self)
NeuralSeq/modules/syntaspeech/syntaspeech.py:265
↓ 3 callersFunctiontimestep_embedding
Create sinusoidal timestep embeddings. :param timesteps: a 1-D Tensor of N indices, one per batch element. These may be
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/util.py:151
↓ 3 callersMethodto_rgb
(self, x)
text_to_audio/Make_An_Audio/ldm/models/autoencoder.py:275
↓ 3 callersMethodto_rgb
(self, x)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm.py:1384
↓ 3 callersFunctionunsqueeze
(x, x_mask=None, n_sqz=2)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:757
↓ 2 callersFunctionNormalize
(in_channels)
text_to_audio/Make_An_Audio/ldm/modules/attention.py:76
↓ 2 callersMethod_3d_displacements
(self, view)
mono2binaural/src/models.py:31
↓ 2 callersMethod__getitem__
(self, index)
NeuralSeq/tasks/svs/diffsinger_task.py:238
↓ 2 callersMethod__getitem__
(self, index)
NeuralSeq/tasks/tts/dataset_utils.py:59
↓ 2 callersMethod__init__
(self, layers=4, channels=64, view_dim=7)
mono2binaural/src/models.py:55
↓ 2 callersMethod__init__
Initialize Conv1d module.
NeuralSeq/modules/parallel_wavegan/layers/residual_block.py:18
↓ 2 callersMethod__init__
Initialize TFResidualStack module. Args: kernel_size (int): Kernel size. channles (int): Number of channels.
NeuralSeq/modules/parallel_wavegan/layers/tf_layers.py:77
↓ 2 callersMethod__init__
Initialize Parallel WaveGAN Generator module. Args: in_channels (int): Number of input channels. out_channels (in
NeuralSeq/modules/parallel_wavegan/models/parallel_wavegan.py:24
↓ 2 callersMethod__init__
Initialize MelGANGenerator module. Args: in_channels (int): Number of input channels. out_channels (int): Number of o
NeuralSeq/modules/parallel_wavegan/models/melgan.py:21
↓ 2 callersMethod__init__
(self, time_lengths=[32, 64, 128], freq_length=80, kernel=(3, 3), c_in=1, hidden_size=128)
NeuralSeq/modules/syntaspeech/multi_window_disc.py:108
↓ 2 callersMethod__init__
Construct an PositionalEncoding object.
NeuralSeq/modules/commons/espnet_positional_embedding.py:14
↓ 2 callersMethod__init__
(self, optimizer, model_size=512, factor=1, warmup_iters=3000, last_epoch=-1, verbose=False)
audio_to_text/captioning/utils/lr_scheduler.py:50
↓ 2 callersMethod__init__
Base class of train sampler. Args: indexes_hdf5_path: string batch_size: int black_list_csv: string
audio_detection/audio_infer/utils/data_generator.py:75
↓ 2 callersMethod__init__
(self, time_lengths=[32, 64, 128], freq_length=80, cond_size=0, kernel=(3, 3), c_in=1, hidden
text_to_audio/Make_An_Audio/ldm/modules/discriminator/multi_window_disc.py:152
↓ 2 callersMethod__init__
(self)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/feature_fusion.py:16
↓ 2 callersMethod__init__
(self, first_stage_config, cond_stage_config, num_timesteps
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio.py:37
↓ 2 callersMethod_assert_ready_for_upsampling
Assert the audio and feature lengths are correctly adjusted for upsamping.
NeuralSeq/tasks/vocoder/dataset_utils.py:163
↓ 2 callersFunction_concat_init
(tensor, init_funcs)
sound_extraction/model/modules.py:447
↓ 2 callersFunction_decode_with_timestamps
(events,labels)
audio_detection/target_sound_detection/src/utils.py:210
↓ 2 callersMethod_f02sine
f0_values: (batchsize, length, dim) where dim indicates fundamental tone and overtones
NeuralSeq/modules/parallel_wavegan/models/source.py:44
↓ 2 callersMethod_forward
(self, xs, x_masks=None, is_inference=False)
NeuralSeq/modules/fastspeech/tts_modules.py:98
↓ 2 callersMethod_get_denoise_row_from_list
(self, samples, desc='', force_no_decoder_quantization=False)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm.py:528
↓ 2 callersMethod_get_denoise_row_from_list
(self, samples, desc='', force_no_decoder_quantization=False)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio_inpaint.py:149
↓ 2 callersFunction_get_full_incremental_state_key
(module_instance, key)
NeuralSeq/utils/tts_utils.py:36
↓ 2 callersMethod_get_input_buffer
(self, incremental_state)
NeuralSeq/modules/commons/transformer.py:114
↓ 2 callersMethod_get_input_buffer
(self, incremental_state)
NeuralSeq/modules/commons/transformer.py:460
↓ 2 callersMethod_get_item
(self, index)
NeuralSeq/tasks/tts/dataset_utils.py:52
↓ 2 callersMethod_get_relative_embeddings
(self, relative_embeddings, length)
NeuralSeq/modules/commons/rel_transformer.py:182
↓ 2 callersMethod_get_rows_from_list
(self, samples)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm.py:368
↓ 2 callersMethod_get_weight
(self)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:184
↓ 2 callersMethod_get_weight
(self)
NeuralSeq/modules/commons/normalizing_flow/glow_modules.py:126
↓ 2 callersMethod_init_vocab
Initialize vocabulary with tokens from token_generator.
NeuralSeq/utils/text_encoder.py:261
↓ 2 callersFunction_load_metrics0_classwise2
(filename, sample_rate, window_size, hop_size, mel_bins, fmin, fmax, data_type, model_type, loss_type, b
audio_detection/audio_infer/utils/plot_statistics.py:56
↓ 2 callersMethod_postprocess_word2ph
(word_encoding, ph2word, t_p)
NeuralSeq/modules/syntaspeech/syntactic_graph_encoder.py:85
↓ 2 callersMethod_process_ph_to_word_encoding
ph_encoding: [batch, t_p, hid] ph2word: tensor [batch, t_w] word_len: tensor [batch]
NeuralSeq/modules/syntaspeech/syntactic_graph_encoder.py:65
↓ 2 callersFunction_rescan_model_configs
()
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/factory.py:24
↓ 2 callersMethod_set_input_buffer
(self, incremental_state, buffer)
NeuralSeq/modules/commons/transformer.py:121
↓ 2 callersMethod_set_input_buffer
(self, incremental_state, buffer)
NeuralSeq/modules/commons/transformer.py:467
↓ 2 callersFunction_ssim
(img1, img2, window, window_size, channel, size_average=True)
NeuralSeq/modules/commons/ssim.py:331
↓ 2 callersMethod_to_absolute_positions
(self, warpfield, seq_length)
mono2binaural/src/warping.py:57
↓ 2 callersFunction_to_numpy
(wav)
sound_extraction/utils/create_mixtures.py:42
↓ 2 callersFunction_traceback
(D)
NeuralSeq/utils/dtw.py:100
↓ 2 callersMethod_validation_step
(self, batch, batch_idx, suffix="")
text_to_audio/Make_An_Audio/ldm/models/autoencoder.py:170
↓ 2 callersFunctionactivelev
need to update like matlab
sound_extraction/utils/create_mixtures.py:74
↓ 2 callersFunctionactivelev_torch
need to update like matlab
sound_extraction/utils/create_mixtures.py:80
↓ 2 callersFunctionadd_Gaussian_noise
(img, noise_level1=2, noise_level2=25)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan_light.py:373
↓ 2 callersFunctionadd_Poisson_noise
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:404
↓ 2 callersMethodadd_dur_loss
(self, dur_pred, mel2token, word_len, txt_tokens, losses=None)
NeuralSeq/tasks/tts/ps_adv.py:162
↓ 2 callersMethodadd_energy
(self, decoder_inp, energy, ret)
NeuralSeq/modules/fastspeech/fs2.py:165
↓ 2 callersMethodadd_pitch
(self, decoder_inp, f0, uv, mel2ph, ret, encoder_out=None)
NeuralSeq/modules/fastspeech/fs2.py:174
↓ 2 callersFunctionadd_resize
(img, sf=4)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:339
↓ 2 callersFunctionadd_speckle_noise
(img, noise_level1=2, noise_level2=25)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:386
↓ 2 callersMethodadd_tqdm_metrics
(self, metrics)
NeuralSeq/utils/pl_utils.py:938
↓ 2 callersMethodafter_infer
(self, predictions)
NeuralSeq/tasks/tts/fs2.py:369
↓ 2 callersFunctionalways
(val)
text_to_audio/Make_An_Audio/ldm/modules/x_transformer.py:64
↓ 2 callersMethodapply_model
(self, x_noisy, t, cond, return_ids=False)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio.py:561
↓ 2 callersMethodapply_model
(self, x_noisy, t, cond, return_ids=False)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio_inpaint.py:571
↓ 2 callersMethodattention
(self, ph_encoder_out, enc_pos, word_encoder_out, dec_pos, mel2word, dec_word_mask)
NeuralSeq/modules/syntaspeech/syntaspeech.py:194
↓ 2 callersMethodbackward
(ctx, *output_grads)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/util.py:131
↓ 2 callersFunctionbicubic_degradation
Args: x: HxWxC image, [0, 1] sf: down-scale factor Return: bicubicly downsampled LR image
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan_light.py:228
↓ 2 callersFunctionbicubic_degradation
Args: x: HxWxC image, [0, 1] sf: down-scale factor Return: bicubicly downsampled LR image
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:228
↓ 2 callersMethodbuild_model
(self)
NeuralSeq/tasks/base_task.py:106
↓ 2 callersFunctionbuild_model_from_openai_state_dict
(state_dict: dict, model_cfg, enable_fusion: bool = False, fusion_type: str = 'None')
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:852
↓ 2 callersFunctionbuild_word_mask
(x2word, y2word)
NeuralSeq/modules/commons/align_ops.py:5
↓ 2 callersFunctionbytes_to_unicode
Returns list of utf-8 byte and a corresponding list of unicode strings. The reversible bpe codes work on unicode strings. This means you
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/tokenizer.py:22
↓ 2 callersMethodcalculate_adaptive_weight
(self, nll_loss, g_loss, last_layer=None)
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/contperceptual_dis.py:47
↓ 2 callersFunctionchunked_multiprocess_run
(map_func, args, num_workers=None, ordered=True, init_ctx_func=None, q_max_size=1000)
NeuralSeq/utils/multiprocess_utils.py:19
↓ 2 callersFunctionclip_mel2token_to_multiple
(mel2token, frames_multiple)
NeuralSeq/modules/commons/align_ops.py:15
↓ 2 callersMethodcollater
(self, samples)
NeuralSeq/tasks/svs/diffsinger_task.py:246
↓ 2 callersMethodcollater
(self, samples)
NeuralSeq/tasks/tts/dataset_utils.py:82
↓ 2 callersMethodcompute_similarity
r"""Compute similarity between text and audio embeddings
text_to_audio/Make_An_Audio/wav_evaluation/models/CLAPWrapper.py:208
↓ 2 callersMethodconfigure_optimizers
(self)
NeuralSeq/tasks/base_task.py:202
↓ 2 callersFunctionconnect_
connect_ Connects two adjacent clusters if their distance is <= n :param pairs: Clusters of iterateables e.g., [(1,5),(7,10)] :param n: d
audio_detection/target_sound_detection/src/utils.py:316
↓ 2 callersFunctionconnect_clusters_
connect_clusters_ Connects clustered predictions (0,1) in x with range n :param x: Input array. zero-one format :param n: Number of frame
audio_detection/target_sound_detection/src/utils.py:300
← previousnext →301–400 of 2,752, ranked by callers