MCPcopy Create free account

hub / github.com/andrewsonga/generative_view_stitching / functions

Functions993 in github.com/andrewsonga/generative_view_stitching

Methodon_load_checkpoint
(self, checkpoint: Dict[str, Any])
algorithms/vae/video_vae/trainer.py:53
Methodon_load_checkpoint
(self, checkpoint: dict)
algorithms/common/base_pytorch_algo.py:100
Methodon_load_checkpoint
(self, checkpoint: Dict[str, Any])
algorithms/dfot/dfot_video.py:1668
Methodon_save_checkpoint
save cfgs together to enable easily loading the pretrained model
algorithms/vae/image_vae/trainer.py:67
Methodon_save_checkpoint
(self, checkpoint: Dict[str, Any])
algorithms/vae/video_vae/trainer.py:70
Methodon_save_checkpoint
(self, checkpoint: Dict[str, Any])
algorithms/dfot/dfot_video.py:1658
Methodon_test_end
(self, trainer: Trainer, pl_module: LightningModule)
utils/lightning_utils.py:109
Methodon_test_epoch_end
(self)
algorithms/vae/video_vae/trainer.py:174
Methodon_test_epoch_end
(self)
algorithms/dfot/dfot_video.py:442
Methodon_test_epoch_start
(self)
algorithms/vae/video_vae/trainer.py:171
Methodon_test_epoch_start
(self)
algorithms/dfot/dfot_video.py:439
Methodon_test_start
(self, trainer: Trainer, pl_module: LightningModule)
utils/lightning_utils.py:105
Methodon_validation_end
(self, trainer: Trainer, pl_module: LightningModule)
utils/lightning_utils.py:101
Methodon_validation_epoch_end
(self)
algorithms/vae/image_vae/trainer.py:194
Methodon_validation_epoch_start
(self)
algorithms/vae/image_vae/trainer.py:191
Methodon_validation_start
(self, trainer: Trainer, pl_module: LightningModule)
utils/lightning_utils.py:97
Functiononce_per_key
()
utils/print_utils.py:58
Methodpad
(self, x: Tensor)
algorithms/common/metrics/video/models/raft/utils.py:27
Methodpartial_linear
A history segment that contains a frequency range that changes linearly over time.
algorithms/dfot/history_guidance.py:163
Methodpoints_in_frustum
Check if points are inside camera frustums. Args: points: Points to test, shape [B, P, Q, 3] where:
utils/retrieval_utils.py:584
Methodprepare
( self, x: torch.Tensor, from_noise_levels: torch.Tensor, to_noise_levels: tor
algorithms/dfot/history_guidance.py:969
Methodprepare
( self, x: torch.Tensor, from_noise_levels: torch.Tensor, to_noise_levels: tor
algorithms/dfot/history_guidance.py:1065
Methodprepare_clips
Only a single clip per video.
datasets/video/realestate10k_ood.py:59
Methodprepare_clips
(self)
datasets/video/realestate10k.py:701
Functionprint_once
(*args, **kwargs)
utils/print_utils.py:74
Methodq_mean_variance
(self, x_start, k)
algorithms/dfot/diffusion/discrete_diffusion.py:215
Functionrebase_reference_frame
(R_wc: Tensor, T_wc: Tensor)
utils/geometry_utils.py:611
Functionretrieve
Given a nested list or dict return the desired value at key expanding callable nodes if necessary and :attr:`expand` is ``True``. The expansion
algorithms/vae/common/losses/utils.py:56
Functionretrieve_support_frames
Retrieve support frames based on a distance function between conditions Args: query: Query conditions with shape [B, h, 16] - query
utils/retrieval_utils.py:807
Functionrun_ema_update_cpu
( ema_model_tuple, current_model_tuple, decay, pre_sync_stream=None )
utils/lightning_utils.py:179
Methodsample_points_in_frustum
(corners, cam_pos, num_points)
utils/retrieval_utils.py:519
Methodsave_ema_model
Saves an EMA copy of the model + EMA optimizer states for resume.
utils/lightning_utils.py:127
Methodsave_original_optimizer_state
(self, trainer: Trainer)
utils/lightning_utils.py:138
Functionsd_schedule
stable diffusion's noise schedule https://github.com/CompVis/stable-diffusion/blob/21f890f9da3cfbeaba8e2ac3c425ee9e998d5229/ldm/modules/diffu
algorithms/dfot/diffusion/noise_schedule.py:121
Functionsequence_loss
Loss function defined over sequence of flow predictions
algorithms/common/metrics/video/models/pips2.py:121
Methodsetup
(self, trainer: Trainer, pl_module: LightningModule, stage: str)
utils/lightning_utils.py:82
Functionsigmoid_schedule
sigmoid schedule proposed in https://arxiv.org/abs/2212.11972 - Figure 8 better for images > 64x64, when used during training
algorithms/dfot/diffusion/noise_schedule.py:104
Methodspatial_grid_size
(self)
algorithms/dfot/backbones/dit/dit_base.py:165
Methodstabilized_conditional
History guidance scheme equivalent to: conditional sampling with stabilization technique (Chen et al., https://arxiv.org/abs/2407.013
algorithms/dfot/history_guidance.py:721
Methodstabilized_conditional_on_ground_truth
History guidance scheme equivalent to: conditional sampling with stabilization technique (Chen et al., https://arxiv.org/abs/2407.013
algorithms/dfot/history_guidance.py:746
Methodstabilized_fractional
History guidance scheme equivalent to: HG-f with stabilization
algorithms/dfot/history_guidance.py:843
Methodstabilized_vanilla
History guidance scheme equivalent to: HG-v with stabilization
algorithms/dfot/history_guidance.py:792
Methodswap_ema_weights
r""" A context manager to in-place swap regular parameters with EMA parameters. It swaps back to the original regular paramete
utils/lightning_utils.py:328
Methodtemporal
History guidance scheme equivalent to: Temporal History Guidance (HG-t)
algorithms/dfot/history_guidance.py:872
Methodtest
All testing happens here
experiments/base_exp.py:220
Methodtest_dataloader
(self)
experiments/data_modules/base_data_module.py:57
Methodtest_step
(self, batch, batch_idx)
algorithms/vae/image_vae/preprocessor.py:39
Methodtest_step
(self, batch: torch.Tensor, batch_idx: int)
algorithms/vae/video_vae/trainer.py:217
Methodtest_step
(self, *args: Any, **kwargs: Any)
algorithms/dfot/dfot_video.py:436
Methodtesting
(self)
experiments/video_latent_preprocessing.py:33
Methodtrain
(self, mode: bool)
algorithms/common/metrics/video/models/laion.py:16
Methodtrain
(self, mode: bool)
algorithms/common/metrics/video/models/clip.py:28
Methodtrain
(self, mode: bool)
algorithms/common/metrics/video/models/musiq.py:17
Methodtrain
(self, mode: bool)
algorithms/common/metrics/video/models/dino.py:29
Methodtrain
(self, mode: bool)
algorithms/common/metrics/video/models/motion_extractor.py:16
Methodtrain
(self, mode: bool)
algorithms/common/metrics/video/models/amt/__init__.py:24
Methodtrain
(self, mode: bool)
algorithms/common/metrics/video/models/raft/__init__.py:27
Methodtrain_dataloader
(self)
experiments/data_modules/base_data_module.py:48
Methodtraining
All training happens here
experiments/base_exp.py:119
Methodtraining
(self)
experiments/video_latent_preprocessing.py:28
Methodtraining_step
(self, batch, batch_idx)
algorithms/vae/image_vae/preprocessor.py:34
Methodtraining_step
(self, batch, batch_idx)
algorithms/vae/image_vae/trainer.py:101
Methodtraining_step
r"""Here you compute and return the training loss and some additional metrics for e.g. the progress bar or logger. Args:
algorithms/common/base_pytorch_algo.py:38
Methodunpad
(self, x)
algorithms/common/metrics/video/models/raft/utils.py:30
Functionupdate
(frame)
utils/logging_utils.py:708
Methodupdate
Update the state with extracted features. Args: features: Features of shape (B, num_classes). The features are logits ext
algorithms/common/metrics/video/inception_score.py:34
Methodupdate
Update the metric with predicted videos. Args: preds: Predicted videos of shape (B, T, C, H, W), range [0, 1]
algorithms/common/metrics/video/depth_collision.py:203
Methodupdate
(self, preds: Tensor, conditions: Tensor)
algorithms/common/metrics/video/loop_consistency.py:100
Methodupdate
(self, preds: Tensor, conditions: Tensor)
algorithms/common/metrics/video/temporal_consistency.py:67
Methodupdate
(self, fake: Tensor, real: Tensor)
algorithms/common/metrics/video/base_fid.py:95
Methodupdate
Update internal states with lpips score.
algorithms/common/metrics/video/lpips.py:53
Methoduse_evaluation_subdataset
Check if using deterministic subdataset for evaluation
datasets/video/base_video.py:357
Methoduse_subdataset
Check if subdataset strategy is enabled
datasets/video/base_video.py:346
Methoduse_video_preprocessing
(self)
datasets/video/kinetics_600.py:80
Methodval_dataloader
(self)
experiments/data_modules/base_data_module.py:51
Methodval_dataloader
(self)
experiments/data_modules/val_data_module.py:6
Methodvalidation
All validation happens here
experiments/base_exp.py:183
Methodvalidation_step
(self, batch, batch_idx, dataloader_idx=0)
algorithms/vae/image_vae/preprocessor.py:44
Methodvalidation_step
(self, batch, batch_idx)
algorithms/vae/image_vae/trainer.py:197
Methodvanilla
History guidance scheme equivalent to: Vanilla History Guidance (HG-v)
algorithms/dfot/history_guidance.py:772
Functionvanilla_d_loss
(logits_real, logits_fake)
algorithms/vae/common/losses/perceptual_loss.py:26
Functionversion_to_int
Convert versions of the form vX to X. For example, v12 to 12.
utils/ckpt_utils.py:54
Methodvideo_length
(self, video_metadata: Dict[str, Any])
datasets/video/minecraft.py:60
Functionvideo_to_image
(func: Callable)
algorithms/vae/common/modules/ops.py:6
Functionvisualize_conditions
Visualize the conditions (camera poses) for a video. Args: conditions: Tensor of shape [B, T, 16] containing camera poses
utils/logging_utils.py:287
Functionweights_init
(m)
algorithms/vae/common/losses/discriminator.py:92
Functionweights_init_conv
(m)
algorithms/vae/common/losses/discriminator.py:101
Functionwrapped_decode
(self, z: torch.Tensor)
algorithms/vae/image_vae/trainer.py:360
Functionwrapped_encode
(self, x: torch.Tensor)
algorithms/vae/image_vae/trainer.py:354
Functionwrapped_forward
( self, sample: torch.Tensor, sample_posterior: bool = True )
algorithms/vae/image_vae/trainer.py:365
Functionwrapper
(*args, **kwargs)
utils/print_utils.py:62
Functionwrapper
(self, x: torch.Tensor, *args, **kwargs)
algorithms/vae/common/modules/ops.py:7
Functionwrapper
(*args: Any, **kwargs: Any)
algorithms/common/metrics/video/utils.py:14
← previous901–993 of 993, ranked by callers