MCPcopy Create free account

hub / github.com/andrewsonga/generative_view_stitching / functions

Functions993 in github.com/andrewsonga/generative_view_stitching

↓ 1 callersMethodreverse
(self, output)
algorithms/vae/common/losses/discriminator.py:68
↓ 1 callersFunctionrotation_angle
( R1: Float[Tensor, "... t i j"], R2: Float[Tensor, "... t i j"], eps: float = 1e-8, )
utils/retrieval_utils.py:964
↓ 1 callersFunctionrun
(cfg: DictConfig)
main.py:214
↓ 1 callersFunctionrun_local
(cfg: DictConfig)
main.py:39
↓ 1 callersFunctionrun_slurm
(cfg: DictConfig)
main.py:141
↓ 1 callersMethodsave_frame
(self)
algorithms/dfot/history_guidance.py:283
↓ 1 callersMethodsetup
(self)
datasets/video/kinetics_600.py:305
↓ 1 callersFunctionshift_beta_schedule
scale alphas_cumprod so that SNR is multiplied by shift ** 2
algorithms/dfot/diffusion/noise_schedule.py:131
↓ 1 callersFunctionspatial_average
(x, keepdim=True)
algorithms/vae/common/losses/lpips.py:132
↓ 1 callersFunctionsubmit_slurm_job
( cfg: DictConfig, python_args: str, project_root: Path, )
utils/cluster_utils.py:16
↓ 1 callersFunctionsuppress_print
()
utils/print_utils.py:14
↓ 1 callersMethodswap_tensors
(self, tensor1, tensor2)
utils/lightning_utils.py:315
↓ 1 callersFunctiontest_identical_cameras_fov_distance
Test that identical cameras have FOV distance of 0.
utils/retrieval_utils.py:1004
↓ 1 callersFunctiontest_panorama_distances
Test distance metrics on a panorama trajectory
utils/retrieval_utils.py:1107
↓ 1 callersMethodto_gif
(self)
algorithms/dfot/history_guidance.py:296
↓ 1 callersMethodto_noise_levels
Convert the history segment to two partial history conditions, whose conditional scores are subtracted to get the composed score.
algorithms/dfot/history_guidance.py:106
↓ 1 callersMethodto_pos_encoding
Returns the rays represented as positional encoding. Follows NeRF to map the rays into a higher-dimensional space. Args:
utils/geometry_utils.py:61
↓ 1 callersMethodtrain
(self, mode: bool)
algorithms/common/metrics/video/models/i3d.py:28
↓ 1 callersMethodtraining_step
( self, batch: torch.Tensor, batch_idx: int, namespace: str = "training",
algorithms/vae/video_vae/trainer.py:109
↓ 1 callersMethodtraining_step
Training step
algorithms/dfot/dfot_video.py:324
↓ 1 callersMethodunpad
(self, *inputs)
algorithms/common/metrics/video/models/amt/utils.py:50
↓ 1 callersFunctionunwrap_shortcuts
Unwrap shortcuts by replacing them with commands from corresponding yaml files. All shortcuts should be in the form of `@shortcut_name`.
utils/hydra_utils.py:39
↓ 1 callersMethodupdate
(self, update_value: torch.Tensor)
utils/guidance_utils.py:8
↓ 1 callersMethodupdate
Update the state with the video. Args: videos: Videos of shape (B, T, C, H, W) and range [0, 1].
algorithms/common/metrics/video/vbench/vbench.py:99
↓ 1 callersFunctionupflow8
(flow, mode="bilinear")
algorithms/common/metrics/video/models/raft/utils.py:94
↓ 1 callersMethodupsample_flow
Upsample flow field [H/8, W/8, 2] -> [H, W, 2] using convex combination
algorithms/common/metrics/video/models/raft/raft.py:67
↓ 1 callersMethodvalidation_step
( self, batch: torch.Tensor, batch_idx: int, namespace: str = "validation" )
algorithms/vae/video_vae/trainer.py:177
↓ 1 callersMethodvalidation_step
( self, batch, batch_idx, dataloader_idx=0, namespace="validation" )
algorithms/dfot/dfot_video.py:370
↓ 1 callersMethodvideo_path_to_preprocessed_path
(self, video_path: Path)
datasets/video/realestate10k.py:206
↓ 1 callersFunctionvideos_as_images
Wrapper that enables a function that operates on a batch of images to operate on a batch of videos. Can also be used as a decorator.
algorithms/common/metrics/video/utils.py:6
↓ 1 callersMethodweight_score
Weight the score (shape: (,)) with the dimension weight.
algorithms/common/metrics/video/vbench/vbench.py:43
↓ 1 callersFunctionwrap_decode
(decode: Callable)
algorithms/vae/image_vae/trainer.py:359
↓ 1 callersFunctionwrap_encode
(encode: Callable)
algorithms/vae/image_vae/trainer.py:353
↓ 1 callersMethodwrapper
(*args, **kwargs)
utils/print_utils.py:43
Method__call__
(self, func)
utils/print_utils.py:41
Method__call__
Compute distances between query and candidate conditions Args: query_conditions: Tensor of shape (B, h, C) c
utils/retrieval_utils.py:33
Method__call__
Compute rotation angle differences between query and candidate poses Args: query_conditions: Query camera poses with sha
utils/retrieval_utils.py:83
Method__call__
Compute L2 distances between query and candidate camera positions Args: query_conditions: Query camera poses with shape
utils/retrieval_utils.py:143
Method__call__
Compute L2 distances between query and candidate image centers Args: query_conditions: Query camera poses with shape [B,
utils/retrieval_utils.py:221
Method__call__
Compute weighted combination of rotation and translation distances Args: query_conditions: Query camera poses with shape
utils/retrieval_utils.py:286
Method__call__
Compute distances that decrease linearly with time, ignoring actual poses. First frame gets minimal distance (maximal similarity), in
utils/retrieval_utils.py:335
Method__call__
Compute distances based on field of view overlap between cameras. Smaller distance means more overlap. Args: que
utils/retrieval_utils.py:746
Method__call__
( self, images: torch.Tensor # (*batch, c, h, w) )
datasets/video/utils/transform.py:19
Method__call__
(self, coords0, coords1)
algorithms/common/metrics/video/models/amt/raft.py:193
Method__call__
(self, coords)
algorithms/common/metrics/video/models/raft/corr.py:23
Method__call__
Initialize the history guidance manager. This should be called at every sampling step. Args ---- mask: torch
algorithms/dfot/history_guidance.py:634
Method__enter__
(self)
utils/print_utils.py:49
Method__enter__
Precompute all partial history conditions and corresponding weights needed for sampling. While history guidance can be computed by do
algorithms/dfot/history_guidance.py:358
Method__enter__
(self)
algorithms/dfot/history_guidance.py:963
Method__enter__
(self)
algorithms/dfot/history_guidance.py:1059
Method__exit__
(self, exc_type, exc_value, traceback)
utils/print_utils.py:54
Method__exit__
(self, exc_type, exc_value, traceback)
algorithms/dfot/history_guidance.py:440
Method__exit__
(self, exc_type, exc_value, traceback)
algorithms/dfot/history_guidance.py:966
Method__exit__
(self, exc_type, exc_value, traceback)
algorithms/dfot/history_guidance.py:1062
Method__getattr__
(self, name)
utils/lightning_utils.py:347
Method__getitem__
(self, idx: int)
datasets/video/realestate10k_ood.py:65
Method__getitem__
(self, idx: int)
datasets/video/realestate10k.py:358
Method__getitem__
(self, idx: int)
datasets/video/realestate10k.py:712
Method__getitem__
(self, idx: int)
datasets/video/realestate10k.py:946
Method__getitem__
loads video together with the path where latent should be saved
datasets/video/base_video.py:278
Method__getitem__
(self, idx: int)
datasets/video/base_video.py:522
Method__getitem__
(self, model_type: VideoMetricModelType)
algorithms/common/metrics/video/shared_registry.py:65
Method__init__
Args: origin (torch.Tensor): The origin of the rays. Shape (B, T, H, W, 3). direction (torch.Tensor): The direction o
utils/geometry_utils.py:27
Method__init__
Args: R (torch.Tensor): The rotation matrix. Shape (B, T, 3, 3). T (torch.Tensor): The translation vector. Shape (B,
utils/geometry_utils.py:94
Method__init__
( self, enable: bool = True, decay: float = 0.0, validate_original_weights: bo
utils/lightning_utils.py:42
Method__init__
( self, optimizer: torch.optim.Optimizer, device: torch.device, decay: float =
utils/lightning_utils.py:229
Method__init__
(self, category=Warning)
utils/print_utils.py:38
Method__init__
( self, name: Optional[str] = None, save_dir: _PATH = ".", version: Optional[s
utils/wandb_utils.py:50
Method__init__
( self, query_aggregation: QueryAggregation = "last", max_distance_threshold: Optional
utils/retrieval_utils.py:24
Method__init__
( self, query_aggregation: QueryAggregation = "last", max_distance_threshold: Optional
utils/retrieval_utils.py:76
Method__init__
( self, query_aggregation: QueryAggregation = "last", max_distance_threshold: Optional
utils/retrieval_utils.py:136
Method__init__
( self, extension_distance: float = 2.0, query_aggregation: QueryAggregation = "last",
utils/retrieval_utils.py:190
Method__init__
( self, query_aggregation: QueryAggregation = "last", max_distance_threshold: Optional
utils/retrieval_utils.py:328
Method__init__
(self, momentum: float)
utils/guidance_utils.py:4
Method__init__
( self, root_cfg: DictConfig, logger: Optional[WandbLogger] = None, ckpt_path:
experiments/base_exp.py:107
Method__init__
(self, root_cfg: DictConfig, compatible_datasets: Dict)
experiments/data_modules/base_data_module.py:10
Method__init__
( self, cfg: DictConfig, split: SPLIT = "training", current_epoch: Optional[in
datasets/video/kinetics_600.py:292
Method__init__
( self, cfg: DictConfig, split: SPLIT = "training", current_epoch: Optional[in
datasets/video/realestate10k_mini.py:19
Method__init__
( self, cfg: DictConfig, split: SPLIT = "training", current_epoch: Optional[in
datasets/video/realestate10k_ood.py:16
Method__init__
( self, cfg: DictConfig, split: str = "training", current_epoch: Optional[int]
datasets/video/minecraft.py:89
Method__init__
( self, cfg: DictConfig, split: SPLIT = "training", current_epoch: Optional[in
datasets/video/realestate10k.py:276
Method__init__
( self, cfg: DictConfig, split: SPLIT = "training", current_epoch: Optional[in
datasets/video/realestate10k.py:439
Method__init__
( self, cfg: DictConfig, split: SPLIT = "training", current_epoch: Optional[in
datasets/video/realestate10k.py:882
Method__init__
(self, cfg: DictConfig, split: SPLIT = "training")
datasets/video/base_video.py:257
Method__init__
( self, cfg: DictConfig, split: SPLIT = "training", current_epoch: Optional[in
datasets/video/base_video.py:301
Method__init__
(self, shape: tuple[int, int])
datasets/video/utils/transform.py:16
Method__init__
(self, cfg: DictConfig)
algorithms/vae/image_vae/preprocessor.py:18
Method__init__
( self, cfg: DictConfig, )
algorithms/vae/image_vae/trainer.py:30
Method__init__
( self, *, ch, out_ch, ch_mult=(1, 2, 4, 8), num_res_blocks,
algorithms/vae/image_vae/model.py:129
Method__init__
(self, parameters, deterministic=False)
algorithms/vae/common/distribution.py:7
Method__init__
(self, in_channels, out_channels, with_conv=True)
algorithms/vae/common/modules/updownsample.py:28
Method__init__
( self, chan_in, chan_out, kernel_size: Union[int, Tuple[int]] = (3, 3),
algorithms/vae/common/modules/updownsample.py:50
Method__init__
( self, chan_in, chan_out, kernel_size: Union[int, Tuple[int]] = (3, 3),
algorithms/vae/common/modules/updownsample.py:84
Method__init__
(self, in_channels, out_channels, is_causal=True, is_first=False)
algorithms/vae/common/modules/updownsample.py:116
Method__init__
(self, in_channels, out_channels, is_causal=True)
algorithms/vae/common/modules/updownsample.py:154
Method__init__
(self, dim, heads=4, dim_head=32)
algorithms/vae/common/modules/attention.py:10
Method__init__
(self, in_channels)
algorithms/vae/common/modules/attention.py:35
Method__init__
(self, in_channels, is_causal=True)
algorithms/vae/common/modules/attention.py:101
Method__init__
( self, chan_in, chan_out, kernel_size: Union[int, Tuple[int, int, int]],
algorithms/vae/common/modules/conv.py:42
Method__init__
( self, *, in_channels, out_channels=None, conv_shortcut=False,
algorithms/vae/common/modules/resnet.py:62
← previousnext →401–500 of 993, ranked by callers