MCPcopy Create free account

hub / github.com/CompVis/zigma / types & classes

Types & classes98 in github.com/CompVis/zigma

↓ 15 callersClassZigMa
A DiT-styled Mamba model with ZigZag scan.
model_zigma.py:544
↓ 11 callersClassUnit3D
video_metrics/fvd/videogpt/pytorch_i3d.py:37
↓ 10 callersClassWebDataModuleFromConfig
datasets/wds_dataloader.py:46
↓ 9 callersClassInceptionModule
video_metrics/fvd/videogpt/pytorch_i3d.py:107
↓ 5 callersClassMaxPool3dSamePadding
video_metrics/fvd/videogpt/pytorch_i3d.py:7
↓ 4 callersClassFrechetVideoDistance
r"""Calculate Fréchet inception distance (FID_) which is used to access the quality of generated images. .. math:: FID = \|\mu - \mu_w\|^2
utils/torchmetric_fvd.py:211
↓ 4 callersClassMyMetric
my_metrics.py:13
↓ 4 callersClassNoTrainInceptionV3
Module that never leaves evaluation mode.
utils/torchmetric_sfid.py:63
↓ 2 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
model_zigma.py:162
↓ 2 callersClassFrechetDinovDistance
r"""Calculate Fréchet inception distance (FID_) which is used to access the quality of generated images. .. math:: FID = \|\mu - \mu_w\|^
utils/torchmetric_fdd.py:131
↓ 2 callersClassInferenceParams
Inference parameters that are passed to the main model in order to efficienly calculate and store the context during inference.
dis_mamba/mamba_ssm/utils/generation.py:18
↓ 2 callersClassSampler
Sampler class for the transport model
transport/transport.py:236
↓ 2 callersClassode
ODE solver class
transport/integrators.py:83
↓ 2 callersClasssFrechetInceptionDistance
r"""Calculate Fréchet inception distance (FID_) which is used to access the quality of generated images. .. math:: FID = \|\mu - \mu_w\|^
utils/torchmetric_sfid.py:202
↓ 1 callersClassBlock
model_zigma.py:340
↓ 1 callersClassBlock
dis_mamba/mamba_ssm/modules/mamba_simple.py:611
↓ 1 callersClassCrossAttention
model_zigma.py:95
↓ 1 callersClassDINOv2Encoder
utils/torchmetric_fdd.py:82
↓ 1 callersClassDecodingCGCache
dis_mamba/mamba_ssm/utils/generation.py:243
↓ 1 callersClassFinalLayer
The final layer of DiT.
model_zigma.py:313
↓ 1 callersClassInceptionI3d
Inception-v1 I3D architecture. The model is introduced in: Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset Joa
video_metrics/fvd/videogpt/pytorch_i3d.py:135
↓ 1 callersClassInceptionScore
r"""Calculate the Inception Score (IS) which is used to access how realistic generated images are. .. math:: IS = exp(\mathbb{E}_x KL(p(y
utils/torchmetric_inception.py:34
↓ 1 callersClassKernelInceptionDistance
r""" Calculates Kernel Inception Distance (KID) which is used to access the quality of generated images. Given by .. math:: KID = MMD
utils/torchmetric_kid.py:67
↓ 1 callersClassLabelEmbedder
Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
model_zigma.py:278
↓ 1 callersClassMamba
dis_mamba/mamba_ssm/modules/mamba_simple.py:64
↓ 1 callersClassMixerModel
dis_mamba/mamba_ssm/models/mixer_seq_simple.py:83
↓ 1 callersClassPRDC
Example: >>> import torch >>> _ = torch.manual_seed(123) >>> from torchmetric_prdc import PRDC >>> prdc = PRDC(ne
utils/torchmetric_prdc.py:74
↓ 1 callersClassPatchEmbed_Video
2D Image to Patch Embedding
model_zigma.py:66
↓ 1 callersClassRandomHorizontalFlipVideo
Flip the video clip along the horizontal direction with a given probability Args: p (float): probability of the clip being flipped. D
datasets/video_utils.py:425
↓ 1 callersClassTemporalRandomCrop
Temporally crop the given frame indices at a random location. Args: size (int): Desired length of frames will be seen in the model.
datasets/video_utils.py:453
↓ 1 callersClassTimestepEmbedder
Embeds scalar timesteps into vector representations.
model_zigma.py:232
↓ 1 callersClassToTensorVideo
Convert tensor data type from uint8 to float, divide value by 255.0 and permute the dimensions of clip tensor
datasets/video_utils.py:403
↓ 1 callersClassTrainState
utils/train_state_utils.py:21
↓ 1 callersClassTransport
transport/transport.py:43
↓ 1 callersClassUCFCenterCropVideo
First scale to the specified size in equal proportion to the short edge, then center cropping
datasets/video_utils.py:279
↓ 1 callersClassVideoDetector
utils/torchmetric_fvd.py:169
↓ 1 callersClasssde
SDE solver class
transport/integrators.py:9
ClassAbstractEncoder
datasets/clip.py:5
ClassAllreduce
dis_causal_conv1d/csrc/causal_conv1d_common.h:47
ClassAllreduce<2>
dis_causal_conv1d/csrc/causal_conv1d_common.h:58
ClassBiMambaInnerFn
dis_mamba/mamba_ssm/ops/selective_scan_interface.py:437
ClassBytesToType
dis_causal_conv1d/csrc/causal_conv1d_common.h:12
ClassBytesToType
dis_mamba/csrc/selective_scan/selective_scan_common.h:29
ClassBytesToType<16>
dis_causal_conv1d/csrc/causal_conv1d_common.h:14
ClassBytesToType<16>
dis_mamba/csrc/selective_scan/selective_scan_common.h:31
ClassBytesToType<1>
dis_causal_conv1d/csrc/causal_conv1d_common.h:34
ClassBytesToType<1>
dis_mamba/csrc/selective_scan/selective_scan_common.h:51
ClassBytesToType<2>
dis_causal_conv1d/csrc/causal_conv1d_common.h:29
ClassBytesToType<2>
dis_mamba/csrc/selective_scan/selective_scan_common.h:46
ClassBytesToType<4>
dis_causal_conv1d/csrc/causal_conv1d_common.h:24
ClassBytesToType<4>
dis_mamba/csrc/selective_scan/selective_scan_common.h:41
ClassBytesToType<8>
dis_causal_conv1d/csrc/causal_conv1d_common.h:19
ClassBytesToType<8>
dis_mamba/csrc/selective_scan/selective_scan_common.h:36
ClassCachedWheelsCommand
The CachedWheelsCommand plugs into the default bdist wheel, which is ran by pip when it cannot find an existing wheel (which is currently the
dis_causal_conv1d/setup.py:191
ClassCachedWheelsCommand
The CachedWheelsCommand plugs into the default bdist wheel, which is ran by pip when it cannot find an existing wheel (which is currently the
dis_mamba/setup.py:199
ClassCaptionEmbedder
Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
model_zigma.py:177
ClassCausalConv1dFn
dis_causal_conv1d/causal_conv1d/causal_conv1d_interface.py:10
ClassCenterCropResizeVideo
First use the short side for cropping length, center crop video, then resize to the specified size
datasets/video_utils.py:237
ClassCenterCropVideo
datasets/video_utils.py:346
ClassConvParamsBase
dis_causal_conv1d/csrc/causal_conv1d.h:9
ClassConvParamsBwd
dis_causal_conv1d/csrc/causal_conv1d.h:37
ClassConverter
dis_mamba/csrc/selective_scan/selective_scan_common.h:59
ClassConverter<at::BFloat16, N>
dis_mamba/csrc/selective_scan/selective_scan_common.h:79
ClassConverter<at::Half, N>
dis_mamba/csrc/selective_scan/selective_scan_common.h:67
ClassDatasetFromCSV
load video according to the csv file. Args: target_video_len (int): the number of video frames will be load. align_transform (cal
datasets/video_utils.py:470
ClassEasyDict
transport/utils.py:3
ClassEncoder
utils/torchmetric_fdd.py:63
ClassFrozenCLIPEmbedder
Uses the CLIP transformer encoder for text (from Hugging Face)
datasets/clip.py:13
ClassGVPCPlan
transport/path.py:174
ClassGenerationMixin
dis_mamba/mamba_ssm/utils/generation.py:203
ClassICPlan
Linear Coupling Plan
transport/path.py:18
ClassImageFolder_FakeWrapper
datasets/dataset_wrapper.py:6
ClassKineticsRandomCropResizeVideo
Slide along the long edge, with the short edge as crop size. And resie to the desired size.
datasets/video_utils.py:319
ClassLayerNormFn
dis_mamba/mamba_ssm/ops/triton/layernorm.py:380
ClassLayerNormLinearFn
dis_mamba/mamba_ssm/ops/triton/layernorm.py:506
ClassMambaEvalWrapper
dis_mamba/evals/lm_harness_eval.py:15
ClassMambaInnerFn
dis_mamba/mamba_ssm/ops/selective_scan_interface.py:292
ClassMambaInnerFnNoOutProj
dis_mamba/mamba_ssm/ops/selective_scan_interface.py:155
ClassMambaLMHeadModel
dis_mamba/mamba_ssm/models/mixer_seq_simple.py:173
ClassModelType
Which type of output the model predicts.
transport/transport.py:13
ClassNormalizeVideo
Normalize the video clip by mean subtraction and division by standard deviation Args: mean (3-tuple): pixel RGB mean std (3-t
datasets/video_utils.py:378
ClassPathType
Which type of path to use.
transport/transport.py:23
ClassRMSNorm
dis_mamba/mamba_ssm/ops/triton/layernorm.py:481
ClassRandomCropVideo
datasets/video_utils.py:198
ClassSSMParamsBase
dis_mamba/csrc/selective_scan/selective_scan.h:26
ClassSSMParamsBwd
dis_mamba/csrc/selective_scan/selective_scan.h:71
ClassSSMScanOp
dis_mamba/csrc/selective_scan/selective_scan_common.h:108
ClassSSMScanOp<complex_t>
dis_mamba/csrc/selective_scan/selective_scan_common.h:118
ClassSSMScanOp<float>
dis_mamba/csrc/selective_scan/selective_scan_common.h:111
ClassSSMScanParamsBase
dis_mamba/csrc/selective_scan/selective_scan.h:9
ClassSSMScanPrefixCallbackOp
dis_mamba/csrc/selective_scan/selective_scan_common.h:132
ClassSelectiveScanFn
dis_mamba/mamba_ssm/ops/selective_scan_interface.py:14
ClassSumOp
dis_causal_conv1d/csrc/causal_conv1d_common.h:42
ClassVPCPlan
class for VP path flow matching
transport/path.py:139
ClassWeightType
Which type of weighting to use.
transport/transport.py:33
Class_FeatureExtractorInceptionV3
utils/torchmetric_sfid.py:42
Class_FeatureExtractorInceptionV3
utils/torchmetric_fdd.py:42
Class_FeatureExtractorInceptionV3
utils/torchmetric_fvd.py:42