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_verify_annotations_have_unique_ids
(json_file: str, anns: List[List[Dict[str, Any]]])
detectron2/projects/DensePose/densepose/data/datasets/coco.py:185
↓ 1 callersFunction_visit_dict_config
Apply func recursively to all DictConfig in cfg.
detectron2/detectron2/config/lazy.py:61
↓ 1 callersFunction_warn_if_merged_different_categories
(merged_categories: _MergedCategoriesT)
detectron2/projects/DensePose/densepose/data/build.py:355
↓ 1 callersFunction_wrapper_count_operators
( model: nn.Module, inputs: list, mode: str, **kwargs )
detectron2/detectron2/utils/analysis.py:128
↓ 1 callersMethodaccumulate
Accumulate instances data for one image Args: instances_one_image (Instances): instances data to accumulate
detectron2/projects/DensePose/densepose/modeling/losses/utils.py:247
↓ 1 callersMethodaccumulate
Accumulate instances data for one image Args: instances_one_image (Instances): instances data to accumulate
detectron2/projects/DensePose/densepose/modeling/losses/embed_utils.py:48
↓ 1 callersMethodaccumulate
Accumulate per image evaluation results and store the result in self.eval :param p: input params for evaluation :return: None
detectron2/projects/DensePose/densepose/evaluation/densepose_coco_evaluation.py:926
↓ 1 callersFunctionactivation_count_operators
Implement operator-level activations counting using jit. This is a wrapper of fvcore.nn.activation_count, that supports standard detection mo
detectron2/detectron2/utils/analysis.py:103
↓ 1 callersFunctionadd_args
(parser, cfg, prefix='')
distillanydepth/utils/mmcv_config.py:152
↓ 1 callersFunctionadd_bootstrap_config
detectron2/projects/DensePose/densepose/config.py:50
↓ 1 callersFunctionadd_dataset_category_config
Add config for additional category-related dataset options - category whitelisting - category mapping
detectron2/projects/DensePose/densepose/config.py:8
↓ 1 callersFunctionadd_densepose_head_config
Add config for densepose head.
detectron2/projects/DensePose/densepose/config.py:158
↓ 1 callersFunctionadd_densepose_head_cse_config
Add configuration options for Continuous Surface Embeddings (CSE)
detectron2/projects/DensePose/densepose/config.py:105
↓ 1 callersMethodadd_edge
(self, u, v)
detectron2/detectron2/export/shared.py:795
↓ 1 callersFunctionadd_evaluation_config
(cfg: CN)
detectron2/projects/DensePose/densepose/config.py:21
↓ 1 callersFunctionadd_ground_truth_to_proposals_single_image
Augment `proposals` with `gt`. Args: Same as `add_ground_truth_to_proposals`, but with gt and proposals per image. Retu
detectron2/detectron2/modeling/proposal_generator/proposal_utils.py:167
↓ 1 callersFunctionadd_hrnet_config
Add config for HRNet backbone.
detectron2/projects/DensePose/densepose/config.py:237
↓ 1 callersFunctionadd_panoptic_deeplab_config
Add config for Panoptic-DeepLab.
detectron2/projects/Panoptic-DeepLab/panoptic_deeplab/config.py:8
↓ 1 callersFunctionadd_point_sup_config
Add config for point supervision.
detectron2/projects/PointSup/point_sup/config.py:5
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
distillanydepth/modeling/backbones/vit/ViT_DINO.py:437
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
distillanydepth/modeling/backbones/vit/ViT_DINO_reg.py:620
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
distillanydepth/modeling/backbones/vit/dinov2_layers/block.py:142
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
distillanydepth/depth_anything_v2/dinov2_layers/block.py:142
↓ 1 callersFunctionadd_tensormask_config
Add config for TensorMask.
detectron2/projects/TensorMask/tensormask/config.py:7
↓ 1 callersFunctionadd_tridentnet_config
Add config for tridentnet.
detectron2/projects/TridentNet/tridentnet/config.py:7
↓ 1 callersFunctionadjust_block_compatibility
Adjusts the compatibility of widths, bottlenecks, and groups.
detectron2/detectron2/modeling/backbone/regnet.py:356
↓ 1 callersMethodafter_step
(self)
detectron2/detectron2/engine/hooks.py:551
↓ 1 callersMethodafter_step
Called after each iteration.
detectron2/detectron2/engine/train_loop.py:80
↓ 1 callersMethodafter_step
(self)
detectron2/detectron2/engine/train_loop.py:188
↓ 1 callersMethodafter_train
(self)
detectron2/detectron2/engine/hooks.py:558
↓ 1 callersMethodafter_train
(self)
detectron2/detectron2/engine/train_loop.py:171
↓ 1 callersFunctionannotations_to_instances
Create an :class:`Instances` object used by the models, from instance annotations in the dataset dict. Args: annos (list[dict]):
detectron2/projects/PointSup/point_sup/detection_utils.py:16
↓ 1 callersFunctionapply_augmentations
Use ``T.AugmentationList(augmentations)(inputs)`` instead.
detectron2/detectron2/data/transforms/augmentation.py:353
↓ 1 callersMethodapply_deltas
Apply transformation `deltas` (dx, dy, dw, dh, da) to `boxes`. Args: deltas (Tensor): transformation deltas of shape (N,
detectron2/detectron2/modeling/box_regression.py:183
↓ 1 callersMethodapply_deltas
Apply transformation `deltas` (dx1, dy1, dx2, dy2) to `boxes`. Args: deltas (Tensor): transformation deltas of shape (N,
detectron2/detectron2/modeling/box_regression.py:275
↓ 1 callersMethodapply_image
(self, img)
detectron2/detectron2/data/transforms/transform.py:302
↓ 1 callersMethodapply_segmentation
(self, segmentation)
detectron2/projects/PointRend/point_rend/color_augmentation.py:46
↓ 1 callersMethodapply_transform
(self, transforms, densepose_transform_data)
detectron2/projects/DensePose/densepose/structures/data_relative.py:174
↓ 1 callersFunctionargument_parser
()
tools/testers/infer.py:28
↓ 1 callersMethodas_dict
Returns all the metadata as a dict. Note that modifications to the returned dict will not reflect on the Metadata object.
detectron2/detectron2/data/catalog.py:155
↓ 1 callersFunctionassemble_rcnn_outputs_by_name
A function to assemble caffe2 model's outputs (i.e. Dict[str, Tensor]) to detectron2's format (i.e. list of Instances instance). This onl
detectron2/detectron2/export/caffe2_modeling.py:27
↓ 1 callersFunctionassign_boxes_to_levels
Map each box in `box_lists` to a feature map level index and return the assignment vector. Args: box_lists (list[Boxes] | list[R
detectron2/detectron2/modeling/poolers.py:23
↓ 1 callersFunctionbatch_shuffle
(x)
detectron2/projects/Rethinking-BatchNorm/configs/mask_rcnn_BNhead_shuffle.py:23
↓ 1 callersFunctionbatch_unshuffle
(x, idx_unshuffle)
detectron2/projects/Rethinking-BatchNorm/configs/mask_rcnn_BNhead_shuffle.py:52
↓ 1 callersMethodbbox
(self)
detectron2/detectron2/utils/visualizer.py:146
↓ 1 callersMethodbefore_step
Called before each iteration.
detectron2/detectron2/engine/train_loop.py:68
↓ 1 callersMethodbefore_step
(self)
detectron2/detectron2/engine/train_loop.py:176
↓ 1 callersMethodbefore_train
(self)
detectron2/detectron2/engine/hooks.py:326
↓ 1 callersMethodbefore_train
Called before the first iteration.
detectron2/detectron2/engine/train_loop.py:56
↓ 1 callersMethodbefore_train
(self)
detectron2/detectron2/engine/train_loop.py:167
↓ 1 callersMethodbenchmark_IPC
Benchmark the dataloader where each worker outputs nothing. This eliminates the IPC overhead compared to the regular dataloader.
detectron2/detectron2/data/benchmark.py:175
↓ 1 callersMethodbenchmark_dataset
Benchmark the speed of taking raw samples from the dataset.
detectron2/detectron2/data/benchmark.py:126
↓ 1 callersMethodbenchmark_mapper
Benchmark the speed of taking raw samples from the dataset and map them in a single process.
detectron2/detectron2/data/benchmark.py:138
↓ 1 callersFunctionbenchmark_paste
()
detectron2/tests/layers/test_mask_ops.py:168
↓ 1 callersFunctionbenchmark_roi_align
()
detectron2/tests/layers/test_roi_align.py:156
↓ 1 callersFunctionbenchmark_rotated_iou
()
detectron2/tests/structures/test_rotated_boxes.py:400
↓ 1 callersMethodbenchmark_workers
Benchmark the dataloader by tuning num_workers to [0, 1, self.num_workers].
detectron2/detectron2/data/benchmark.py:151
↓ 1 callersFunctionbilinear_interpolate_gradient
detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp:132
↓ 1 callersFunctionbox_iou_rotated_cpu
detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.cpp:23
↓ 1 callersMethodbox_reg_loss
Args: proposal_boxes/gt_boxes are tensors with the same shape (R, 4 or 5). pred_deltas has shape (R, 4 or 5), or (R,
detectron2/detectron2/modeling/roi_heads/fast_rcnn.py:424
↓ 1 callersMethodbrightness
(self, img)
detectron2/projects/PointRend/point_rend/color_augmentation.py:70
↓ 1 callersFunctionbuild_augmentation
(cfg, is_train)
detectron2/projects/DensePose/densepose/data/dataset_mapper.py:21
↓ 1 callersFunctionbuild_bootstrap_dataset
Build dataset that provides data to bootstrap on Args: dataset_name (str): Name of the dataset, needs to have associated metadata
detectron2/projects/DensePose/densepose/data/build.py:529
↓ 1 callersFunctionbuild_combined_loader
(cfg: CfgNode, loaders: Collection[Loader], ratios: Sequence[float])
detectron2/projects/DensePose/densepose/data/build.py:524
↓ 1 callersMethodbuild_cost_matrix
(self, instances: Instances, prev_instances: Instances)
detectron2/detectron2/tracking/hungarian_tracker.py:57
↓ 1 callersFunctionbuild_data_filter
(cfg: CfgNode)
detectron2/projects/DensePose/densepose/data/build.py:644
↓ 1 callersFunctionbuild_data_sampler
(cfg: CfgNode, sampler_cfg: CfgNode, embedder: Optional[torch.nn.Module])
detectron2/projects/DensePose/densepose/data/build.py:553
↓ 1 callersFunctionbuild_densepose_data_filter
Build DensePose data filter which selects data for training Args: cfg (CfgNode): configuration options Return: Callable
detectron2/projects/DensePose/densepose/modeling/build.py:30
↓ 1 callersFunctionbuild_densepose_evaluator_storage
(cfg: CfgNode, output_folder: str)
detectron2/projects/DensePose/densepose/evaluation/evaluator.py:388
↓ 1 callersFunctionbuild_densepose_head
Build DensePose head based on configurations options Args: cfg (CfgNode): configuration options input_channels (int): input
detectron2/projects/DensePose/densepose/modeling/build.py:46
↓ 1 callersFunctionbuild_densepose_losses
Build DensePose loss based on configurations options Args: cfg (CfgNode): configuration options Return: An instance of D
detectron2/projects/DensePose/densepose/modeling/build.py:62
↓ 1 callersFunctionbuild_densepose_predictor
Create an instance of DensePose predictor based on configuration options. Args: cfg (CfgNode): configuration options input_c
detectron2/projects/DensePose/densepose/modeling/build.py:14
↓ 1 callersFunctionbuild_detection_test_loader
Similar to `build_detection_train_loader`. But this function uses the given `dataset_name` argument (instead of the names in cfg), and us
detectron2/projects/DensePose/densepose/data/build.py:464
↓ 1 callersMethodbuild_evaluator
(cls, cfg, dataset_name, output_folder=None)
detectron2/tools/train_net.py:91
↓ 1 callersMethodbuild_evaluator
Returns: DatasetEvaluator or None It is not implemented by default.
detectron2/detectron2/engine/defaults.py:565
↓ 1 callersFunctionbuild_frame_selector
(cfg: CfgNode)
detectron2/projects/DensePose/densepose/data/build.py:503
↓ 1 callersMethodbuild_hooks
Build a list of default hooks, including timing, evaluation, checkpointing, lr scheduling, precise BN, writing events. Retur
detectron2/detectron2/engine/defaults.py:420
↓ 1 callersFunctionbuild_inference_based_loader
Constructs data loader based on inference results of a model.
detectron2/projects/DensePose/densepose/data/build.py:651
↓ 1 callersFunctionbuild_inference_based_loaders
( cfg: CfgNode, model: torch.nn.Module )
detectron2/projects/DensePose/densepose/data/build.py:691
↓ 1 callersFunctionbuild_ins_embed_branch
Build a instance embedding branch from `cfg.MODEL.INS_EMBED_HEAD.NAME`.
detectron2/projects/Panoptic-DeepLab/panoptic_deeplab/panoptic_seg.py:356
↓ 1 callersFunctionbuild_keypoint_head
Build a keypoint head from `cfg.MODEL.ROI_KEYPOINT_HEAD.NAME`.
detectron2/detectron2/modeling/roi_heads/keypoint_head.py:32
↓ 1 callersMethodbuild_lr_scheduler
It now calls :func:`detectron2.solver.build_lr_scheduler`. Overwrite it if you'd like a different scheduler.
detectron2/detectron2/engine/defaults.py:535
↓ 1 callersMethodbuild_optimizer
Returns: torch.optim.Optimizer: It now calls :func:`detectron2.solver.build_optimizer`. Overwrite it if you'd li
detectron2/detectron2/engine/defaults.py:524
↓ 1 callersFunctionbuild_pose_hrnet_backbone
(cfg, input_shape: ShapeSpec)
detectron2/projects/DensePose/densepose/modeling/hrnet.py:474
↓ 1 callersFunctionbuild_resnet_fpn_backbone
Args: cfg: a detectron2 CfgNode Returns: backbone (Backbone): backbone module, must be a subclass of :class:`Backbone`.
detectron2/detectron2/modeling/backbone/fpn.py:225
↓ 1 callersFunctionbuild_rpn_head
Build an RPN head defined by `cfg.MODEL.RPN.HEAD_NAME`.
detectron2/detectron2/modeling/proposal_generator/rpn.py:58
↓ 1 callersFunctionbuild_sem_seg_train_aug
(cfg)
detectron2/projects/Panoptic-DeepLab/train_net.py:33
↓ 1 callersFunctionbuild_sem_seg_train_aug
(cfg)
detectron2/projects/DeepLab/train_net.py:21
↓ 1 callersFunctionbuild_sem_seg_train_aug
(cfg)
detectron2/projects/PointRend/train_net.py:30
↓ 1 callersMethodbuild_test_loader
Returns: iterable It now calls :func:`detectron2.data.build_detection_test_loader`. Overwrite it if you'd like a
detectron2/detectron2/engine/defaults.py:554
↓ 1 callersMethodbuild_test_loader
(cls, cfg: CfgNode, dataset_name)
detectron2/projects/DensePose/densepose/engine/trainer.py:219
↓ 1 callersFunctionbuild_transform
(cfg: CfgNode, data_type: str)
detectron2/projects/DensePose/densepose/data/build.py:517
↓ 1 callersMethodbuild_writers
Build a list of writers to be used using :func:`default_writers()`. If you'd like a different list of writers, you can overwrite it i
detectron2/detectron2/engine/defaults.py:470
↓ 1 callersMethodc2_postprocess
(im_info, rpn_rois, rpn_roi_probs, tensor_mode)
detectron2/detectron2/export/c10.py:271
↓ 1 callersMethodc2_preprocess
(box_lists)
detectron2/detectron2/export/c10.py:289
↓ 1 callersFunctioncalculate_uncertainty
For each location of the prediction `sem_seg_logits` we estimate uncerainty as the difference between top first and top second predicted
detectron2/projects/PointRend/point_rend/semantic_seg.py:19
↓ 1 callersMethodcat
Concatenates a list of Keypoints into a single Keypoints Arguments: keypoints_list (list[Keypoints]) Returns:
detectron2/detectron2/structures/keypoints.py:84
↓ 1 callersMethodcat
Concatenates a list of BitMasks into a single BitMasks Arguments: bitmasks_list (list[BitMasks]) Returns:
detectron2/detectron2/structures/masks.py:243
↓ 1 callersMethodcenter_losses
(self, predictions, targets, weights)
detectron2/projects/Panoptic-DeepLab/panoptic_deeplab/panoptic_seg.py:547
↓ 1 callersFunctioncheck_directory
(directory)
tools/testers/infer.py:87
← previousnext →1,001–1,100 of 3,350, ranked by callers