MCPcopy Create free account

hub / github.com/andrewsonga/generative_view_stitching / functions

Functions993 in github.com/andrewsonga/generative_view_stitching

Methodexternal_cond_emb_dim
(self)
algorithms/dfot/backbones/u_vit/u_vit3d.py:199
Methodexternal_cond_emb_dim
(self)
algorithms/dfot/backbones/dit/dit3d_pose.py:43
Methodexternal_cond_emb_dim
(self)
algorithms/dfot/backbones/dit/dit3d.py:100
Methodexternal_cond_emb_dim
(self)
algorithms/dfot/backbones/u_net/u_net3d.py:174
Methodextract_features
(self, x: Tensor)
algorithms/common/metrics/video/fvd.py:21
Methodextract_features
(self, x: Tensor)
algorithms/common/metrics/video/fvmd.py:29
Methodextract_features
(self, x: Tensor)
algorithms/common/metrics/video/fid.py:30
Methodextract_features
Extract CLIP features from videos.
algorithms/common/metrics/video/vbench/background_consistency.py:11
Methodextract_features
Extract DINO features from the video.
algorithms/common/metrics/video/vbench/subject_consistency.py:11
Functionfixed_eval_train
(self, mode: bool)
algorithms/common/metrics/video/models/i3d.py:14
Methodforward
(self, input, sample_posterior=True)
algorithms/vae/image_vae/trainer.py:85
Methodforward
(self, x)
algorithms/vae/image_vae/model.py:103
Methodforward
(self, z)
algorithms/vae/image_vae/model.py:215
Methodforward
Forward pass. Returns: - dec: reconstructed input, uses mode of latent distribution if sample_posterior is False, otherwi
algorithms/vae/common/base_vae.py:27
Methodforward
(self, x)
algorithms/vae/common/modules/updownsample.py:20
Methodforward
(self, x)
algorithms/vae/common/modules/updownsample.py:38
Methodforward
(self, x)
algorithms/vae/common/modules/updownsample.py:73
Methodforward
(self, x)
algorithms/vae/common/modules/updownsample.py:108
Methodforward
(self, x)
algorithms/vae/common/modules/updownsample.py:132
Methodforward
(self, x)
algorithms/vae/common/modules/updownsample.py:165
Methodforward
(self, x)
algorithms/vae/common/modules/attention.py:17
Methodforward
(self, x)
algorithms/vae/common/modules/attention.py:59
Methodforward
(self, x)
algorithms/vae/common/modules/attention.py:119
Methodforward
(self, x)
algorithms/vae/common/modules/conv.py:37
Methodforward
(self, x)
algorithms/vae/common/modules/conv.py:102
Methodforward
(self, x)
algorithms/vae/common/modules/resnet.py:43
Methodforward
(self, x)
algorithms/vae/common/modules/resnet.py:95
Methodforward
(self, input, reverse=False)
algorithms/vae/common/losses/discriminator.py:40
Methodforward
Standard forward.
algorithms/vae/common/losses/discriminator.py:181
Methodforward
Standard forward.
algorithms/vae/common/losses/discriminator.py:253
Methodforward
(self, input, target)
algorithms/vae/common/losses/lpips.py:32
Methodforward
(self, inp)
algorithms/vae/common/losses/lpips.py:63
Methodforward
(self, X)
algorithms/vae/common/losses/lpips.py:109
Methodforward
( self, inputs, reconstructions, posteriors, optimizer_idx, gl
algorithms/vae/common/losses/perceptual_loss.py:94
Methodforward
( self, inputs, reconstructions, posteriors, optimizer_idx, gl
algorithms/vae/common/losses/perceptual_loss.py:236
Methodforward
(self, x)
algorithms/vae/video_vae/model.py:129
Methodforward
(self, z)
algorithms/vae/video_vae/model.py:252
Methodforward
( self, sample: torch.Tensor, sample_posterior: bool = True )
algorithms/vae/video_vae/model.py:483
Methodforward
Update video metrics with the given predictions and targets. Args: preds: Predictions of shape (B, T, C, H, W), [0, 1]
algorithms/common/metrics/video/video_metric.py:264
Methodforward
(self, model_type: VideoMetricModelType, *args, **kwargs)
algorithms/common/metrics/video/shared_registry.py:70
Methodforward
Compute the cosine similarity score. It is the average of: - the cosine similarity between consecutive frames. - the
algorithms/common/metrics/video/vbench/cosine_similarity_dimension.py:19
Methodforward
Compute the aesthetic quality score. A 0-10 rating is assigned to each frame by applying LAION aesthetic predictor to CLIP features,
algorithms/common/metrics/video/vbench/aesthetic_quality.py:12
Methodforward
Compute the temporal flickering score, which is the average of MAE between consecutive frames. MAE is then normalized from [0, 255] t
algorithms/common/metrics/video/vbench/temporal_flickering.py:11
Methodforward
Compute the dynamic degree score, which is 0 or 1 depending on whether the video is static or non-static (decided by the optical flow from RA
algorithms/common/metrics/video/vbench/dynamic_degree.py:54
Methodforward
Compute the imaging quality score. A 0-100 rating is assigned to each frame using MUSIQ image quality predictor, then normalized to [
algorithms/common/metrics/video/vbench/imaging_quality.py:11
Methodforward
Compute the dimension score. Args: videos: Videos of shape (B, T, C, H, W), uint8, range [0, 255]. Returns:
algorithms/common/metrics/video/vbench/dimension.py:20
Methodforward
Compute the motion smoothness, which is computed by: 1. Drop odd frames and interpolate them by passing the even frames through AMT-S
algorithms/common/metrics/video/vbench/motion_smoothness.py:32
Methodforward
(self, clip_features: Tensor)
algorithms/common/metrics/video/models/laion.py:19
Methodforward
(self, images: Tensor)
algorithms/common/metrics/video/models/clip.py:32
Methodforward
(self, images: Tensor)
algorithms/common/metrics/video/models/musiq.py:21
Methodforward
(self, images: Tensor)
algorithms/common/metrics/video/models/dino.py:33
Methodforward
(self, *args, **kwargs)
algorithms/common/metrics/video/models/i3d.py:31
Methodforward
(self, x)
algorithms/common/metrics/video/models/pips2.py:32
Methodforward
(self, x)
algorithms/common/metrics/video/models/pips2.py:90
Methodforward
(self, x)
algorithms/common/metrics/video/models/pips2.py:192
Methodforward
(self, x)
algorithms/common/metrics/video/models/pips2.py:274
Methodforward
(self, fcorr, flow)
algorithms/common/metrics/video/models/pips2.py:373
Methodforward
( self, trajs_e0, rgbs, # (B, S, C, H, W) range [-1, 1] iters=3, feat
algorithms/common/metrics/video/models/pips2.py:496
Methodforward
Args: videos (torch.Tensor): (B, S, C, H, W), range [-1, 1]
algorithms/common/metrics/video/models/motion_extractor.py:115
Methodforward
(self, x)
algorithms/common/metrics/video/models/amt/feat_enc.py:54
Methodforward
(self, x)
algorithms/common/metrics/video/models/amt/feat_enc.py:110
Methodforward
(self, x)
algorithms/common/metrics/video/models/amt/feat_enc.py:169
Methodforward
(self, x)
algorithms/common/metrics/video/models/amt/feat_enc.py:244
Methodforward
(self, x)
algorithms/common/metrics/video/models/amt/feat_enc.py:321
Methodforward
(self, x)
algorithms/common/metrics/video/models/amt/ifrnet.py:81
Methodforward
(self, in_x)
algorithms/common/metrics/video/models/amt/ifrnet.py:114
Methodforward
(self, f0, f1, embt)
algorithms/common/metrics/video/models/amt/ifrnet.py:132
Methodforward
(self, ft_, f0, f1, flow0_in, flow1_in)
algorithms/common/metrics/video/models/amt/ifrnet.py:150
Methodforward
(self, images1: Tensor, images2: Tensor)
algorithms/common/metrics/video/models/amt/__init__.py:28
Methodforward
(self, ft_, f0, f1, flow0, flow1)
algorithms/common/metrics/video/models/amt/multi_flow.py:67
Methodforward
(self, img0, img1, embt, scale_factor=1.0, eval=False, **kwargs)
algorithms/common/metrics/video/models/amt/amt_s.py:82
Methodforward
(self, net, flow, corr)
algorithms/common/metrics/video/models/amt/raft.py:78
Methodforward
(self, net, flow, corr)
algorithms/common/metrics/video/models/amt/raft.py:146
Methodforward
(self, x)
algorithms/common/metrics/video/models/raft/extractor.py:49
Methodforward
(self, x)
algorithms/common/metrics/video/models/raft/extractor.py:109
Methodforward
(self, x)
algorithms/common/metrics/video/models/raft/extractor.py:170
Methodforward
(self, x)
algorithms/common/metrics/video/models/raft/extractor.py:245
Methodforward
(self, images1: Tensor, images2: Tensor, iters: int)
algorithms/common/metrics/video/models/raft/__init__.py:31
Methodforward
(self, x)
algorithms/common/metrics/video/models/raft/update.py:13
Methodforward
(self, h, x)
algorithms/common/metrics/video/models/raft/update.py:24
Methodforward
(self, h, x)
algorithms/common/metrics/video/models/raft/update.py:58
Methodforward
(self, flow, corr)
algorithms/common/metrics/video/models/raft/update.py:85
Methodforward
(self, flow, corr)
algorithms/common/metrics/video/models/raft/update.py:104
Methodforward
(self, net, inp, corr, flow)
algorithms/common/metrics/video/models/raft/update.py:122
Methodforward
(self, net, inp, corr, flow, upsample=True)
algorithms/common/metrics/video/models/raft/update.py:145
Methodforward
Estimate optical flow between pair of frames
algorithms/common/metrics/video/models/raft/raft.py:80
Methodforward
( self, x: torch.Tensor, external_cond: Optional[torch.Tensor], k: torch.Tenso
algorithms/dfot/diffusion/discrete_diffusion.py:330
Methodforward
Given the timestep t within [0, 1], return the logSNR value at that timestep.
algorithms/dfot/diffusion/continuous_diffusion.py:29
Methodforward
( self, x: torch.Tensor, external_cond: Optional[torch.Tensor], k: torch.Tenso
algorithms/dfot/diffusion/continuous_diffusion.py:138
Methodforward
( self, x: torch.Tensor, noise_levels: torch.Tensor, external_cond: Optional[t
algorithms/dfot/backbones/base_backbone.py:62
Methodforward
(self, timesteps: torch.Tensor, mask: Optional[torch.Tensor] = None)
algorithms/dfot/backbones/modules/embeddings.py:46
Methodforward
(self, timesteps: torch.Tensor, mask: Optional[torch.Tensor] = None)
algorithms/dfot/backbones/modules/embeddings.py:86
Methodforward
(self, x)
algorithms/dfot/backbones/modules/embeddings.py:104
Methodforward
Args: x: a [... x N x ... x D] if flatten=False, [... x (N x ...) x D] if flatten=True tensor of queries or keys. Returns
algorithms/dfot/backbones/modules/embeddings.py:210
Methodforward
Randomly nullify the input embeddings with a probability p during training. For inference, the embeddings are nullified only if mask is provi
algorithms/dfot/backbones/modules/embeddings.py:298
Methodforward
(self, cond: torch.Tensor, mask: Optional[torch.Tensor] = None)
algorithms/dfot/backbones/modules/embeddings.py:337
Methodforward
Args: x: tensor to be patchified of shape (*B, C, H, W) Returns: patchified tensor of shape (*B, num_patches,
algorithms/dfot/backbones/modules/embeddings.py:368
Methodforward
Forward pass through the RMSNorm layer. Args: x (torch.Tensor): The input tensor. Returns: torch.Te
algorithms/dfot/backbones/modules/normalization.py:41
Methodforward
Forward pass of the U-ViT backbone, with pose conditioning. Args: x: Input tensor of shape (B, T, C, H, W). n
algorithms/dfot/backbones/u_vit/u_vit3d_pose.py:62
Methodforward
(self, x: Tensor)
algorithms/dfot/backbones/u_vit/u_vit_blocks.py:28
← previousnext →701–800 of 993, ranked by callers