MCPcopy Create free account

hub / github.com/cvlab-kaist/PF3plat / functions

Functions843 in github.com/cvlab-kaist/PF3plat

Method__repr__
(self, _repr_indent=4)
src/model/unidepth/layers/positional_encoding.py:61
Method_forward
(self, x, emb=None)
src/model/encoder/costvolume/ldm_unet/unet.py:287
Method_forward
(self, x)
src/model/encoder/costvolume/ldm_unet/unet.py:366
Method_forward
(self, x, context=None)
src/model/encoder/costvolume/ldm_unet/attention.py:211
Function_func
(tensor)
src/model/LightGlue/lightglue/utils.py:58
Method_get_parameters
(self, *args, **kwargs)
src/model/unidepth/utils/ema_torch.py:22
Method_init_weights
(self, module)
src/model/unidepth/backbones/convnext.py:460
Method_init_weights
(self, m)
src/model/unidepth/backbones/convnext2.py:260
Method_init_weights
(self, m)
src/model/unidepth/backbones/metadinov2/dino_head.py:38
Method_init_weights
(self, m)
src/model/unidepth/unidepthv2/decoder.py:358
Functionadd_padding_metas
(out, image_metas)
src/model/unidepth/utils/misc.py:348
Functionadd_text
( idx, text, pos=(0.01, 0.99), fs=15, color="w", lcolor="k", lwidth=2, ha="lef
src/model/LightGlue/lightglue/viz2d.py:168
Functionalign_cpa_ransac
Estimate pairwise alignment from a list of correspondences Args: corr_P (FloatTensor): Correspondnces P corr_Q (_type_): _descrip
src/flow_util.py:926
Functionapply_bounds_shim
Compute reasonable near and far planes (lower and upper bounds on depth). This assumes that all of an example's views are of roughly the same thin
src/dataset/shims/bounds_shim.py:40
Functionapply_color_map_2d
( x: Float[Tensor, "*#batch"], y: Float[Tensor, "*#batch"], )
src/visualization/color_map.py:30
Methodattn
( self, x: torch.Tensor, attn_bias: torch.Tensor | None = None, context: torch
src/model/unidepth/layers/nystrom_attention.py:38
Methodattn_residual_func
(x: torch.Tensor)
src/model/unidepth/backbones/metadinov2/block.py:85
Methodattn_residual_func
(x: torch.Tensor, attn_bias=None)
src/model/unidepth/backbones/metadinov2/block.py:237
Methodaverage_parameters
(self, *args, **kwargs)
src/model/unidepth/utils/ema_torch.py:41
Methodaverage_parameters
r""" Context manager for validation/inference with averaged parameters. Equivalent to: ema.store() ema.copy_
src/model/unidepth/utils/ema_torch.py:219
Methodbackward
(ctx, *output_grads)
src/model/encoder/costvolume/ldm_unet/util.py:131
Functionbarrier
()
src/model/unidepth/utils/distributed.py:33
Functionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/model/encoder/costvolume/ldm_unet/util.py:77
Methodbuild
(cls, config)
src/model/unidepth/backbones/convnext.py:517
Methodbuild
(cls, config)
src/model/unidepth/backbones/convnext2.py:286
Functioncalculate_mean_values
(names, values)
src/model/unidepth/utils/misc.py:387
Functioncm_RdGn
Custom colormap: red (0) -> yellow (0.5) -> green (1).
src/model/LightGlue/lightglue/viz2d.py:15
Functioncm_prune
Custom colormap to visualize pruning
src/model/LightGlue/lightglue/viz2d.py:33
Functioncollate
Merge nested dictionaries of tensors.
src/misc/collation.py:8
Functioncolor_function
( xy: Float[Tensor, "point 2"], )
src/visualization/drawing/points.py:40
Functioncombined_shim
(batch)
src/dataset/data_module.py:27
Methodconfigure_optimizers
(self)
src/model/model_wrapper.py:780
Methodconvert_images
( self, images: list[UInt8[Tensor, "..."]], )
src/dataset/dataset_re10k_test.py:131
Methodconvert_images
( self, images: list[UInt8[Tensor, "..."]], )
src/dataset/dataset_acid_test.py:128
Functionconvert_module_to_f16
(x)
src/model/encoder/costvolume/ldm_unet/unet.py:26
Functionconvert_module_to_f16
Convert primitive modules to float16.
src/model/unidepth/utils/misc.py:46
Functionconvert_module_to_f32
(x)
src/model/encoder/costvolume/ldm_unet/unet.py:29
Functionconvert_module_to_f32
Convert primitive modules to float32, undoing convert_module_to_f16().
src/model/unidepth/utils/misc.py:56
Functionconvert_pixel_to_world
( xy: Float[Tensor, "*batch 2"], )
src/visualization/drawing/coordinate_conversion.py:39
Methodconvert_poses
( self, poses: Float[Tensor, "batch 18"], )
src/dataset/dataset_re10k_test.py:108
Methodconvert_poses
( self, poses: Float[Tensor, "batch 18"], )
src/dataset/dataset_acid_test.py:105
Methodconvert_to_fp16
Convert the torso of the model to float16.
src/model/encoder/costvolume/ldm_unet/unet.py:1082
Methodconvert_to_fp32
Convert the torso of the model to float32.
src/model/encoder/costvolume/ldm_unet/unet.py:1090
Functionconvert_world_to_pixel
( xy: Float[Tensor, "*batch 2"], )
src/visualization/drawing/coordinate_conversion.py:34
Functionconvnext_large
(config, **kwargs)
src/model/unidepth/encoder.py:127
Functionconvnext_large_pt
(config, **kwargs)
src/model/unidepth/encoder.py:105
Functionconvnextv2_base
(config, **kwargs)
src/model/unidepth/encoder.py:20
Functionconvnextv2_huge
(config, **kwargs)
src/model/unidepth/encoder.py:71
Functionconvnextv2_huge_mae
(config, **kwargs)
src/model/unidepth/encoder.py:88
Functionconvnextv2_large
(config, **kwargs)
src/model/unidepth/encoder.py:37
Functionconvnextv2_large_mae
(config, **kwargs)
src/model/unidepth/encoder.py:54
Methodcopy_to
(self, *args, **kwargs)
src/model/unidepth/utils/ema_torch.py:31
Methodcorrelation
src_feat = src_feat / (src_feat.norm(dim=1, p=2, keepdim=True) + eps) trg_feat = trg_feat / (trg_feat.norm(dim=1, p=2, keepdim=True) + eps)
src/model/encoder/costvolume/depth_predictor_multiview.py:289
Methodcount_flops
(model, _x, y)
src/model/encoder/costvolume/ldm_unet/unet.py:569
Methodcount_flops
(model, _x, y)
src/model/encoder/costvolume/ldm_unet/unet.py:603
Functiond1_ssi
(tensor1, tensor2)
src/model/unidepth/utils/evaluation_depth.py:73
Functiond_auc
(tensor1, tensor2)
src/model/unidepth/utils/evaluation_depth.py:78
Methodd_in
(self)
src/model/encoder/common/gaussian_adapter.py:118
Methodd_out
(self, dimensionality: int)
src/model/encodings/positional_encoding.py:35
Methodd_sh
(self)
src/model/encoder/common/gaussian_adapter.py:114
Methoddata_stage
(self)
src/dataset/dataset_re10k.py:262
Methoddata_stage
(self)
src/dataset/dataset_dl3dv.py:265
Methoddata_stage
(self)
src/dataset/dataset_dl3dv_test.py:268
Methoddata_stage
(self)
src/dataset/dataset_re10k_test.py:150
Methoddata_stage
(self)
src/dataset/dataset_acid_test.py:147
Methoddepth_map
(result)
src/model/model_wrapper.py:522
Methoddepth_map_unlog
(result)
src/model/model_wrapper.py:528
Functiondinov2_vitb14
DINOv2 ViT-B/14 model (optionally) pretrained on the LVD-142M dataset.
src/model/unidepth/encoder.py:158
Functiondinov2_vitl14
DINOv2 ViT-L/14 model (optionally) pretrained on the LVD-142M dataset.
src/model/unidepth/encoder.py:177
Functiondinov2_vits14
DINOv2 ViT-S/14 model (optionally) pretrained on the LVD-142M dataset.
src/model/unidepth/encoder.py:139
Functiondivisible_by
(numer, denom)
src/model/unidepth/utils/misc.py:178
Functiondownsample
(data, downsample_factor = 2)
src/model/unidepth/utils/geometric.py:205
Functionelu_feature_map
(x)
src/model/encoder/aggregation.py:13
Functioneuclidean_to_spherical
(spherical_tensor)
src/model/unidepth/utils/geometric.py:90
Functioneuclidean_to_spherical_zbuffer
(euclidean_tensor)
src/model/unidepth/utils/geometric.py:106
Functioneval_depth
( gts: torch.Tensor, preds: torch.Tensor, masks: torch.Tensor, max_depth=None )
src/model/unidepth/utils/evaluation_depth.py:142
Functionextract_into_tensor
(a, t, x_shape)
src/model/encoder/costvolume/ldm_unet/util.py:96
Methodf
(*args, **kwargs)
src/model/unidepth/backbones/dinov2.py:213
Methodffn_residual_func
(x: torch.Tensor)
src/model/unidepth/backbones/metadinov2/block.py:88
Methodffn_residual_func
(x: torch.Tensor, attn_bias=None)
src/model/unidepth/backbones/metadinov2/block.py:240
Functionfig_to_image
( fig: Figure, dpi: int = 100, device: torch.device = torch.device("cpu"), )
src/misc/image_io.py:22
Functionfirst
(arr, d=None)
src/model/unidepth/utils/misc.py:182
Functionfirst_stack
(tensors)
src/model/unidepth/utils/misc.py:24
Methodflops
(self)
src/model/unidepth/backbones/metadinov2/patch_embed.py:90
Functionformat_seconds
(seconds)
src/model/unidepth/utils/misc.py:66
Methodforward
(self, x)
src/flow_util.py:98
Methodforward
Args: x: tensor of shape [..., dim] diag_cov: An optional tensor of shape `(..., dim)` representing t
src/flow_util.py:551
Methodforward
(self, pose_encoding)
src/flow_util.py:620
Methodforward
( self, samples: Float[Tensor, "*batch dim"], )
src/model/encodings/positional_encoding.py:28
Methodforward
Multi-Head linear attention proposed in "Transformers are RNNs" Args: queries: [N, L, H, D] keys: [N, S, H, D]
src/model/encoder/aggregation.py:23
Methodforward
Multi-head scaled dot-product attention, a.k.a full attention. Args: queries: [N, L, H, D] keys: [N, S, H, D]
src/model/encoder/aggregation.py:59
Methodforward
Args: x (torch.Tensor): [N, L, C] source (torch.Tensor): [N, S, C] x_mask (torch.Tensor): [N, L] (optiona
src/model/encoder/aggregation.py:113
Methodforward
Args: feat0 (torch.Tensor): [N, L, C] feat1 (torch.Tensor): [N, S, C] mask0 (torch.Tensor): [N, L] (optio
src/model/encoder/aggregation.py:158
Methodforward
( self, context: dict, global_step: int, deterministic: bool = False,
src/model/encoder/encoder_costvolume.py:226
Methodforward
(self, source, target, height=None, width=None, shifted_window
src/model/encoder/multiview_transformer.py:351
Methodforward
(self, source, target, height=None, width=None, shifted_window
src/model/encoder/multiview_transformer.py:459
Methodforward
(self, multi_view_features, attn_num_splits=None, **kwargs,
src/model/encoder/multiview_transformer.py:554
Methodforward
IMPORTANT: this model is in (v b), NOT (b v), due to some historical issues. keep this in mind when performing any operation related to the vi
src/model/encoder/costvolume/depth_predictor_multiview.py:294
Methodforward
(self, x)
src/model/encoder/costvolume/ldm_unet/unet.py:53
Methodforward
Apply the module to `x` given `emb` timestep embeddings.
src/model/encoder/costvolume/ldm_unet/unet.py:70
← previousnext →501–600 of 843, ranked by callers