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_make_efficientnet_backbone
(effnet)
distillanydepth/midas/blocks.py:176
↓ 1 callersMethod_make_fuse_layers
(self)
detectron2/projects/DensePose/densepose/modeling/hrnet.py:190
↓ 1 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
detectron2/projects/DensePose/densepose/modeling/hrnet.py:385
↓ 1 callersFunction_make_levit_backbone
( model, hooks=[3, 11, 21], patch_grid=[14, 14] )
distillanydepth/midas/backbones/levit.py:23
↓ 1 callersFunction_make_next_vit_backbone
( model, hooks=[2, 6, 36, 39], )
distillanydepth/midas/backbones/next_vit.py:15
↓ 1 callersMethod_make_one_branch
(self, branch_index, block, num_blocks, num_channels, stride=1)
detectron2/projects/DensePose/densepose/modeling/hrnet.py:155
↓ 1 callersFunction_make_pretrained_beitb16_384
(pretrained, use_readout="ignore", hooks=None)
distillanydepth/midas/backbones/beit.py:187
↓ 1 callersFunction_make_pretrained_beitl16_384
(pretrained, use_readout="ignore", hooks=None)
distillanydepth/midas/backbones/beit.py:174
↓ 1 callersFunction_make_pretrained_beitl16_512
(pretrained, use_readout="ignore", hooks=None)
distillanydepth/midas/backbones/beit.py:157
↓ 1 callersFunction_make_pretrained_efficientnet_lite3
(use_pretrained, exportable=False)
distillanydepth/midas/blocks.py:166
↓ 1 callersFunction_make_pretrained_levit_384
(pretrained, hooks=None)
distillanydepth/midas/backbones/levit.py:99
↓ 1 callersFunction_make_pretrained_next_vit_large_6m
(hooks=None)
distillanydepth/midas/backbones/next_vit.py:32
↓ 1 callersFunction_make_pretrained_resnext101_wsl
(use_pretrained)
distillanydepth/midas/blocks.py:202
↓ 1 callersFunction_make_pretrained_swin2b24_384
(pretrained, hooks=None)
distillanydepth/midas/backbones/swin2.py:16
↓ 1 callersFunction_make_pretrained_swin2l24_384
(pretrained, hooks=None)
distillanydepth/midas/backbones/swin2.py:6
↓ 1 callersFunction_make_pretrained_swin2t16_256
(pretrained, hooks=None)
distillanydepth/midas/backbones/swin2.py:26
↓ 1 callersFunction_make_pretrained_swinl12_384
(pretrained, hooks=None)
distillanydepth/midas/backbones/swin.py:6
↓ 1 callersFunction_make_pretrained_vitb16_384
(pretrained, use_readout="ignore", hooks=None)
distillanydepth/midas/backbones/vit.py:111
↓ 1 callersFunction_make_pretrained_vitb_rn50_384
( pretrained, use_readout="ignore", hooks=None, use_vit_only=False )
distillanydepth/midas/backbones/vit.py:208
↓ 1 callersFunction_make_pretrained_vitl16_384
(pretrained, use_readout="ignore", hooks=None)
distillanydepth/midas/backbones/vit.py:98
↓ 1 callersFunction_make_resnet_backbone
(resnet)
distillanydepth/midas/blocks.py:189
↓ 1 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
distillanydepth/modeling/archs/dam/dam.py:19
↓ 1 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
distillanydepth/depth_anything_v2/util/blocks.py:4
↓ 1 callersFunction_make_vit_b_rn50_backbone
( model, features=[256, 512, 768, 768], size=[384, 384], hooks=[0, 1, 8, 11], vit_features
distillanydepth/midas/backbones/vit.py:120
↓ 1 callersMethod_match_anchors
Match ground-truth boxes to a set of multi-level anchors. Args: gt_boxes: Ground-truth boxes from instances of an image.
detectron2/detectron2/modeling/meta_arch/fcos.py:98
↓ 1 callersMethod_match_and_label_boxes
Match proposals with groundtruth using the matcher at the given stage. Label the proposals as foreground or background based on the m
detectron2/detectron2/modeling/roi_heads/cascade_rcnn.py:209
↓ 1 callersFunction_maybe_add_bbox
(obj: Dict[str, Any], ann_dict: Dict[str, Any])
detectron2/projects/DensePose/densepose/data/datasets/lvis.py:89
↓ 1 callersFunction_maybe_add_bbox
(obj: Dict[str, Any], ann_dict: Dict[str, Any])
detectron2/projects/DensePose/densepose/data/datasets/coco.py:197
↓ 1 callersFunction_maybe_add_densepose
(obj: Dict[str, Any], ann_dict: Dict[str, Any])
detectron2/projects/DensePose/densepose/data/datasets/lvis.py:122
↓ 1 callersFunction_maybe_add_densepose
(obj: Dict[str, Any], ann_dict: Dict[str, Any])
detectron2/projects/DensePose/densepose/data/datasets/coco.py:230
↓ 1 callersFunction_maybe_add_iscrowd_annotations
(cocoapi)
detectron2/projects/DensePose/densepose/evaluation/d2_evaluator_adapter.py:14
↓ 1 callersFunction_maybe_add_keypoints
(obj: Dict[str, Any], ann_dict: Dict[str, Any])
detectron2/projects/DensePose/densepose/data/datasets/lvis.py:108
↓ 1 callersFunction_maybe_add_keypoints
(obj: Dict[str, Any], ann_dict: Dict[str, Any])
detectron2/projects/DensePose/densepose/data/datasets/coco.py:216
↓ 1 callersFunction_maybe_add_segm
(obj: Dict[str, Any], ann_dict: Dict[str, Any])
detectron2/projects/DensePose/densepose/data/datasets/lvis.py:96
↓ 1 callersFunction_maybe_add_segm
(obj: Dict[str, Any], ann_dict: Dict[str, Any])
detectron2/projects/DensePose/densepose/data/datasets/coco.py:204
↓ 1 callersFunction_maybe_create_specific_keep_instance_predicate
(cfg: CfgNode)
detectron2/projects/DensePose/densepose/data/build.py:216
↓ 1 callersFunction_maybe_filter_and_map_categories
( dataset_name: str, dataset_dicts: List[Instance] )
detectron2/projects/DensePose/densepose/data/build.py:254
↓ 1 callersMethod_maybe_substitute_metadata
(self)
detectron2/projects/DensePose/densepose/evaluation/d2_evaluator_adapter.py:35
↓ 1 callersFunction_merge_categories
(dataset_names: Collection[str])
detectron2/projects/DensePose/densepose/data/build.py:316
↓ 1 callersMethod_merge_untracked_instances
For untracked previous instances, under certain condition, still keep them in tracking and merge with the current instances.
detectron2/detectron2/tracking/bbox_iou_tracker.py:199
↓ 1 callersFunction_modify_blob_names
(ops, blob_rename_f)
detectron2/detectron2/export/shared.py:497
↓ 1 callersMethod_move_to_current_device
(self, x)
detectron2/detectron2/modeling/meta_arch/rcnn.py:88
↓ 1 callersMethod_move_to_current_device
(self, x)
detectron2/detectron2/modeling/meta_arch/rcnn.py:295
↓ 1 callersMethod_move_to_current_device
(self, x)
detectron2/detectron2/modeling/meta_arch/dense_detector.py:72
↓ 1 callersMethod_output_size
(input, weight, padding, dilation, stride)
detectron2/detectron2/layers/deform_conv.py:146
↓ 1 callersMethod_parse_field_name_type
(self, field_name_with_type: str)
detectron2/projects/DensePose/densepose/utils/dbhelper.py:121
↓ 1 callersMethod_parse_int_float_bool
(val)
distillanydepth/utils/mmcv_config.py:760
↓ 1 callersMethod_parse_iterable
Parse iterable values in the string. All elements inside '()' or '[]' are treated as iterable values. Args: val (str): V
distillanydepth/utils/mmcv_config.py:776
↓ 1 callersFunction_parse_losses
(losses: Dict[str, Tensor])
detectron2/detectron2/modeling/mmdet_wrapper.py:258
↓ 1 callersMethod_parse_params
( pred_params, in_channels, channels, num_classes, num_weight_params,
detectron2/projects/PointRend/point_rend/point_head.py:238
↓ 1 callersMethod_parse_specifier_into_predicates
(self, spec: str)
detectron2/projects/DensePose/densepose/utils/dbhelper.py:96
↓ 1 callersFunction_paste_mask_lists_in_image
Paste a list of masks that are of various resolutions (e.g., 28 x 28) into an image. The location, height, and width for pasting each mask is
detectron2/projects/TensorMask/tensormask/arch.py:136
↓ 1 callersFunction_patch_import
Enhance relative import statements in config files, so that they: 1. locate files purely based on relative location, regardless of packages.
detectron2/detectron2/config/lazy.py:103
↓ 1 callersFunction_pooled_next
(iterator: Iterator[Any], pool: Deque[Any])
detectron2/projects/DensePose/densepose/data/combined_loader.py:12
↓ 1 callersFunction_postprocess
Post-process the output boxes for TensorMask. The input images are often resized when entering an object detector. As a result, we often
detectron2/projects/TensorMask/tensormask/arch.py:182
↓ 1 callersMethod_pre_substitute_base_vars
Substitute base variable placehoders to string, so that parsing would work.
distillanydepth/utils/mmcv_config.py:229
↓ 1 callersMethod_print_mesh_alignment_results
(self, results: Dict[str, float], mesh_names: Iterable[str])
detectron2/projects/DensePose/densepose/evaluation/evaluator.py:182
↓ 1 callersMethod_process_dataset_evaluation_results
(self)
detectron2/tools/lightning_train_net.py:124
↓ 1 callersMethod_produce_data
Produce batches of data from images Args: images_and_categories (List[Tuple[torch.Tensor, Optional[str]]]): li
detectron2/projects/DensePose/densepose/data/inference_based_loader.py:123
↓ 1 callersMethod_produce_labels_and_results
Method to get labels and DensePose results from an instance Args: instance (Instances): an instance of `DensePoseChartPr
detectron2/projects/DensePose/densepose/data/samplers/densepose_base.py:113
↓ 1 callersMethod_produce_mask_and_results
Method to get labels and DensePose results from an instance Args: instance (Instances): an instance of `DensePoseEmbeddi
detectron2/projects/DensePose/densepose/data/samplers/densepose_cse_base.py:93
↓ 1 callersFunction_ram_storage_gather
( storage: SingleProcessRamTensorStorage, dst_rank: int = 0 )
detectron2/projects/DensePose/densepose/evaluation/tensor_storage.py:207
↓ 1 callersMethod_reduce_pred_densepose
(self, outputs, tfms)
detectron2/projects/DensePose/densepose/modeling/test_time_augmentation.py:116
↓ 1 callersFunction_rename_HRNet_weights
(weights)
detectron2/projects/DensePose/densepose/modeling/densepose_checkpoint.py:9
↓ 1 callersMethod_resample_mask
Convert DensePose predictor output to segmentation annotation - tensors of size (256, 256) and type `int64`. Args:
detectron2/projects/DensePose/densepose/data/samplers/densepose_base.py:129
↓ 1 callersMethod_reset_dataset_evaluators
(self)
detectron2/tools/lightning_train_net.py:135
↓ 1 callersMethod_reset_fields
Before each uodate call, reset fields first
detectron2/detectron2/tracking/bbox_iou_tracker.py:174
↓ 1 callersMethod_resize
(self, mask, matrix, w, h)
detectron2/projects/DensePose/densepose/vis/base.py:61
↓ 1 callersMethod_rot90
(self, img, num)
detectron2/tests/layers/test_roi_align_rotated.py:24
↓ 1 callersFunction_roundrobin
roundrobin('ABC', 'D', 'EF') --> A D E B F C
detectron2/detectron2/data/common.py:22
↓ 1 callersMethod_run_stage
Args: features (list[Tensor]): #lvl input features to ROIHeads proposals (list[Instances]): #image Instances, with th
detectron2/detectron2/modeling/roi_heads/cascade_rcnn.py:258
↓ 1 callersMethod_sample
Sample DensPoseDataRelative from estimation results
detectron2/projects/DensePose/densepose/data/samplers/densepose_base.py:51
↓ 1 callersFunction_sample_fg_pixels_randperm
(fg_mask: torch.Tensor, sample_size: int)
detectron2/projects/DensePose/densepose/modeling/losses/cycle_pix2shape.py:32
↓ 1 callersMethod_sample_random_pair
Produce a random pair of different mesh names Return: tuple(str, str): a pair of different mesh names
detectron2/projects/DensePose/densepose/modeling/losses/cycle_shape2shape.py:39
↓ 1 callersMethod_sample_train_points
(self, coarse_mask, instances)
detectron2/projects/PointRend/point_rend/mask_head.py:269
↓ 1 callersFunction_set
(key_seq: List[str], val: str)
detectron2/detectron2/config/compat.py:120
↓ 1 callersMethod_setup_figure
Args: Same as in :meth:`__init__()`. Returns: fig (matplotlib.pyplot.figure): top level container for all th
detectron2/detectron2/utils/visualizer.py:269
↓ 1 callersFunction_shard_iterator_dataloader_worker
(iterable, chunk_size=1)
detectron2/detectron2/data/common.py:37
↓ 1 callersMethod_simple_roialign_with_grad
(self, img, box, resolution, device)
detectron2/tests/layers/test_roi_align.py:96
↓ 1 callersMethod_split
(values, sizes)
detectron2/detectron2/export/flatten.py:54
↓ 1 callersFunction_submodule_name
(key)
detectron2/detectron2/checkpoint/c2_model_loading.py:343
↓ 1 callersMethod_substitute_base_vars
Substitute variable strings to their actual values.
distillanydepth/utils/mmcv_config.py:248
↓ 1 callersMethod_substitute_predefined_vars
(filename, temp_config_name)
distillanydepth/utils/mmcv_config.py:208
↓ 1 callersMethod_tasks_from_predictions
Get COCO API "tasks" (i.e. iou_type) from COCO-format predictions.
detectron2/detectron2/evaluation/coco_evaluation.py:210
↓ 1 callersMethod_tasks_from_predictions
(self, predictions)
detectron2/detectron2/evaluation/lvis_evaluation.py:128
↓ 1 callersMethod_test_eval
(self, sizes)
detectron2/projects/DensePose/tests/test_model_e2e.py:33
↓ 1 callersMethod_test_eval
(self, input_sizes)
detectron2/tests/modeling/test_model_e2e.py:80
↓ 1 callersMethod_test_eval
(self, input_sizes)
detectron2/tests/modeling/test_model_e2e.py:221
↓ 1 callersMethod_test_retinanet_model
(self, config_path)
detectron2/tests/test_export_torchscript.py:77
↓ 1 callersMethod_torch_load
(self, f)
detectron2/detectron2/checkpoint/detection_checkpoint.py:113
↓ 1 callersMethod_transform_annotations
(self, dataset_dict, transforms, image_shape)
detectron2/detectron2/data/dataset_mapper.py:115
↓ 1 callersMethod_transform_densepose
(self, annotation, transforms)
detectron2/projects/DensePose/densepose/data/dataset_mapper.py:128
↓ 1 callersMethod_transform_pts
(self, transforms, dp_transform_data)
detectron2/projects/DensePose/densepose/structures/data_relative.py:179
↓ 1 callersMethod_transform_segm
(self, transforms, dp_transform_data)
detectron2/projects/DensePose/densepose/structures/data_relative.py:222
↓ 1 callersMethod_transform_segm_rotation
(self, rotation)
detectron2/projects/DensePose/densepose/structures/data_relative.py:242
↓ 1 callersMethod_uniform_sample_train_points
(self, instances)
detectron2/projects/PointRend/point_rend/mask_head.py:421
↓ 1 callersFunction_unregister_custom_op_symbolic
(symbolic_name, opset_version)
detectron2/detectron2/utils/testing.py:222
↓ 1 callersFunction_unregister_op
(opname: str, domain: str, version: int)
detectron2/detectron2/utils/testing.py:248
↓ 1 callersMethod_validate_py_syntax
(filename)
distillanydepth/utils/mmcv_config.py:197
↓ 1 callersFunction_verify_annotations_have_unique_ids
(json_file: str, anns: List[List[Dict[str, Any]]])
detectron2/projects/DensePose/densepose/data/datasets/lvis.py:82
← previousnext →901–1,000 of 3,350, ranked by callers