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 callersFunction_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
detectron2/detectron2/evaluation/coco_evaluation.py:567
↓ 1 callersFunction_evaluate_predictions_on_coco
( coco_gt, coco_results, multi_storage=None, embedder=None, class_names=None, min_thre
detectron2/projects/DensePose/densepose/evaluation/evaluator.py:290
↓ 1 callersMethod_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
detectron2/detectron2/evaluation/rotated_coco_evaluation.py:194
↓ 1 callersFunction_evaluate_predictions_on_lvis
Args: iou_type (str): max_dets_per_image (None or int): limit on maximum detections per image in evaluating AP This l
detectron2/detectron2/evaluation/lvis_evaluation.py:331
↓ 1 callersMethod_extract_data_for_visualizers_from_entry
( cls: type, vis_specs: List[str], entry: Dict[str, Any] )
detectron2/projects/DensePose/query_db.py:199
↓ 1 callersFunction_extract_i_from_iuvarr
(iuv_arr)
detectron2/projects/DensePose/densepose/vis/densepose_results.py:78
↓ 1 callersMethod_file2dict
(filename, use_predefined_variables=True)
distillanydepth/utils/mmcv_config.py:280
↓ 1 callersFunction_file_storage_gather
( storage: SingleProcessFileTensorStorage, dst_rank: int = 0, mode: str = "rb", )
detectron2/projects/DensePose/densepose/evaluation/tensor_storage.py:221
↓ 1 callersFunction_find_free_port
()
detectron2/detectron2/engine/launch.py:15
↓ 1 callersFunction_find_free_port
Copied from detectron2/engine/launch.py
detectron2/projects/DensePose/tests/test_tensor_storage.py:87
↓ 1 callersMethod_flip_iuv_semantics
(self, dp_transform_data: DensePoseTransformData)
detectron2/projects/DensePose/densepose/structures/data_relative.py:197
↓ 1 callersFunction_flip_iuv_semantics_tensor
( densepose_predictor_output: DensePoseChartPredictorOutput, dp_transform_data: DensePoseTransformData
detectron2/projects/DensePose/densepose/converters/chart_output_hflip.py:43
↓ 1 callersMethod_flip_segm_semantics
(self, dp_transform_data)
detectron2/projects/DensePose/densepose/structures/data_relative.py:235
↓ 1 callersFunction_flip_segm_semantics_tensor
( densepose_predictor_output: DensePoseChartPredictorOutput, dp_transform_data )
detectron2/projects/DensePose/densepose/converters/chart_output_hflip.py:66
↓ 1 callersMethod_flip_vertices
(self)
detectron2/projects/DensePose/densepose/structures/data_relative.py:215
↓ 1 callersMethod_forward_one_pair
Do a forward pass with a selected pair of meshes Args: embedder (nn.Module): module that computes vertex embeddings for d
detectron2/projects/DensePose/densepose/modeling/losses/cycle_shape2shape.py:95
↓ 1 callersMethod_frame_from_video
(self, video)
detectron2/demo/predictor.py:68
↓ 1 callersMethod_freeze_stages
(self)
detectron2/detectron2/modeling/backbone/swin.py:638
↓ 1 callersFunction_fuse_once
(predict_net)
detectron2/detectron2/export/shared.py:970
↓ 1 callersFunction_gen_instance_class
Args: fields (dict[name: type])
detectron2/detectron2/export/torchscript_patch.py:90
↓ 1 callersFunction_gen_instance_module
(fields)
detectron2/detectron2/export/torchscript_patch.py:290
↓ 1 callersFunction_generate_optimizer_class_with_gradient_clipping
Dynamically creates a new type that inherits the type of a given instance and overrides the `step` method to add gradient clipping
detectron2/detectron2/solver/build.py:49
↓ 1 callersMethod_generate_proposals
( self, images, objectness_logits_pred, anchor_deltas_pred, gt_instances=None )
detectron2/detectron2/export/c10.py:176
↓ 1 callersFunction_generic_status_identifier
Statically infer the status of each blob, the status can be such as device type (CPU/GPU), layout (NCHW/NHWC), data type (float32/int8),
detectron2/detectron2/export/shared.py:382
↓ 1 callersFunction_get
(key_seq: List[str])
detectron2/detectron2/config/compat.py:128
↓ 1 callersFunction_get_aug_input_args
Get the arguments to be passed to ``aug.get_transform`` from the input ``aug_input``.
detectron2/detectron2/data/transforms/augmentation.py:39
↓ 1 callersMethod_get_augmented_boxes
(self, augmented_inputs, tfms)
detectron2/detectron2/modeling/test_time_augmentation.py:244
↓ 1 callersMethod_get_augmented_boxes
(self, augmented_inputs, tfms)
detectron2/projects/DensePose/densepose/modeling/test_time_augmentation.py:95
↓ 1 callersMethod_get_c2_detectron_baseline
(name)
detectron2/detectron2/checkpoint/catalog.py:74
↓ 1 callersMethod_get_c2_imagenet_pretrained
(name)
detectron2/detectron2/checkpoint/catalog.py:66
↓ 1 callersFunction_get_coco_panoptic_separated_meta
Returns metadata for "separated" version of the panoptic segmentation dataset.
detectron2/detectron2/data/datasets/builtin_meta.py:250
↓ 1 callersMethod_get_crop
(self, image: np.ndarray)
detectron2/detectron2/data/transforms/augmentation_impl.py:332
↓ 1 callersFunction_get_densepose_metrics
(min_threshold: float = 0.5)
detectron2/projects/DensePose/densepose/evaluation/evaluator.py:324
↓ 1 callersFunction_get_dependency_chain
Return the index list of relevant operator to produce target blob from source blob, if there's no dependency, return empty list.
detectron2/detectron2/export/shared.py:831
↓ 1 callersMethod_get_device_casting_test_cases
(self, model)
detectron2/tests/test_export_torchscript.py:151
↓ 1 callersFunction_get_device_option
(producer_op)
detectron2/detectron2/export/shared.py:357
↓ 1 callersMethod_get_epoch_indices
Create a list of dataset indices (with repeats) to use for one epoch. Args: generator (torch.Generator): pseudo random n
detectron2/detectron2/data/samplers/distributed_sampler.py:213
↓ 1 callersMethod_get_eta
(self, storage)
detectron2/detectron2/utils/events.py:217
↓ 1 callersFunction_get_evolution_config_dir
Return the base directory for evolution configurations
detectron2/projects/DensePose/tests/common.py:27
↓ 1 callersFunction_get_graph
(model)
detectron2/detectron2/export/torchscript.py:115
↓ 1 callersFunction_get_hrnet_config_dir
Return the base directory for HRNet configurations
detectron2/projects/DensePose/tests/common.py:34
↓ 1 callersMethod_get_input_file_list
(cls: type, input_spec: str)
detectron2/projects/DensePose/apply_net.py:123
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
distillanydepth/modeling/backbones/vit/dinov2.py:283
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:804
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:1278
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:1052
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
distillanydepth/depth_anything_v2/dinov2.py:283
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
distillanydepth/modeling/backbones/vit/dinov2.py:271
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:792
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:1266
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:1040
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
distillanydepth/depth_anything_v2/dinov2.py:271
↓ 1 callersMethod_get_local_path
(self, path, **kwargs)
detectron2/detectron2/checkpoint/catalog.py:105
↓ 1 callersMethod_get_local_path
(self, path, **kwargs)
detectron2/tests/test_checkpoint.py:81
↓ 1 callersFunction_get_log_stream_buffer_size
(filename: str)
detectron2/detectron2/utils/logger.py:126
↓ 1 callersFunction_get_lvis_instances_meta_v0_5
()
detectron2/detectron2/data/datasets/lvis.py:187
↓ 1 callersFunction_get_lvis_instances_meta_v1
()
detectron2/detectron2/data/datasets/lvis.py:200
↓ 1 callersFunction_get_ns_op_name_from_custom_op
(symbolic_name)
detectron2/detectron2/utils/testing.py:226
↓ 1 callersMethod_get_out_fname
(cls: type, entry_idx: int, fname_base: str)
detectron2/projects/DensePose/apply_net.py:299
↓ 1 callersMethod_get_out_fname
(cls: type, entry_idx: int, fname_base: str)
detectron2/projects/DensePose/query_db.py:179
↓ 1 callersMethod_get_pad
(self, image: np.ndarray)
detectron2/detectron2/data/transforms/augmentation_impl.py:346
↓ 1 callersMethod_get_point_logits
(self, fine_grained_features, point_coords, parameters)
detectron2/projects/PointRend/point_rend/mask_head.py:434
↓ 1 callersFunction_get_quick_schedules_config_dir
Return the base directory for quick schedules configurations
detectron2/projects/DensePose/tests/common.py:41
↓ 1 callersMethod_get_range_spec
(self, field_value_or_range)
detectron2/projects/DensePose/densepose/utils/dbhelper.py:139
↓ 1 callersMethod_get_resize
(self, image: np.ndarray, scale: float)
detectron2/detectron2/data/transforms/augmentation_impl.py:231
↓ 1 callersFunction_get_test_keep_instance_predicate
(cfg: CfgNode)
detectron2/projects/DensePose/densepose/data/build.py:249
↓ 1 callersFunction_get_train_datasets_repeat_factors
(cfg)
detectron2/detectron2/data/build.py:392
↓ 1 callersFunction_get_train_keep_instance_predicate
(cfg: CfgNode)
detectron2/projects/DensePose/densepose/data/build.py:233
↓ 1 callersMethod_grid_anchors
Returns: list[Tensor]: #featuremap tensors, each is (#locations x #cell_anchors) x 4
detectron2/detectron2/modeling/anchor_generator.py:165
↓ 1 callersMethod_grid_anchors
(self, grid_sizes: List[List[int]])
detectron2/detectron2/modeling/anchor_generator.py:318
↓ 1 callersFunction_group_keys_by_module
Params in the same submodule are grouped together. Args: keys: names of all parameters original_names: mapping from paramete
detectron2/detectron2/checkpoint/c2_model_loading.py:331
↓ 1 callersFunction_group_str
Turn "common1", "common2", "common3" into "common{1,2,3}"
detectron2/detectron2/checkpoint/c2_model_loading.py:394
↓ 1 callersFunction_grouper
Group elements of an iterable by chunks of size `n`, e.g. grouper(range(9), 4) -> (0, 1, 2, 3), (4, 5, 6, 7), (8, None, None, None)
detectron2/projects/DensePose/densepose/data/inference_based_loader.py:14
↓ 1 callersFunction_import
(path)
detectron2/detectron2/export/torchscript_patch.py:309
↓ 1 callersMethod_incremental_avg_dp
(self, avg, new_el, idx)
detectron2/projects/DensePose/densepose/modeling/test_time_augmentation.py:138
↓ 1 callersMethod_infer_output_devices
Returns: list[str]: list of device for each external output
detectron2/detectron2/export/caffe2_inference.py:48
↓ 1 callersMethod_infer_shape
(ctx, input, weight)
detectron2/detectron2/layers/deform_conv.py:298
↓ 1 callersMethod_inference_one_image
Args: input (dict): one dataset dict with "image" field being a CHW tensor Returns: dict: one output dict
detectron2/detectron2/modeling/test_time_augmentation.py:206
↓ 1 callersMethod_infinite_indices
(self)
detectron2/detectron2/data/samplers/distributed_sampler.py:62
↓ 1 callersMethod_infinite_indices
(self)
detectron2/detectron2/data/samplers/distributed_sampler.py:240
↓ 1 callersMethod_init_box_head
(cls, cfg, input_shape)
detectron2/detectron2/modeling/roi_heads/roi_heads.py:618
↓ 1 callersMethod_init_densepose_head
(self, cfg, input_shape)
detectron2/projects/DensePose/densepose/modeling/roi_heads/roi_head.py:96
↓ 1 callersMethod_init_keypoint_head
(cls, cfg, input_shape)
detectron2/detectron2/modeling/roi_heads/roi_heads.py:689
↓ 1 callersMethod_init_mask_head
(cls, cfg, input_shape)
detectron2/detectron2/modeling/roi_heads/roi_heads.py:655
↓ 1 callersMethod_init_point_head
(self, cfg, input_shape)
detectron2/projects/PointRend/point_rend/mask_head.py:191
↓ 1 callersMethod_init_point_head
(self, cfg, input_shape: Dict[str, ShapeSpec])
detectron2/projects/PointRend/point_rend/semantic_seg.py:53
↓ 1 callersMethod_init_roi_head
(self, cfg, input_shape)
detectron2/projects/PointRend/point_rend/mask_head.py:188
↓ 1 callersMethod_initialize_confidence_estimation_layers
Initialize confidence estimation layers based on configuration options Args: cfg (CfgNode): configuration options
detectron2/projects/DensePose/densepose/modeling/predictors/cse_confidence.py:48
↓ 1 callersMethod_initialize_confidence_estimation_layers
Initialize confidence estimation layers based on configuration options Args: cfg (CfgNode): configuration options
detectron2/projects/DensePose/densepose/modeling/predictors/chart_confidence.py:49
↓ 1 callersMethod_initialize_extra_fields
If input instances don't have ID, ID_period, lost_frame_count fields, this method is used to initialize these fields. Args:
detectron2/detectron2/tracking/hungarian_tracker.py:74
↓ 1 callersFunction_inverse_rotation
(densepose_attrs, boxes, transform)
detectron2/projects/DensePose/densepose/modeling/test_time_augmentation.py:147
↓ 1 callersFunction_is_dead_end
(versioned_blob)
detectron2/detectron2/export/shared.py:1023
↓ 1 callersFunction_keypoints_to_heatmap
Encode keypoint locations into a target heatmap for use in SoftmaxWithLoss across space. Maps keypoints from the half-open interval [x1, x2)
detectron2/detectron2/structures/keypoints.py:105
↓ 1 callersMethod_loadGEval
(self)
detectron2/projects/DensePose/densepose/evaluation/densepose_coco_evaluation.py:150
↓ 1 callersFunction_load_coco_annotations
Load COCO annotations from a JSON file Args: json_file: str Path to the file to load annotations from Returns:
detectron2/projects/DensePose/densepose/data/datasets/coco.py:156
↓ 1 callersMethod_load_file
(self, filename)
detectron2/detectron2/checkpoint/detection_checkpoint.py:70
↓ 1 callersFunction_load_lvis_annotations
Load COCO annotations from a JSON file Args: json_file: str Path to the file to load annotations from Returns:
detectron2/projects/DensePose/densepose/data/datasets/lvis.py:51
↓ 1 callersFunction_log_classification_stats
Log the classification metrics to EventStorage. Args: pred_logits: Rx(K+1) logits. The last column is for background class.
detectron2/detectron2/modeling/roi_heads/fast_rcnn.py:88
↓ 1 callersMethod_lookup_converter
Perform recursive lookup for the given type to find registered converter. If a converter was found for some base class, it ge
detectron2/projects/DensePose/densepose/converters/base.py:44
↓ 1 callersMethod_make_branches
(self, num_branches, block, num_blocks, num_channels)
detectron2/projects/DensePose/densepose/modeling/hrnet.py:182
← previousnext →801–900 of 3,350, ranked by callers