MCPcopy Create free account

hub / github.com/Text-to-Audio/Make-An-Audio / functions

Functions679 in github.com/Text-to-Audio/Make-An-Audio

Method__init__
(self, ckpt_vocoder,device='cuda')
vocoder/bigvgan/models.py:394
Method__init__
Initialization. INPUT: - in_features: shape of the input - alpha - trainable parameter that controls frequenc
vocoder/bigvgan/activations.py:79
Method__init__
(self, ratio=2, kernel_size=None)
vocoder/bigvgan/alias_free_torch/resample.py:37
Method__init__
(self, cutoff=0.5, half_width=0.6, stride: int = 1,
vocoder/bigvgan/alias_free_torch/filter.py:61
Method__init__
(self, activation, up_ratio: int = 2, down_ratio: int = 2,
vocoder/bigvgan/alias_free_torch/act.py:9
Method__len__
(self)
main.py:164
Method__len__
(self)
ldm/data/joinaudiodataset_624.py:75
Method__len__
(self)
preprocess/mel_spec.py:38
Method_forward
(self, x, context=None)
ldm/modules/attention.py:211
Method_forward
(self, x, emb)
ldm/modules/diffusionmodules/openaimodel.py:255
Method_forward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:318
Method_log
(self, pl_module, images, batch_idx, split)
main.py:334
Method_log
(self, pl_module, images, batch_idx, split)
main.py:447
Method_predict_dataloader
(self, shuffle=False)
main.py:235
Method_predict_eps_from_xstart
(self, x_t, t, pred_xstart)
ldm/models/diffusion/ddpm_audio.py:456
Method_predict_eps_from_xstart
(self, x_t, t, pred_xstart)
ldm/models/diffusion/ddpm.py:959
Method_predict_eps_from_xstart
(self, x_t, t, pred_xstart)
ldm/models/diffusion/ddpm_audio_inpaint.py:682
Method_prior_bpd
Get the prior KL term for the variational lower-bound, measured in bits-per-dim. This term can't be optimized, as it only
ldm/models/diffusion/ddpm_audio.py:460
Method_prior_bpd
Get the prior KL term for the variational lower-bound, measured in bits-per-dim. This term can't be optimized, as it only
ldm/models/diffusion/ddpm.py:963
Method_prior_bpd
Get the prior KL term for the variational lower-bound, measured in bits-per-dim. This term can't be optimized, as it only
ldm/models/diffusion/ddpm_audio_inpaint.py:686
Method_rescale_annotations
(self, bboxes, crop_coordinates)
ldm/models/diffusion/ddpm_audio_inpaint.py:561
Method_test_dataloader
(self, shuffle=False)
main.py:229
Method_train_dataloader
(self)
main.py:215
Method_val_dataloader
(self, shuffle=False)
main.py:221
Method_visualize_attention
(self, attention, scale_by_prior=True)
main.py:420
Functionadd_clap_score_to_tsv
(tsv_path,clap_model)
wav_evaluation/cal_clap_score.py:70
Methodbackward
(ctx, *output_grads)
ldm/modules/diffusionmodules/util.py:131
Functionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t =
ldm/modules/diffusionmodules/util.py:77
Methodcal_clap_score
(self,txt,audio_path)
wav_evaluation/models/CLAPWrapper.py:214
Methodclassify_audio_files_per_batch
r"""Compute classification probabilities for each audio recording in a batch and each class label
wav_evaluation/models/CLAPWrapper.py:251
Methodclassify_audio_files_per_batch
r"""Compute classification probabilities for each audio recording in a batch and each class label
ldm/modules/encoders/CLAP/CLAPWrapper.py:235
Methodconfigure_optimizers
(self)
ldm/models/autoencoder.py:217
Methodconfigure_optimizers
(self)
ldm/models/autoencoder.py:417
Methodconfigure_optimizers
(self)
ldm/models/autoencoder_multi.py:144
Methodconfigure_optimizers
(self)
ldm/models/diffusion/ddpm_audio.py:834
Methodconfigure_optimizers
(self)
ldm/models/diffusion/classifier.py:220
Methodconfigure_optimizers
(self)
ldm/models/diffusion/ddpm.py:413
Methodconfigure_optimizers
(self)
ldm/models/diffusion/ddpm.py:1324
Methodconfigure_optimizers
(self)
ldm/models/diffusion/ddpm_audio_inpaint.py:1049
Functionconvert_module_to_f16
(x)
ldm/modules/diffusionmodules/openaimodel.py:24
Functionconvert_module_to_f32
(x)
ldm/modules/diffusionmodules/openaimodel.py:27
Methodconvert_to_fp16
Convert the torso of the model to float16.
ldm/modules/diffusionmodules/openaimodel.py:695
Methodconvert_to_fp16
Convert the torso of the model to float16.
ldm/modules/diffusionmodules/openaimodel.py:926
Methodconvert_to_fp16
Convert the torso of the model to float16.
ldm/modules/diffusionmodules/custom_openaimodel.py:315
Methodconvert_to_fp32
Convert the torso of the model to float32.
ldm/modules/diffusionmodules/openaimodel.py:703
Methodconvert_to_fp32
Convert the torso of the model to float32.
ldm/modules/diffusionmodules/openaimodel.py:933
Methodconvert_to_fp32
Convert the torso of the model to float32.
ldm/modules/diffusionmodules/custom_openaimodel.py:323
Methodcount_flops
(model, _x, y)
ldm/modules/diffusionmodules/openaimodel.py:375
Methodcount_flops
(model, _x, y)
ldm/modules/diffusionmodules/openaimodel.py:409
Methoddecode
(self, text)
ldm/modules/encoders/modules.py:77
Methoddecode
(self, h, force_not_quantize=False)
ldm/models/autoencoder.py:294
Methoddecode
(self, x, *args, **kwargs)
ldm/models/autoencoder.py:465
Methoddecode
(self, x, *args, **kwargs)
ldm/models/autoencoder_multi.py:192
Methoddecode_code
(self, code_b)
ldm/models/autoencoder.py:112
Methoddifferentiable_decode_first_stage
(self, z, predict_cids=False, force_not_quantize=False)
ldm/models/diffusion/ddpm_audio.py:372
Methoddifferentiable_decode_first_stage
(self, z, predict_cids=False, force_not_quantize=False)
ldm/models/diffusion/ddpm.py:752
Methoddifferentiable_decode_first_stage
(self, z, predict_cids=False, force_not_quantize=False)
ldm/models/diffusion/ddpm_audio_inpaint.py:408
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
ldm/modules/encoders/modules.py:138
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
ldm/models/diffusion/classifier.py:22
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
ldm/models/diffusion/ddpm.py:33
Methoddiscriminator_block
Input: (B, in, 2H, 2W) Output:(B, out, H, W)
ldm/modules/discriminator/multi_window_disc.py:12
Functiondiscriminator_loss
(disc_real_outputs, disc_generated_outputs)
vocoder/bigvgan/models.py:367
Functiondiscriminator_loss_mse
(disc_real_outputs, disc_generated_outputs)
ldm/modules/losses_audio/contperceptual.py:9
Functiondivein
(*args, **kwargs)
main.py:758
Functiondrop_bad_wav
(item)
preprocess/mel_spec.py:133
Functiondynamic_range_compression
(x, C=1, clip_val=1e-5)
preprocess/NAT_mel.py:17
Functiondynamic_range_decompression
(x, C=1)
preprocess/NAT_mel.py:21
Methodencode
(self, *args, **kwargs)
ldm/modules/encoders/modules.py:18
Methodencode
(self, x)
ldm/modules/encoders/modules.py:50
Methodencode
(self, text)
ldm/modules/encoders/modules.py:71
Methodencode
(self, x)
ldm/modules/encoders/modules.py:135
Methodencode
(self, text)
ldm/modules/encoders/modules.py:169
Methodencode
(self, text)
ldm/modules/encoders/modules.py:205
Methodencode
(self, text)
ldm/modules/encoders/modules.py:237
Methodencode
(self, text)
ldm/modules/encoders/modules.py:273
Methodencode
(self, x)
ldm/models/autoencoder.py:289
Methodencode
(self, x, *args, **kwargs)
ldm/models/autoencoder.py:462
Methodencode
(self, x, *args, **kwargs)
ldm/models/autoencoder_multi.py:189
Methodencode_to_prequant
(self, x)
ldm/models/autoencoder.py:102
Functionfeature_loss
(fmap_r, fmap_g)
vocoder/bigvgan/models.py:358
Methodforward
(self, input, pool_size=(2, 2), pool_type='avg')
wav_evaluation/models/audio.py:32
Methodforward
(self, input, pool_size=(2, 2), pool_type='avg')
wav_evaluation/models/audio.py:64
Methodforward
(self, x)
wav_evaluation/models/audio.py:93
Methodforward
Input: (batch_size, data_length)
wav_evaluation/models/audio.py:143
Methodforward
(self, x: torch.Tensor)
wav_evaluation/models/clap.py:16
Methodforward
(self, x)
wav_evaluation/models/clap.py:36
Methodforward
(self, x)
wav_evaluation/models/clap.py:49
Methodforward
(self, audio, text)
wav_evaluation/models/clap.py:86
Methodforward
(self,model)
ldm/modules/ema.py:25
Methodforward
(self, x)
ldm/modules/x_transformer.py:34
Methodforward
(self, x, seq_dim=1, offset=0)
ldm/modules/x_transformer.py:45
Methodforward
(self, x, **kwargs)
ldm/modules/x_transformer.py:123
Methodforward
(self, x, **kwargs)
ldm/modules/x_transformer.py:134
Methodforward
(self, x)
ldm/modules/x_transformer.py:146
Methodforward
(self, x)
ldm/modules/x_transformer.py:158
Methodforward
(self, x, residual)
ldm/modules/x_transformer.py:164
Methodforward
(self, x, residual)
ldm/modules/x_transformer.py:173
Methodforward
(self, x)
ldm/modules/x_transformer.py:189
Methodforward
(self, x)
ldm/modules/x_transformer.py:210
Methodforward
( self, x, context=None, mask=None, context_m
ldm/modules/x_transformer.py:268
← previousnext →401–500 of 679, ranked by callers