MCPcopy Create free account

hub / github.com/Westlake-AGI-Lab/Distill-Any-Depth / functions

Functions3,350 in github.com/Westlake-AGI-Lab/Distill-Any-Depth

Method__init__
(self, annotation, cleanup=False)
detectron2/projects/DensePose/densepose/structures/data_relative.py:52
Method__init__
( self, cfg, inplace=True, cmap=cv2.COLORMAP_JET, alpha=0.7, d
detectron2/projects/DensePose/densepose/vis/densepose_outputs_vertex.py:43
Method__init__
( self, cfg, texture_atlases_dict, device="cuda", default_class=0,
detectron2/projects/DensePose/densepose/vis/densepose_outputs_vertex.py:145
Method__init__
(self, extractors)
detectron2/projects/DensePose/densepose/vis/extractor.py:148
Method__init__
(self, extractor, iou_threshold)
detectron2/projects/DensePose/densepose/vis/extractor.py:164
Method__init__
(self, extractor, min_score)
detectron2/projects/DensePose/densepose/vis/extractor.py:190
Method__init__
( self, inplace=True, cmap=cv2.COLORMAP_PARULA, val_scale=1.0, alpha=0
detectron2/projects/DensePose/densepose/vis/base.py:18
Method__init__
(self, color=_COLOR_GREEN, thickness=1)
detectron2/projects/DensePose/densepose/vis/base.py:83
Method__init__
(self, color_bgr=_COLOR_GREEN, r=5)
detectron2/projects/DensePose/densepose/vis/base.py:99
Method__init__
( self, font_face=cv2.FONT_HERSHEY_SIMPLEX, font_color_bgr=_COLOR_GRAY, font_s
detectron2/projects/DensePose/densepose/vis/base.py:117
Method__init__
(self, visualizers)
detectron2/projects/DensePose/densepose/vis/base.py:177
Method__init__
(self)
detectron2/projects/DensePose/densepose/vis/bounding_box.py:8
Method__init__
(self, bbox_visualizer_params=None, score_visualizer_params=None, **kwargs)
detectron2/projects/DensePose/densepose/vis/bounding_box.py:18
Method__init__
( self, data_extractor, segm_extractor, inplace=True, cmap=cv2.COLORMA
detectron2/projects/DensePose/densepose/vis/densepose_results.py:50
Method__init__
(self, levels=10, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_results.py:91
Method__init__
(self, levels=10, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_results.py:144
Method__init__
(self, inplace=True, cmap=cv2.COLORMAP_PARULA, alpha=0.7, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_results.py:322
Method__init__
(self, inplace=True, cmap=cv2.COLORMAP_PARULA, alpha=0.7, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_results.py:348
Method__init__
(self, inplace=True, cmap=cv2.COLORMAP_PARULA, alpha=0.7, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_outputs_iuv.py:92
Method__init__
(self, inplace=True, cmap=cv2.COLORMAP_PARULA, alpha=0.7, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_outputs_iuv.py:97
Method__init__
(self, inplace=True, cmap=cv2.COLORMAP_PARULA, alpha=0.7, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_outputs_iuv.py:102
Method__init__
(self, inplace=True, cmap=cv2.COLORMAP_PARULA, alpha=0.7, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_data_points.py:18
Method__init__
(self, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_data_points.py:91
Method__init__
(self, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_data_points.py:98
Method__init__
(self, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_data_points.py:105
Method__init__
(self, texture_atlas, **kwargs)
detectron2/projects/DensePose/densepose/vis/densepose_results_textures.py:36
Method__init__
( self, dataset_name, output_dir=None, distributed=True, )
detectron2/projects/DensePose/densepose/evaluation/d2_evaluator_adapter.py:21
Method__init__
(self, embedder: nn.Module, mesh_names: Optional[List[str]])
detectron2/projects/DensePose/densepose/evaluation/mesh_alignment_evaluator.py:21
Method__init__
Initialize CocoEval using coco APIs for gt and dt :param cocoGt: coco object with ground truth annotations :param cocoDt: coc
detectron2/projects/DensePose/densepose/evaluation/densepose_coco_evaluation.py:114
Method__init__
(self, iouType="segm")
detectron2/projects/DensePose/densepose/evaluation/densepose_coco_evaluation.py:1294
Method__init__
( self, dataset_name, distributed, output_dir=None, evaluator_type: st
detectron2/projects/DensePose/densepose/evaluation/evaluator.py:48
Method__init__
Construct tensor storage based on information on data shape and size. Internally uses numpy to interpret the type specification.
detectron2/projects/DensePose/densepose/evaluation/tensor_storage.py:51
Method__init__
(self, data_schema: Dict[str, SizeData], fpath: str, mode: str)
detectron2/projects/DensePose/densepose/evaluation/tensor_storage.py:145
Method__init__
(self, data_schema: Dict[str, SizeData], buf: io.BytesIO)
detectron2/projects/DensePose/densepose/evaluation/tensor_storage.py:164
Method__init__
(self, data_schema: Dict[str, SizeData], rank_to_fpath: Dict[int, str], mode: str)
detectron2/projects/DensePose/densepose/evaluation/tensor_storage.py:190
Method__init__
(self, data_schema: Dict[str, SizeData], rank_to_buffer: Dict[int, io.BytesIO])
detectron2/projects/DensePose/densepose/evaluation/tensor_storage.py:199
Method__init__
(self, ignore_label=-1, top_k_percent_pixels=1.0, weight=None)
detectron2/projects/DeepLab/deeplab/loss.py:20
Method__init__
NOTE: this interface is experimental. Args: input_shape: shape of the input features. They will be ordered by stride
detectron2/projects/DeepLab/deeplab/semantic_seg.py:22
Method__init__
( self, optimizer: torch.optim.Optimizer, max_iters: int, warmup_factor: float
detectron2/projects/DeepLab/deeplab/lr_scheduler.py:25
Method__init__
Args: norm (str or callable): norm after the first conv layer. See :func:`layers.get_norm` for supported format.
detectron2/projects/DeepLab/deeplab/resnet.py:20
Method__init__
The following attributes are parsed from config: channels: the output dimension of each FC layers num_layers: the num
detectron2/projects/PointRend/point_rend/point_head.py:139
Method__init__
(self, cfg, input_shape: Dict[str, ShapeSpec])
detectron2/projects/PointRend/point_rend/mask_head.py:169
Method__init__
(self, cfg, input_shape: Dict[str, ShapeSpec])
detectron2/projects/PointRend/point_rend/mask_head.py:364
Method__init__
(self, cfg, input_shape: Dict[str, ShapeSpec])
detectron2/projects/PointRend/point_rend/semantic_seg.py:43
Method__init__
( self, img_format, brightness_delta=32, contrast_low=0.5, contrast_hi
detectron2/projects/PointRend/point_rend/color_augmentation.py:27
Method__init__
(self)
detectron2/tests/test_export_torchscript.py:214
Method__init__
(self)
detectron2/tests/test_model_analysis.py:70
Method__init__
(self, sleep_sec=0)
detectron2/tests/test_engine.py:24
Method__init__
(self)
detectron2/tests/test_export_onnx.py:106
Method__init__
(self, roi)
detectron2/tests/modeling/test_roi_pooler.py:119
Method__init__
(self, output_layer)
detectron2/tests/modeling/test_fast_rcnn.py:106
Method__init__
(self)
detectron2/tests/structures/test_instances.py:41
Method__init__
Doc of _TestClassB
detectron2/tests/config/test_yacs_config.py:85
Method__init__
(self, cfg, input_shape, arg4=4)
detectron2/tests/config/test_yacs_config.py:101
Method__init__
(self, input_shape, arg4=4, **kwargs)
detectron2/tests/config/test_yacs_config.py:111
Method__init__
(self, config, input_shape)
detectron2/tests/config/test_yacs_config.py:120
Method__init__
(self, input_shape: ShapeSpec, arg1: int, arg2, arg3=3)
detectron2/tests/config/test_yacs_config.py:138
Method__init__
(self, a=1, b=2)
detectron2/tests/config/test_yacs_config.py:220
Method__init__
(self, a=1, b=2)
detectron2/tests/config/test_yacs_config.py:225
Method__init__
(self, a=1, b=2)
detectron2/tests/config/test_yacs_config.py:233
Method__init__
(self, int_arg, list_arg=None, dict_arg=None, extra_arg=None)
detectron2/tests/config/test_instantiate_config.py:19
Method__init__
Args: cfg (CfgNode): instance_mode (ColorMode): parallel (bool): whether to run the model in different pr
detectron2/demo/predictor.py:16
Method__init__
(self, cfg, task_queue, result_queue)
detectron2/demo/predictor.py:143
Method__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
distillanydepth/modeling/backbones/vit/dinov2.py:45
Method__init__
(self, channels)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:25
Method__init__
(self, drop_prob=None)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:78
Method__init__
( self, dim: int, init_values: Union[float, Tensor] = 1e-5, inplace: bool = Fa
distillanydepth/modeling/backbones/vit/ViT_DINO.py:86
Method__init__
( self, img_size: Union[int, Tuple[int, int]] = 224, patch_size: Union[int, Tuple[int,
distillanydepth/modeling/backbones/vit/ViT_DINO.py:112
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
distillanydepth/modeling/backbones/vit/ViT_DINO.py:193
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
distillanydepth/modeling/backbones/vit/ViT_DINO.py:224
Method__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, proj_bia
distillanydepth/modeling/backbones/vit/ViT_DINO.py:256
Method__init__
( self, dim: int, num_heads: int, mlp_ratio: float = 4.0, qkv_bias: bo
distillanydepth/modeling/backbones/vit/ViT_DINO.py:331
Method__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
distillanydepth/modeling/backbones/vit/ViT_DINO.py:572
Method__init__
(self, in_chans, embed_dim=768, stride=1)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:855
Method__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
distillanydepth/modeling/backbones/vit/ViT_DINO.py:876
Method__init__
( self, r: int, lora_alpha: int, lora_dropout: float, merge_weights
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:49
Method__init__
( self, in_features: int, out_features: int, r: int = 0, lora_alph
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:69
Method__init__
(self, drop_prob=None)
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:157
Method__init__
( self, dim: int, init_values: Union[float, Tensor] = 1e-5, inplace: bool = Fa
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:165
Method__init__
( self, img_size: Union[int, Tuple[int, int]] = 224, patch_size: Union[int, Tuple[int,
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:190
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:301
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:352
Method__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, proj_bia
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:384
Method__init__
( self, dim: int, num_heads: int, mlp_ratio: float = 4.0, qkv_bias: bo
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:494
Method__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:755
Method__init__
(self, drop_prob=None)
distillanydepth/modeling/backbones/vit/dinov2_layers/drop_path.py:30
Method__init__
( self, dim: int, num_heads: int, mlp_ratio: float = 4.0, qkv_bias: bo
distillanydepth/modeling/backbones/vit/dinov2_layers/block.py:37
Method__init__
( self, dim: int, init_values: Union[float, Tensor] = 1e-5, inplace: bool = Fa
distillanydepth/modeling/backbones/vit/dinov2_layers/layer_scale.py:17
Method__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, proj_bia
distillanydepth/modeling/backbones/vit/dinov2_layers/attention.py:30
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
distillanydepth/modeling/backbones/vit/dinov2_layers/mlp.py:18
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
distillanydepth/modeling/backbones/vit/dinov2_layers/swiglu_ffn.py:46
Method__init__
( self, img_size: Union[int, Tuple[int, int]] = 224, patch_size: Union[int, Tuple[int,
distillanydepth/modeling/backbones/vit/dinov2_layers/patch_embed.py:38
Method__init__
(self, config)
distillanydepth/modeling/archs/dinov2_dpt_elu.py:21
Method__init__
(self, config)
distillanydepth/modeling/archs/dinov2_dpt_elu.py:176
Method__init__
(self, config)
distillanydepth/modeling/archs/dinov2_dpt_elu.py:188
Method__init__
(self, config)
distillanydepth/modeling/archs/dinov2_dpt_elu.py:246
Method__init__
(self, config)
distillanydepth/modeling/archs/dinov2_dpt_elu.py:389
Method__init__
(self, config)
distillanydepth/modeling/archs/dinov2_dpt_elu.py:538
Method__init__
(self, config)
distillanydepth/modeling/archs/dinov2_dpt_elu.py:684
Method__init__
Init. Args: features (int): number of features
distillanydepth/modeling/archs/dam/dam.py:68
← previousnext →1,901–2,000 of 3,350, ranked by callers