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

↓ 1 callersMethodforward
(self, x, predbox1, predbox2)
detectron2/tests/test_export_onnx.py:112
↓ 1 callersMethodforward
(self, x: Tensor)
distillanydepth/modeling/backbones/vit/dinov2_layers/block.py:82
↓ 1 callersMethodforward
(self, x: Tensor)
distillanydepth/modeling/backbones/vit/dinov2_layers/attention.py:49
↓ 1 callersMethodforward
(self, x)
distillanydepth/depth_anything_v2/dpt.py:210
↓ 1 callersMethodforward
(self, x: Tensor)
distillanydepth/depth_anything_v2/dinov2_layers/block.py:82
↓ 1 callersMethodforward
(self, x: Tensor)
distillanydepth/depth_anything_v2/dinov2_layers/attention.py:49
↓ 1 callersMethodforward
(self, x)
distillanydepth/midas/dpt_depth.py:110
↓ 1 callersMethodforward_features
(self, x, masks=None)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:751
↓ 1 callersMethodforward_features
(self, x, masks=None, **kwargs)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:1199
↓ 1 callersMethodforward_features
(self, x, masks=None)
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:976
↓ 1 callersMethodforward_features
(self, x, masks=None)
distillanydepth/depth_anything_v2/dinov2.py:253
↓ 1 callersMethodforward_features_list
(self, x_list, masks_list)
distillanydepth/modeling/backbones/vit/dinov2.py:233
↓ 1 callersMethodforward_features_list
(self, x_list, masks_list)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:732
↓ 1 callersMethodforward_features_list
(self, x_list, masks_list)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:1180
↓ 1 callersMethodforward_features_list
(self, x_list, masks_list)
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:956
↓ 1 callersMethodforward_features_list
(self, x_list, masks_list)
distillanydepth/depth_anything_v2/dinov2.py:233
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
distillanydepth/modeling/backbones/vit/ViT_DINO.py:500
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:683
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
distillanydepth/modeling/backbones/vit/dinov2_layers/block.py:205
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
distillanydepth/depth_anything_v2/dinov2_layers/block.py:205
↓ 1 callersMethodforward_training
(self, images, features, predictions, gt_instances)
detectron2/detectron2/modeling/meta_arch/dense_detector.py:120
↓ 1 callersMethodforward_with_given_boxes
Use the given boxes in `instances` to produce other (non-box) per-ROI outputs. This is useful for downstream tasks where a box is kn
detectron2/detectron2/modeling/roi_heads/roi_heads.py:753
↓ 1 callersFunctionfpn_map
Look for keys with the following patterns: 1) Starts with "fpn.inner." Example: "fpn.inner.res2.2.sum.lateral.weight"
detectron2/detectron2/checkpoint/c2_model_loading.py:129
↓ 1 callersMethodfreeze
Freeze the first several stages of the ResNet. Commonly used in fine-tuning. Layers that produce the same feature map spatia
detectron2/detectron2/modeling/backbone/resnet.py:468
↓ 1 callersMethodfreeze
Freeze the first several stages of the model. Commonly used in fine-tuning. Layers that produce the same feature map spatial size ar
detectron2/detectron2/modeling/backbone/regnet.py:332
↓ 1 callersMethodfrom_config
(cls, cfg, input_shape)
detectron2/detectron2/modeling/roi_heads/keypoint_head.py:161
↓ 1 callersMethodfrom_config
(cls, cfg, input_shape)
detectron2/detectron2/modeling/roi_heads/mask_head.py:180
↓ 1 callersMethodfrom_config
(cls, cfg)
detectron2/tests/test_engine.py:30
↓ 1 callersMethodfrom_polygon_masks
Args: polygon_masks (list[list[ndarray]] or PolygonMasks) height, width (int)
detectron2/detectron2/structures/masks.py:166
↓ 1 callersMethodfrom_ssa
(ssa)
detectron2/detectron2/export/shared.py:822
↓ 1 callersMethodfrom_string
(spec: str)
detectron2/projects/DensePose/densepose/utils/dbhelper.py:13
↓ 1 callersFunctionfuse_alias_placeholder
Remove AliasWithName placeholder and rename the input/output of it
detectron2/detectron2/export/shared.py:605
↓ 1 callersFunctionfuse_copy_between_cpu_and_gpu
In-place fuse extra copy ops between cpu/gpu for the following case: a -CopyAToB-> b -CopyBToA> c1 -NextOp1-> d1
detectron2/detectron2/export/shared.py:958
↓ 1 callersFunctiongap2d
Helper for building a global average pooling layer.
detectron2/detectron2/modeling/backbone/regnet.py:35
↓ 1 callersFunctiongen_header
(torch_versions)
detectron2/dev/packaging/gen_install_table.py:23
↓ 1 callersMethodgenerate_cell_anchors
Generate a tensor storing canonical anchor boxes, which are all anchor boxes of different sizes and aspect_ratios centered at (0, 0).
detectron2/detectron2/modeling/anchor_generator.py:181
↓ 1 callersMethodgenerate_cell_anchors
Generate a tensor storing canonical anchor boxes, which are all anchor boxes of different sizes, aspect_ratios, angles centered at (0
detectron2/detectron2/modeling/anchor_generator.py:333
↓ 1 callersMethodgenerate_data
()
detectron2/tests/data/test_coco.py:110
↓ 1 callersMethodgenerate_image_with_texture
(self, bbox_image_bgr, uv_array, mask, mesh_name)
detectron2/projects/DensePose/densepose/vis/densepose_outputs_vertex.py:219
↓ 1 callersMethodgenerate_image_with_texture
(self, texture_image, alpha, bbox_image_bgr, iuv_array)
detectron2/projects/DensePose/densepose/vis/densepose_results_textures.py:78
↓ 1 callersFunctiongenerate_regnet_parameters
Generates per stage widths and depths from RegNet parameters.
detectron2/detectron2/modeling/backbone/regnet.py:369
↓ 1 callersMethodgeneric_coco_test
(self, dataset_info)
detectron2/projects/DensePose/tests/test_dataset_loaded_annotations.py:36
↓ 1 callersMethodgeneric_lvis_test
(self, dataset_info)
detectron2/projects/DensePose/tests/test_dataset_loaded_annotations.py:42
↓ 1 callersMethodgetDensePoseMask
(self, polys)
detectron2/projects/DensePose/densepose/evaluation/densepose_coco_evaluation.py:353
↓ 1 callersMethodgetDistancesCse
(self, cVertsGT, cVerts, mesh_name)
detectron2/projects/DensePose/densepose/evaluation/densepose_coco_evaluation.py:1214
↓ 1 callersMethodgetDistancesUV
(self, cVertsGT, cVerts)
detectron2/projects/DensePose/densepose/evaluation/densepose_coco_evaluation.py:1221
↓ 1 callersMethodget_all_paths
(self, s, d)
detectron2/detectron2/export/shared.py:801
↓ 1 callersMethodget_bins
(self, bins_num)
distillanydepth/modeling/archs/dam/dam.py:383
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:429
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:612
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
distillanydepth/modeling/backbones/vit/dinov2_layers/block.py:134
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
distillanydepth/depth_anything_v2/dinov2_layers/block.py:134
↓ 1 callersMethodget_caffe2_inputs
Convert pytorch-style structured inputs to caffe2-style inputs that are tuples of tensors. Args: batched_inputs
detectron2/detectron2/export/caffe2_modeling.py:154
↓ 1 callersFunctionget_caffe2_tracing_inputs
detectron2/tools/deploy/torchscript_mask_rcnn.cpp:22
↓ 1 callersFunctionget_category_to_class_mapping
(dataset_cfg: CfgNode)
detectron2/projects/DensePose/densepose/data/utils.py:36
↓ 1 callersFunctionget_cityscapes_panoptic_files
(image_dir, gt_dir, json_info)
detectron2/detectron2/data/datasets/cityscapes_panoptic.py:18
↓ 1 callersFunctionget_config_file
Returns path to a builtin config file. Args: config_path (str): config file name relative to detectron2's "configs/" dir
detectron2/detectron2/model_zoo/model_zoo.py:128
↓ 1 callersFunctionget_config_files
Get all the configuration files (relative to the base configuration directory)
detectron2/projects/DensePose/tests/common.py:68
↓ 1 callersMethodget_deltas
Get box regression transformation deltas (dx, dy, dw, dh, da) that can be used to transform the `src_boxes` into the `target_boxes`.
detectron2/detectron2/modeling/box_regression.py:145
↓ 1 callersMethodget_deltas
Get box regression transformation deltas (dx1, dy1, dx2, dy2) that can be used to transform the `src_boxes` into the `target_boxes`.
detectron2/detectron2/modeling/box_regression.py:243
↓ 1 callersFunctionget_detectron2_current_version
Version is not available for import through Python since it is above the top level of the package. Instead, we parse it from the file with a r
detectron2/projects/DensePose/setup.py:19
↓ 1 callersFunctionget_env_module
()
detectron2/detectron2/utils/collect_env.py:29
↓ 1 callersFunctionget_evaluator
Create evaluator(s) for a given dataset. This uses the special metadata "evaluator_type" associated with each builtin dataset. For your o
detectron2/tools/plain_train_net.py:56
↓ 1 callersFunctionget_evolution_config_files
Get all the evolution configuration files (relative to the base configuration directory)
detectron2/projects/DensePose/tests/common.py:75
↓ 1 callersFunctionget_extensions
()
detectron2/setup.py:40
↓ 1 callersFunctionget_extensions
()
detectron2/projects/TensorMask/setup.py:11
↓ 1 callersMethodget_fed_loss_classes
Args: gt_classes: a long tensor of shape R that contains the gt class label of each proposal. num_fed_loss_classes: m
detectron2/detectron2/modeling/roi_heads/fast_rcnn.py:356
↓ 1 callersFunctionget_file_name
(img_root, img_dict)
detectron2/detectron2/data/datasets/lvis.py:120
↓ 1 callersFunctionget_file_name
(img_root, img_dict)
detectron2/projects/DensePose/densepose/data/datasets/lvis.py:137
↓ 1 callersMethodget_ground_truth
Args: anchors (list[list[Boxes]]): a list of N=#image elements. Each is a list of #feature level Boxes. The Boxes
detectron2/projects/TensorMask/tensormask/arch.py:503
↓ 1 callersFunctionget_hrnet_config_files
Get all the HRNet configuration files (relative to the base configuration directory)
detectron2/projects/DensePose/tests/common.py:82
↓ 1 callersFunctionget_inputs
detectron2/tools/deploy/torchscript_mask_rcnn.cpp:69
↓ 1 callersFunctionget_instance_segmentation
Post-processing for instance segmentation, gets class agnostic instance id. Args: sem_seg: A Tensor of shape [1, H, W], predicted sem
detectron2/projects/Panoptic-DeepLab/panoptic_deeplab/post_processing.py:79
↓ 1 callersMethodget_intermediate_layers
( self, x: torch.Tensor, n: Union[int, Sequence] = 1, # Layers or n last layers to ta
distillanydepth/depth_anything_v2/dinov2.py:297
↓ 1 callersMethodget_lr
(self)
detectron2/detectron2/solver/lr_scheduler.py:166
↓ 1 callersMethodget_lr
(self)
detectron2/detectron2/solver/lr_scheduler.py:199
↓ 1 callersMethodget_lr
(self)
detectron2/projects/DeepLab/deeplab/lr_scheduler.py:44
↓ 1 callersMethodget_mesh_id
(self, shape_name: str)
detectron2/projects/DensePose/densepose/data/meshes/catalog.py:44
↓ 1 callersFunctionget_model
Get the model from the specified file (relative to the base configuration directory)
detectron2/projects/DensePose/tests/common.py:110
↓ 1 callersFunctionget_model_zoo_configs
Return a list of configs to include in package for model zoo. Copy over these configs inside detectron2/model_zoo.
detectron2/setup.py:110
↓ 1 callersMethodget_num_inchannels
(self)
detectron2/projects/DensePose/densepose/modeling/hrnet.py:249
↓ 1 callersFunctionget_outputs
detectron2/tools/deploy/torchscript_mask_rcnn.cpp:88
↓ 1 callersMethodget_outputs_converter
Creates a function that converts outputs of the caffe2 model to detectron2's standard format. The function uses information i
detectron2/detectron2/export/caffe2_modeling.py:217
↓ 1 callersFunctionget_panoptic_segmentation
Post-processing for panoptic segmentation. Args: sem_seg: A Tensor of shape [1, H, W] of predicted semantic label. center_hea
detectron2/projects/Panoptic-DeepLab/panoptic_deeplab/post_processing.py:165
↓ 1 callersFunctionget_params_from_init_net
Take the output blobs from init_net by running it. Outputs: params: dict from blob name to numpy array device_options: dict f
detectron2/detectron2/export/shared.py:345
↓ 1 callersFunctionget_parser
()
detectron2/demo/demo.py:39
↓ 1 callersFunctionget_pb_arg_floats
(pb, arg_name, default_val)
detectron2/detectron2/export/shared.py:184
↓ 1 callersFunctionget_point_annotations
(input_filename, output_filename, num_points_per_instance)
detectron2/projects/PointSup/tools/prepare_coco_point_annotations_without_masks.py:16
↓ 1 callersFunctionget_point_coords_wrt_box
Convert image-level absolute coordinates to box-normalized [0, 1] x [0, 1] point cooordinates. Args: boxes_coords (Tensor): A tensor
detectron2/projects/PointSup/point_sup/point_utils.py:55
↓ 1 callersFunctionget_quick_schedules_config_files
Get all the quick schedules configuration files (relative to the base configuration directory)
detectron2/projects/DensePose/tests/common.py:89
↓ 1 callersFunctionget_regular_bitmask_instances
(h, w)
detectron2/tests/modeling/test_model_e2e.py:66
↓ 1 callersFunctionget_scripting_inputs
create a Tuple[Dict[str, Tensor]] which is the input type of scripted model
detectron2/tools/deploy/torchscript_mask_rcnn.cpp:54
↓ 1 callersMethodget_size
(self, width, height)
distillanydepth/depth_anything_v2/util/transform.py:62
↓ 1 callersMethodget_size
(self, width, height)
distillanydepth/midas/transforms.py:105
↓ 1 callersMethodget_text_size_wh
(self, txt)
detectron2/projects/DensePose/densepose/vis/base.py:169
↓ 1 callersMethodget_texture
(self)
detectron2/projects/DensePose/densepose/vis/densepose_results_textures.py:61
↓ 1 callersFunctionget_texture_atlases
json_str is a JSON string representing a mesh_name -> texture_atlas_path dictionary
detectron2/projects/DensePose/densepose/vis/densepose_outputs_vertex.py:133
↓ 1 callersFunctionget_tracing_inputs
detectron2/tools/deploy/torchscript_mask_rcnn.cpp:41
↓ 1 callersMethodget_transform
Execute the policy based on input data, and decide what transform to apply to inputs. Args: args: Any fixed-length posit
detectron2/detectron2/data/transforms/augmentation.py:115
↓ 1 callersMethodget_transform
(self, image)
detectron2/detectron2/data/transforms/augmentation_impl.py:168
← previousnext →1,201–1,300 of 3,350, ranked by callers