MCPcopy Create free account

hub / github.com/IRMVLab/SemGauss-SLAM / functions

Functions506 in github.com/IRMVLab/SemGauss-SLAM

Functiondinov2_vits14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-S/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
segmentation/facebookresearch_dinov2_main/hubconf.py:155
Functiondnormvdv
diff-gaussian-rasterization-w-depth_sem_gauss/cuda_rasterizer/auxiliary.h:107
Functiondnormvdz
diff-gaussian-rasterization-w-depth_sem_gauss/cuda_rasterizer/auxiliary.h:99
Methoddump_extra
(self, root: Optional[str] = None)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:302
Methoddump_extra
(self)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:289
Functionenable
Enable distributed mode Args: set_cuda_current_device: If True, call torch.cuda.set_device() to set the current PyTorch CUDA
segmentation/facebookresearch_dinov2_main/dinov2/distributed/__init__.py:240
Methodentries_path
(self)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:52
Methodevaluate_worker
(self, pred, label)
utils/segmentationMetric.py:30
Methodf
(*args, **kwargs)
segmentation/facebookresearch_dinov2_main/dinov2/models/vision_transformer.py:118
Methodffn_residual_func
(x: Tensor)
segmentation/facebookresearch_dinov2_main/dinov2/layers/block.py:86
Methodffn_residual_func
(x: Tensor, attn_bias=None)
segmentation/facebookresearch_dinov2_main/dinov2/layers/block.py:216
Methodfind_class_id
(self, class_index: int)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:201
Methodfind_class_id
(self, class_index: int)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:128
Methodfind_class_name
(self, class_index: int)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:132
Functionfix_random_seeds
Fix random seeds.
segmentation/facebookresearch_dinov2_main/dinov2/utils/utils.py:37
Methodflops
(self)
segmentation/facebookresearch_dinov2_main/dinov2/layers/patch_embed.py:84
Methodforward
(self, x)
utils/dinov2_seg.py:106
Methodforward
( ctx, means3D, means2D, sh, colors_precomp, opacities,
diff-gaussian-rasterization-w-depth_sem_gauss/diff_gaussian_rasterization/__init__.py:46
Methodforward
(self, means3D, means2D, opacities, shs = None, colors_precomp = None, scales = None, rotations = None,
diff-gaussian-rasterization-w-depth_sem_gauss/diff_gaussian_rasterization/__init__.py:179
Methodforward
(self, x)
segmentation/facebookresearch_dinov2_main/hubconf.py:109
Methodforward
(self, x_tokens_list)
segmentation/facebookresearch_dinov2_main/dinov2/eval/linear.py:199
Methodforward
(self, inputs)
segmentation/facebookresearch_dinov2_main/dinov2/eval/linear.py:210
Methodforward
(self, samples, targets)
segmentation/facebookresearch_dinov2_main/dinov2/eval/linear.py:223
Methodforward
(self, samples, targets)
segmentation/facebookresearch_dinov2_main/dinov2/eval/log_regression.py:129
Methodforward
(self, samples)
segmentation/facebookresearch_dinov2_main/dinov2/eval/utils.py:27
Methodforward
(self, images)
segmentation/facebookresearch_dinov2_main/dinov2/eval/utils.py:39
Methodforward
Compute the results on all values of `self.nb_knn` neighbors from the full `self.max_k`
segmentation/facebookresearch_dinov2_main/dinov2/eval/knn.py:170
Methodforward
(self, features_dict, targets)
segmentation/facebookresearch_dinov2_main/dinov2/eval/knn.py:192
Methodforward
(self, *args, **kwargs)
segmentation/facebookresearch_dinov2_main/dinov2/eval/knn.py:241
Methodforward
(self, x)
segmentation/facebookresearch_dinov2_main/dinov2/layers/drop_path.py:34
Methodforward
(self, x_or_x_list)
segmentation/facebookresearch_dinov2_main/dinov2/layers/block.py:245
Methodforward
(self, x)
segmentation/facebookresearch_dinov2_main/dinov2/layers/dino_head.py:37
Methodforward
(self, x: Tensor)
segmentation/facebookresearch_dinov2_main/dinov2/layers/layer_scale.py:27
Methodforward
(self, x: Tensor, attn_bias=None)
segmentation/facebookresearch_dinov2_main/dinov2/layers/attention.py:66
Methodforward
(self, x: Tensor)
segmentation/facebookresearch_dinov2_main/dinov2/layers/mlp.py:35
Methodforward
(self, x: Tensor)
segmentation/facebookresearch_dinov2_main/dinov2/layers/swiglu_ffn.py:29
Methodforward
(self, x: Tensor)
segmentation/facebookresearch_dinov2_main/dinov2/layers/patch_embed.py:69
Methodforward
(self, x)
segmentation/facebookresearch_dinov2_main/dinov2/models/vision_transformer.py:39
Methodforward
(self, *args, is_training=False, **kwargs)
segmentation/facebookresearch_dinov2_main/dinov2/models/vision_transformer.py:290
Methodforward
Args: student_output (BxD): backbone output of student
segmentation/facebookresearch_dinov2_main/dinov2/loss/koleo_loss.py:39
Methodforward
Cross-entropy between softmax outputs of the teacher and student networks. student_patch_tokens: (B, N, D) tensor teacher_pat
segmentation/facebookresearch_dinov2_main/dinov2/loss/ibot_patch_loss.py:93
Methodforward
Cross-entropy between softmax outputs of the teacher and student networks.
segmentation/facebookresearch_dinov2_main/dinov2/loss/dino_clstoken_loss.py:64
Methodforward
(self, inputs)
segmentation/facebookresearch_dinov2_main/dinov2/train/ssl_meta_arch.py:126
FunctiongetRect
diff-gaussian-rasterization-w-depth_sem_gauss/cuda_rasterizer/auxiliary.h:46
Functionget_args_parser
( description: Optional[str] = None, parents: Optional[List[argparse.ArgumentParser]] = [], add_he
segmentation/facebookresearch_dinov2_main/dinov2/eval/setup.py:18
Methodget_cam_K
Return camera intrinsics matrix K Returns: K (torch.Tensor): Camera intrinsics matrix, of shape (3, 3)
datasets/gradslam_datasets/basedataset.py:279
Methodget_checkpoint_file
Returns: str: The latest checkpoint file in target directory.
segmentation/facebookresearch_dinov2_main/dinov2/fsdp/__init__.py:127
Methodget_class_id
(self, index: int)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:229
Methodget_class_ids
(self)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:232
Methodget_class_name
(self, index: int)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:162
Methodget_filepaths
(self)
datasets/gradslam_datasets/scannet.py:44
Methodget_filepaths
(self)
datasets/gradslam_datasets/replica.py:44
Methodget_image_data
(self, index: int)
segmentation/facebookresearch_dinov2_main/dinov2/data/adapters.py:16
Methodget_image_data
(self, index: int)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:204
Methodget_image_data
(self, index: int)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:136
Functionget_local_rank
Returns: The rank of the current process within the local (per-machine) process group.
segmentation/facebookresearch_dinov2_main/dinov2/distributed/__init__.py:44
Functionget_local_size
Returns: The size of the per-machine process group, i.e. the number of processes per machine.
segmentation/facebookresearch_dinov2_main/dinov2/distributed/__init__.py:55
Functionget_sha
()
segmentation/facebookresearch_dinov2_main/dinov2/utils/utils.py:47
Methodget_target
(self, index: int)
segmentation/facebookresearch_dinov2_main/dinov2/data/adapters.py:19
Methodget_target
(self, index: int)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:223
Methodget_target
(self, index: int)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:148
Methodget_targets
(self)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:226
Methodget_teacher_output
()
segmentation/facebookresearch_dinov2_main/dinov2/train/ssl_meta_arch.py:161
Methodglobal_avg
(self)
segmentation/facebookresearch_dinov2_main/dinov2/logging/helpers.py:177
Methodhas_checkpoint
Returns: bool: whether a checkpoint exists in the target directory.
segmentation/facebookresearch_dinov2_main/dinov2/fsdp/__init__.py:119
Functionhist_info
(pred, label, num_cls)
utils/segmentationMetric.py:155
Functionin_frustum
diff-gaussian-rasterization-w-depth_sem_gauss/cuda_rasterizer/auxiliary.h:139
Functioninit_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
segmentation/facebookresearch_dinov2_main/dinov2/models/vision_transformer.py:298
FunctionintersectionAndUnion
This function takes the prediction and label of a single image, returns intersection and union areas for each class To compute over many
utils/segmentationMetric.py:131
Methodlength
(self)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:46
Methodlength
(self)
segmentation/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:28
Functionload_and_merge_config
(config_name: str)
segmentation/facebookresearch_dinov2_main/dinov2/configs/__init__.py:20
Methodload_poses
(self)
datasets/gradslam_datasets/scannet.py:54
Methodload_poses
(self)
datasets/gradslam_datasets/replica.py:54
Functionload_pretrained_weights
(model, pretrained_weights, checkpoint_key)
segmentation/facebookresearch_dinov2_main/dinov2/utils/utils.py:21
MethodmarkVisible
(self, positions)
diff-gaussian-rasterization-w-depth_sem_gauss/diff_gaussian_rasterization/__init__.py:168
Functionndc2Pix
diff-gaussian-rasterization-w-depth_sem_gauss/cuda_rasterizer/auxiliary.h:41
Functionnormalize_image
r"""Normalizes RGB image values from :math:`[0, 255]` range to :math:`[0, 1]` range. Args: rgb (torch.Tensor or numpy.ndarray): RGB image
datasets/gradslam_datasets/datautils.py:13
Functionnormalize_pixel_coords
r"""Normalizes pixel coordinates, so that each dimension (x, y) is now in the range [-1, 1]. x coordinates get mapped from [0, height-1] to [
datasets/gradslam_datasets/geometryutils.py:481
Functionobtain
diff-gaussian-rasterization-w-depth_sem_gauss/cuda_rasterizer/rasterizer_impl.h:22
FunctionpixelAccuracy
This function takes the prediction and label of a single image, returns pixel-wise accuracy To compute over many images do: for i = range
utils/segmentationMetric.py:114
Functionquaternion_to_axisangle
r"""Converts a quaternion to an axis angle. Args: quat (torch.Tensor): Quaternion (qx, qy, qz, qw) (shape: :math:`* \times 4`
datasets/gradslam_datasets/geometryutils.py:79
Functionquaternion_to_rotation_matrix
r"""Converts a quaternion to a rotation matrix. The quaternion should be in (x, y, z, w) format. Args: quaternion (torch.Tensor): Qua
datasets/gradslam_datasets/geometryutils.py:148
Methodread_embedding_from_file
(self, embedding_file_path)
datasets/gradslam_datasets/scannet.py:62
Methodread_embedding_from_file
(self, embedding_file_path)
datasets/gradslam_datasets/replica.py:67
Functionrelative_transform_3d
r"""Given two 3D homogeneous transforms `trans_01` and `trans_02` in the global frame '0', this function returns a relative transform `trans_1
datasets/gradslam_datasets/geometryutils.py:393
Functionrequired
diff-gaussian-rasterization-w-depth_sem_gauss/cuda_rasterizer/rasterizer_impl.h:70
Functionscale_intrinsics
r"""Scales the intrinsics appropriately for resized frames where :math:`h_\text{ratio} = h_\text{new} / h_\text{old}` and :math:`w_\text{ratio} =
datasets/gradslam_datasets/datautils.py:67
Methodset_epoch
(self, epoch)
segmentation/facebookresearch_dinov2_main/dinov2/data/samplers.py:52
Functionsigmoid
diff-gaussian-rasterization-w-depth_sem_gauss/cuda_rasterizer/auxiliary.h:134
Methodsinkhorn_knopp_teacher
(self, teacher_output, teacher_temp, n_masked_patches_tensor, n_iterations=3)
segmentation/facebookresearch_dinov2_main/dinov2/loss/ibot_patch_loss.py:63
Methodsoftmax_center_teacher
(self, teacher_patch_tokens, teacher_temp)
segmentation/facebookresearch_dinov2_main/dinov2/loss/ibot_patch_loss.py:47
Methodsynchronize_between_processes
Distributed synchronization of the metric Warning: does not synchronize the deque!
segmentation/facebookresearch_dinov2_main/dinov2/logging/helpers.py:152
Functionto_scalar
Convert the input to a scalar
datasets/gradslam_datasets/basedataset.py:18
Functiontransform
(sample)
segmentation/facebookresearch_dinov2_main/dinov2/data/loaders.py:34
FunctiontransformVec4x3
diff-gaussian-rasterization-w-depth_sem_gauss/cuda_rasterizer/auxiliary.h:79
FunctiontransformVec4x3Transpose
diff-gaussian-rasterization-w-depth_sem_gauss/cuda_rasterizer/auxiliary.h:89
Functiontransform_normals
r"""Applies a rotation to a tensor containing point normals. Args: normals (torch.Tensor): Normal vectors (shape: numpoints x 3)
datasets/gradslam_datasets/geometryutils.py:797
Functiontransform_pointcloud
r"""Applies a rigid-body transformation to a pointcloud. Args: pointcloud (torch.Tensor): Pointcloud to be transformed
datasets/gradslam_datasets/geometryutils.py:737
Functionunnormalize_pixel_coords
r"""Unnormalizes pixel coordinates from the range [-1, 1], [-1, 1] to [0, `height`-1] and [0, `width`-1] for x and y respectively. Args:
datasets/gradslam_datasets/geometryutils.py:531
← previousnext →401–500 of 506, ranked by callers