Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Text-to-Audio/Make-An-Audio
/ functions
Functions
679 in github.com/Text-to-Audio/Make-An-Audio
⨍
Functions
679
◇
Types & classes
143
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
Function
add_clap_score_to_tsv
(tsv_path,clap_model)
wav_evaluation/cal_clap_score.py:70
Method
backward
(ctx, *output_grads)
ldm/modules/diffusionmodules/util.py:131
Function
betas_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
Method
cal_clap_score
(self,txt,audio_path)
wav_evaluation/models/CLAPWrapper.py:214
Method
classify_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
Method
classify_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
Method
configure_optimizers
(self)
ldm/models/autoencoder.py:217
Method
configure_optimizers
(self)
ldm/models/autoencoder.py:417
Method
configure_optimizers
(self)
ldm/models/autoencoder_multi.py:144
Method
configure_optimizers
(self)
ldm/models/diffusion/ddpm_audio.py:834
Method
configure_optimizers
(self)
ldm/models/diffusion/classifier.py:220
Method
configure_optimizers
(self)
ldm/models/diffusion/ddpm.py:413
Method
configure_optimizers
(self)
ldm/models/diffusion/ddpm.py:1324
Method
configure_optimizers
(self)
ldm/models/diffusion/ddpm_audio_inpaint.py:1049
Function
convert_module_to_f16
(x)
ldm/modules/diffusionmodules/openaimodel.py:24
Function
convert_module_to_f32
(x)
ldm/modules/diffusionmodules/openaimodel.py:27
Method
convert_to_fp16
Convert the torso of the model to float16.
ldm/modules/diffusionmodules/openaimodel.py:695
Method
convert_to_fp16
Convert the torso of the model to float16.
ldm/modules/diffusionmodules/openaimodel.py:926
Method
convert_to_fp16
Convert the torso of the model to float16.
ldm/modules/diffusionmodules/custom_openaimodel.py:315
Method
convert_to_fp32
Convert the torso of the model to float32.
ldm/modules/diffusionmodules/openaimodel.py:703
Method
convert_to_fp32
Convert the torso of the model to float32.
ldm/modules/diffusionmodules/openaimodel.py:933
Method
convert_to_fp32
Convert the torso of the model to float32.
ldm/modules/diffusionmodules/custom_openaimodel.py:323
Method
count_flops
(model, _x, y)
ldm/modules/diffusionmodules/openaimodel.py:375
Method
count_flops
(model, _x, y)
ldm/modules/diffusionmodules/openaimodel.py:409
Method
decode
(self, text)
ldm/modules/encoders/modules.py:77
Method
decode
(self, h, force_not_quantize=False)
ldm/models/autoencoder.py:294
Method
decode
(self, x, *args, **kwargs)
ldm/models/autoencoder.py:465
Method
decode
(self, x, *args, **kwargs)
ldm/models/autoencoder_multi.py:192
Method
decode_code
(self, code_b)
ldm/models/autoencoder.py:112
Method
differentiable_decode_first_stage
(self, z, predict_cids=False, force_not_quantize=False)
ldm/models/diffusion/ddpm_audio.py:372
Method
differentiable_decode_first_stage
(self, z, predict_cids=False, force_not_quantize=False)
ldm/models/diffusion/ddpm.py:752
Method
differentiable_decode_first_stage
(self, z, predict_cids=False, force_not_quantize=False)
ldm/models/diffusion/ddpm_audio_inpaint.py:408
Function
disabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
ldm/modules/encoders/modules.py:138
Function
disabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
ldm/models/diffusion/classifier.py:22
Function
disabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
ldm/models/diffusion/ddpm.py:33
Method
discriminator_block
Input: (B, in, 2H, 2W) Output:(B, out, H, W)
ldm/modules/discriminator/multi_window_disc.py:12
Function
discriminator_loss
(disc_real_outputs, disc_generated_outputs)
vocoder/bigvgan/models.py:367
Function
discriminator_loss_mse
(disc_real_outputs, disc_generated_outputs)
ldm/modules/losses_audio/contperceptual.py:9
Function
divein
(*args, **kwargs)
main.py:758
Function
drop_bad_wav
(item)
preprocess/mel_spec.py:133
Function
dynamic_range_compression
(x, C=1, clip_val=1e-5)
preprocess/NAT_mel.py:17
Function
dynamic_range_decompression
(x, C=1)
preprocess/NAT_mel.py:21
Method
encode
(self, *args, **kwargs)
ldm/modules/encoders/modules.py:18
Method
encode
(self, x)
ldm/modules/encoders/modules.py:50
Method
encode
(self, text)
ldm/modules/encoders/modules.py:71
Method
encode
(self, x)
ldm/modules/encoders/modules.py:135
Method
encode
(self, text)
ldm/modules/encoders/modules.py:169
Method
encode
(self, text)
ldm/modules/encoders/modules.py:205
Method
encode
(self, text)
ldm/modules/encoders/modules.py:237
Method
encode
(self, text)
ldm/modules/encoders/modules.py:273
Method
encode
(self, x)
ldm/models/autoencoder.py:289
Method
encode
(self, x, *args, **kwargs)
ldm/models/autoencoder.py:462
Method
encode
(self, x, *args, **kwargs)
ldm/models/autoencoder_multi.py:189
Method
encode_to_prequant
(self, x)
ldm/models/autoencoder.py:102
Function
feature_loss
(fmap_r, fmap_g)
vocoder/bigvgan/models.py:358
Method
forward
(self, input, pool_size=(2, 2), pool_type='avg')
wav_evaluation/models/audio.py:32
Method
forward
(self, input, pool_size=(2, 2), pool_type='avg')
wav_evaluation/models/audio.py:64
Method
forward
(self, x)
wav_evaluation/models/audio.py:93
Method
forward
Input: (batch_size, data_length)
wav_evaluation/models/audio.py:143
Method
forward
(self, x: torch.Tensor)
wav_evaluation/models/clap.py:16
Method
forward
(self, x)
wav_evaluation/models/clap.py:36
Method
forward
(self, x)
wav_evaluation/models/clap.py:49
Method
forward
(self, audio, text)
wav_evaluation/models/clap.py:86
Method
forward
(self,model)
ldm/modules/ema.py:25
Method
forward
(self, x)
ldm/modules/x_transformer.py:34
Method
forward
(self, x, seq_dim=1, offset=0)
ldm/modules/x_transformer.py:45
Method
forward
(self, x, **kwargs)
ldm/modules/x_transformer.py:123
Method
forward
(self, x, **kwargs)
ldm/modules/x_transformer.py:134
Method
forward
(self, x)
ldm/modules/x_transformer.py:146
Method
forward
(self, x)
ldm/modules/x_transformer.py:158
Method
forward
(self, x, residual)
ldm/modules/x_transformer.py:164
Method
forward
(self, x, residual)
ldm/modules/x_transformer.py:173
Method
forward
(self, x)
ldm/modules/x_transformer.py:189
Method
forward
(self, x)
ldm/modules/x_transformer.py:210
Method
forward
( self, x, context=None, mask=None, context_m
ldm/modules/x_transformer.py:268
← previous
next →
401–500 of 679, ranked by callers