MCPcopy Create free account

hub / github.com/andrewsonga/generative_view_stitching / functions

Functions993 in github.com/andrewsonga/generative_view_stitching

Methodforward
(self, x: Tensor)
algorithms/dfot/backbones/u_vit/u_vit_blocks.py:47
Methodforward
Forward pass of the ResNet block. Args: x: Input tensor of shape (B, C, H, W). emb: Embedding tensor of shape
algorithms/dfot/backbones/u_vit/u_vit_blocks.py:79
Methodforward
Forward pass of the conditioning block. Args: x: Input tensor of shape (B, N, C). emb: Embedding tensor of sh
algorithms/dfot/backbones/u_vit/u_vit_blocks.py:106
Methodforward
Forward pass of the attention block. Args: x: Input tensor of shape (B, N, C). emb: Embedding tensor of shape
algorithms/dfot/backbones/u_vit/u_vit_blocks.py:140
Methodforward
Forward pass of the transformer block. Args: x: Input tensor of shape (B, N, C). emb: Embedding tensor of sha
algorithms/dfot/backbones/u_vit/u_vit_blocks.py:237
Methodforward
(self, x: Tensor)
algorithms/dfot/backbones/u_vit/u_vit_blocks.py:314
Methodforward
(self, x: Tensor)
algorithms/dfot/backbones/u_vit/u_vit_blocks.py:331
Methodforward
Forward pass of the U-ViT backbone. Args: x: Input tensor of shape (B, T, C, H, W). noise_levels: Noise level
algorithms/dfot/backbones/u_vit/u_vit3d.py:287
Methodforward
( self, x: torch.Tensor, noise_levels: torch.Tensor, external_cond: Optional[t
algorithms/dfot/backbones/dit/dit3d_pose.py:73
Methodforward
Forward pass of the DiTBase model. Args: x: Input tensor of shape (B, N, C). c: Conditioning tensor of shape
algorithms/dfot/backbones/dit/dit_base.py:203
Methodforward
(self, x: torch.Tensor)
algorithms/dfot/backbones/dit/dit_base.py:346
Methodforward
( self, x: torch.Tensor, noise_levels: torch.Tensor, external_cond: Optional[t
algorithms/dfot/backbones/dit/dit3d.py:118
Methodforward
(self, x: torch.Tensor)
algorithms/dfot/backbones/dit/dit_blocks.py:51
Methodforward
Forward pass of the AdaLN layer. Args: x: Input tensor of shape (B, N, C). c: Conditioning tensor of shape (B
algorithms/dfot/backbones/dit/dit_blocks.py:105
Methodforward
Forward pass of the AdaLN-Zero layer. Args: x: Input tensor of shape (B, N, C). c: Conditioning tensor of sha
algorithms/dfot/backbones/dit/dit_blocks.py:135
Methodforward
Forward pass of the DiT block. In original implementation, conditioning is uniform across all tokens in the sequence. Here, we extend
algorithms/dfot/backbones/dit/dit_blocks.py:196
Methodforward
Forward pass of the DiT final layer. Args: x: Input tensor of shape (B, N, C). c: Conditioning tensor of shap
algorithms/dfot/backbones/dit/dit_blocks.py:232
Methodforward
(self, x, *args, **kwargs)
algorithms/dfot/backbones/u_net/u_net3d.py:20
Methodforward
( self, x: torch.Tensor, noise_levels: torch.Tensor, external_cond: Optional[t
algorithms/dfot/backbones/u_net/u_net3d.py:177
Methodforward
(self, x: torch.Tensor, emb: Optional[torch.Tensor] = None)
algorithms/dfot/backbones/u_net/u_net_blocks.py:48
Methodforward
(self, x)
algorithms/dfot/backbones/u_net/u_net_blocks.py:75
Methodforward
( self, hidden_states: torch.Tensor, is_causal: bool = False, attn_mask: Optio
algorithms/dfot/backbones/u_net/u_net_blocks.py:126
Methodforward
( self, x: torch.Tensor, is_causal: bool = False, attn_mask: Optional[torch.Te
algorithms/dfot/backbones/u_net/u_net_blocks.py:204
Methodforward
( self, x: torch.Tensor, is_causal: bool = False, attn_mask: Optional[torch.Te
algorithms/dfot/backbones/u_net/u_net_blocks.py:233
Methodforward
x ~ (b t c) attn_mask ~ (b t t)
algorithms/dfot/backbones/u_net/u_net_blocks.py:281
Methodforward
(self, x: torch.Tensor, *args, **kwargs)
algorithms/dfot/backbones/u_net/u_net_blocks.py:304
Methodforward
(self, x: torch.Tensor, *args, **kwargs)
algorithms/dfot/backbones/u_net/u_net_blocks.py:318
Methodforward
(self, x: torch.Tensor, attn_mask: Optional[torch.Tensor] = None)
algorithms/dfot/backbones/u_net/u_net_blocks.py:334
Methodforward
( self, x: torch.Tensor, emb: torch.Tensor, )
algorithms/dfot/backbones/u_net/u_net_blocks.py:343
Functionforward_interpolate
(flow)
algorithms/common/metrics/video/models/raft/utils.py:36
Methodfractional
History guidance scheme equivalent to: Fractional History Guidance (HG-f)
algorithms/dfot/history_guidance.py:819
Methodfreeze_bn
(self)
algorithms/common/metrics/video/models/raft/raft.py:53
Methodfrom_pretrained
(cls, path: str, **kwargs)
algorithms/vae/video_vae/model.py:501
Methodget_camera_positions
(poses)
utils/retrieval_utils.py:502
Methodget_diffusion_softmask
(num_windows, max_tokens, height, width, device)
algorithms/dfot/stochsync_video_pose.py:328
Functionget_frustum
Get the frustum of the camera. Args: K: [..., 4] or [..., 3, 3] uv_range: [H, W] or [[H_min, H_max], [W_min, W_max]]
utils/geometry_utils.py:446
Functionget_random_start_goal
(env_id, batch_size)
utils/logging_utils.py:544
Functionhinge_d_loss
(logits_real, logits_fake)
algorithms/vae/common/losses/perceptual_loss.py:19
Methodidx_to_epoch_and_idx
(idx: int)
datasets/video/base_video.py:393
Methodin_channels
(self)
algorithms/dfot/backbones/dit/dit3d_pose.py:35
Methodin_channels
(self)
algorithms/dfot/backbones/dit/dit3d.py:67
Methodindex_reduce_mean
(placeholder, indices, source)
algorithms/dfot/gvs_video_pose.py:424
Methodindex_reduce_mean
(placeholder, indices, source)
algorithms/dfot/stochsync_video_pose.py:680
Methodindex_reduce_mean
(placeholder, indices, source)
algorithms/dfot/gvs_no_omniguide_video_pose.py:445
Methodindex_reduce_mean
(placeholder, indices, source)
algorithms/dfot/gvs_scalable_video_pose.py:450
Methodinitialize_weights
(self)
algorithms/dfot/backbones/dit/dit3d_pose.py:68
Methodis_empty
(self)
algorithms/common/metrics/video/inception_score.py:30
Methodis_empty
(self)
algorithms/common/metrics/video/base_fid.py:64
Methodis_factorized
(self)
algorithms/dfot/backbones/dit/dit_base.py:153
Methodis_pos_emb_absolute_factorized
(self)
algorithms/dfot/backbones/dit/dit_base.py:161
Methodis_pos_emb_absolute_once
(self)
algorithms/dfot/backbones/dit/dit_base.py:157
Methodis_resumable
(self)
experiments/data_modules/resumable_data_module.py:15
Functionl1
(x, y)
algorithms/vae/common/losses/perceptual_loss.py:34
Functionl2
(x, y)
algorithms/vae/common/losses/perceptual_loss.py:38
Methodload_cond
( self, video_metadata: Dict[str, Any], start_frame: int, end_frame: int )
datasets/video/kinetics_600.py:308
Methodload_cond
( self, video_metadata: Dict[str, Any], start_frame: int, end_frame: int )
datasets/video/minecraft.py:99
Methodload_cond
( self, video_metadata: Dict[str, Any], start_frame: int, end_frame: int )
datasets/video/realestate10k.py:921
Methodload_metadata
Only filter videos with camera rotation within the specified range.
datasets/video/realestate10k_ood.py:48
Methodload_video
( self, video_metadata: Dict[str, Any], start_frame: int, end_frame: int )
datasets/video/kinetics_600.py:246
Methodlog_gradient_stats
Log gradient statistics such as the mean or std of norm.
algorithms/common/base_pytorch_algo.py:223
Methodlog_image
Log image(s) using WandbLogger. Args: key: the name of the video. image: a single image or a batch of images.
algorithms/common/base_pytorch_algo.py:168
Methodlog_metrics
( self, metrics: Mapping[str, float], step: Optional[int] = None )
utils/wandb_utils.py:200
Methodlog_video
Log video to wandb. WandbLogger in pytorch lightning does not support video logging yet, so we call wandb directly. Args:
algorithms/common/base_pytorch_algo.py:115
Functionmake_convergence_animation
( env_id, plan_history, trajectory, start, goal, open_loop_horizon, namespace,
utils/logging_utils.py:667
Functionmake_mpc_animation
( env_id, plan_history, trajectory, start, goal, open_loop_horizon, namespace,
utils/logging_utils.py:757
Functionmake_trajectory_images
( env_id, trajectory, batch_size, start, goal, plot_end_points=True )
utils/logging_utils.py:632
Methodmax_frames
(self)
algorithms/dfot/dfot_video.py:237
Methodmax_logsnr
Return the maximum logSNR value.
algorithms/dfot/diffusion/continuous_diffusion.py:35
Methodmax_logsnr
(self)
algorithms/dfot/diffusion/continuous_diffusion.py:82
Methodmax_tokens
(self)
algorithms/dfot/dfot_video.py:241
Methodmin_logsnr
Return the minimum logSNR value.
algorithms/dfot/diffusion/continuous_diffusion.py:41
Methodmin_logsnr
(self)
algorithms/dfot/diffusion/continuous_diffusion.py:88
Methodmodel_predictions
(self, x, k, external_cond=None, external_cond_mask=None)
algorithms/dfot/diffusion/continuous_diffusion.py:116
Methodn_context_frames
(self)
algorithms/dfot/dfot_video.py:255
Methodn_context_tokens
(self)
algorithms/dfot/dfot_video.py:263
Methodn_frames
(self)
algorithms/dfot/dfot_video.py:251
Methodn_support_tokens
(self)
algorithms/dfot/dfot_rag_video_pose.py:29
Methodn_tokens
(self)
algorithms/dfot/dfot_video.py:259
Methodnfe
Number of Function Evaluations (NFE) per batch & sampling step.
algorithms/dfot/history_guidance.py:354
Methodnfe
(self)
algorithms/dfot/history_guidance.py:960
Methodnfe
# assuming mask.shape = (batch_size, nfe, seq_len) return self.mask.shape[1]
algorithms/dfot/history_guidance.py:1051
Methodnll
(self, sample, dims=[1, 2, 3])
algorithms/vae/common/distribution.py:45
Methodnoise_level_dim
(self)
algorithms/dfot/backbones/base_backbone.py:48
Methodnoise_level_dim
(self)
algorithms/dfot/backbones/u_vit/u_vit3d.py:191
Methodnoise_level_dim
(self)
algorithms/dfot/backbones/dit/dit3d.py:92
Methodnoise_level_emb_dim
(self)
algorithms/dfot/backbones/base_backbone.py:53
Methodnoise_level_emb_dim
(self)
algorithms/dfot/backbones/u_vit/u_vit3d.py:195
Methodnoise_level_emb_dim
(self)
algorithms/dfot/backbones/dit/dit3d.py:96
Methodnoise_level_emb_dim
(self)
algorithms/dfot/backbones/u_net/u_net3d.py:170
Methodnormalize_by_middle
Normalizes the camera poses by the first camera, i.e. computes the relative poses w.r.t. the first camera. After normalization, the f
utils/geometry_utils.py:138
Functionnormalized_guidance
( pred_cond: torch.Tensor, # [B, C, H, W] pred_uncond: torch.Tensor, # [B, C, H, W] guidance_scale
utils/guidance_utils.py:23
Methodon_after_batch_transfer
( self, batch: tuple, dataloader_idx: int = 0 )
algorithms/vae/image_vae/trainer.py:94
Methodon_after_batch_transfer
( self, batch: Dict[str, torch.Tensor], dataloader_idx: int = 0 )
algorithms/vae/video_vae/trainer.py:103
Methodon_after_batch_transfer
Preprocess the batch before training/validation. Args: batch (Dict): The batch of data. Contains "videos" or "latents",
algorithms/dfot/dfot_video.py:270
Methodon_before_optimizer_step
(self, optimizer: Optimizer)
algorithms/dfot/dfot_video.py:355
Methodon_before_prepare_clips
(self)
datasets/video/kinetics_600.py:302
Methodon_before_prepare_clips
(self)
datasets/video/realestate10k.py:695
Methodon_before_prepare_clips
(self)
datasets/video/realestate10k.py:918
Methodon_fit_start
(self, trainer: Trainer, pl_module: LightningModule)
utils/lightning_utils.py:62
Methodon_load_checkpoint
Enable loading EMA-enabled optimizer states to EMA-disabled optimizer states.
utils/lightning_utils.py:148
← previousnext →801–900 of 993, ranked by callers