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__call__
Produce chart-based DensePose losses Args: proposals_with_gt (list of Instances): detections with associated ground trut
detectron2/projects/DensePose/densepose/modeling/losses/chart.py:66
Method__call__
( self, proposals_with_gt: List[Instances], densepose_predictor_outputs: Any,
detectron2/projects/DensePose/densepose/modeling/losses/cse.py:56
Method__call__
Produces losses for estimated embeddings given annotated vertices. Embeddings for all the vertices of a mesh are computed by the embe
detectron2/projects/DensePose/densepose/modeling/losses/embed.py:36
Method__call__
(self, entry)
detectron2/projects/DensePose/densepose/utils/dbhelper.py:26
Method__call__
(self, entry)
detectron2/projects/DensePose/densepose/utils/dbhelper.py:66
Method__call__
(self, entry)
detectron2/projects/DensePose/densepose/utils/dbhelper.py:82
Method__call__
(self, entry: Dict[str, Any])
detectron2/projects/DensePose/densepose/utils/dbhelper.py:90
Method__call__
(self, model_output: ModelOutput)
detectron2/projects/DensePose/densepose/data/inference_based_loader.py:44
Method__call__
Args: dataset_dict (dict): Metadata of one image, in Detectron2 Dataset format. Returns: dict: a format that
detectron2/projects/DensePose/densepose/data/dataset_mapper.py:76
Method__call__
Transform model output into ground truth data through sampling Args: model_output (Dict[str, Any]): model output R
detectron2/projects/DensePose/densepose/data/samplers/prediction_to_gt.py:43
Method__call__
Converts predicted data from `instances` into the GT mask data Args: instances (Instances): predicted results, expected
detectron2/projects/DensePose/densepose/data/samplers/mask_from_densepose.py:17
Method__call__
Convert DensePose predictions (an instance of `DensePoseChartPredictorOutput`) into DensePose annotations data (an instance of `Dense
detectron2/projects/DensePose/densepose/data/samplers/densepose_base.py:33
Method__call__
Args: images (torch.Tensor): tensor of size [N, 3, H, W] that contains BGR data (typically in uint8) Retu
detectron2/projects/DensePose/densepose/data/transform/image.py:19
Method__call__
Select `k` random frames Args: frames_tss (List[int]): timestamps of input frames Returns: List[int]: ti
detectron2/projects/DensePose/densepose/data/video/frame_selector.py:40
Method__call__
Select `k` first frames Args: frames_tss (List[int]): timestamps of input frames Returns: List[int]: tim
detectron2/projects/DensePose/densepose/data/video/frame_selector.py:60
Method__call__
Select `k` last frames Args: frames_tss (List[int]): timestamps of input frames Returns: List[int]: time
detectron2/projects/DensePose/densepose/data/video/frame_selector.py:80
Method__call__
(self, instances: Instances)
detectron2/projects/DensePose/densepose/vis/extractor.py:67
Method__call__
(self, instances: Instances, select=None)
detectron2/projects/DensePose/densepose/vis/extractor.py:77
Method__call__
( self, instances: Instances, select=None )
detectron2/projects/DensePose/densepose/vis/extractor.py:93
Method__call__
( self, instances: Instances, select=None, )
detectron2/projects/DensePose/densepose/vis/extractor.py:115
Method__call__
(self, instances: Instances, select=None)
detectron2/projects/DensePose/densepose/vis/extractor.py:151
Method__call__
(self, instances: Instances, select=None)
detectron2/projects/DensePose/densepose/vis/extractor.py:168
Method__call__
(self, instances: Instances, select=None)
detectron2/projects/DensePose/densepose/vis/extractor.py:194
Method__call__
(self, call_arg)
detectron2/tests/config/test_instantiate_config.py:25
Method__call__
(self, image)
detectron2/demo/predictor.py:210
Method__call__
(self, parser, namespace, values, option_string=None)
distillanydepth/utils/mmcv_config.py:838
Method__call__
(self, sample)
distillanydepth/depth_anything_v2/util/transform.py:109
Method__call__
(self, sample)
distillanydepth/depth_anything_v2/util/transform.py:133
Method__call__
(self, sample)
distillanydepth/depth_anything_v2/util/transform.py:146
Method__call__
(self, sample)
distillanydepth/midas/transforms.py:162
Method__call__
(self, sample)
distillanydepth/midas/transforms.py:205
Method__call__
(self, sample)
distillanydepth/midas/transforms.py:218
Method__copy__
(self)
distillanydepth/utils/mmcv_config.py:642
Method__deepcopy__
(self, memo)
distillanydepth/utils/mmcv_config.py:649
Method__enter__
(self)
detectron2/detectron2/utils/events.py:525
Method__exit__
(self, exc_type, exc_val, exc_tb)
detectron2/detectron2/utils/events.py:529
Method__getattr__
(_, __)
detectron2/detectron2/utils/develop.py:26
Method__getattr__
(self, attr)
detectron2/detectron2/utils/serialize.py:28
Method__getattr__
(self, key)
detectron2/detectron2/data/catalog.py:115
Method__getattr__
(self, name: str)
detectron2/detectron2/structures/instances.py:64
Method__getattr__
(self, name)
detectron2/detectron2/export/c10.py:92
Method__getattr__
(self, name)
distillanydepth/utils/mmcv_config.py:139
Method__getitem__
(self, idx)
detectron2/detectron2/data/benchmark.py:30
Method__getitem__
(self, idx)
detectron2/detectron2/data/common.py:120
Method__getitem__
(self, idx)
detectron2/detectron2/data/common.py:180
Method__getitem__
(self, idx)
detectron2/detectron2/data/common.py:244
Method__getitem__
Args: item: int, slice, or a BoolTensor Returns: Boxes: Create a new :class:`Boxes` by indexing. Th
detectron2/detectron2/structures/boxes.py:215
Method__getitem__
Access the individual image in its original size. Args: idx: int or slice Returns: Tensor: an image
detectron2/detectron2/structures/image_list.py:36
Method__getitem__
Create a new `Keypoints` by indexing on this `Keypoints`. The following usage are allowed: 1. `new_kpts = kpts[3]`: return
detectron2/detectron2/structures/keypoints.py:60
Method__getitem__
Returns: RotatedBoxes: Create a new :class:`RotatedBoxes` by indexing. The following usage are allowed: 1. `new
detectron2/detectron2/structures/rotated_boxes.py:320
Method__getitem__
Args: item: an index-like object and will be used to index all the fields. Returns: If `item` is a string, r
detectron2/detectron2/structures/instances.py:124
Method__getitem__
Returns: BitMasks: Create a new :class:`BitMasks` by indexing. The following usage are allowed: 1. `new_masks =
detectron2/detectron2/structures/masks.py:119
Method__getitem__
Support indexing over the instances and return a `PolygonMasks` object. `item` can be: 1. An integer. It will return an obje
detectron2/detectron2/structures/masks.py:348
Method__getitem__
Returns: ROIMasks: Create a new :class:`ROIMasks` by indexing. The following usage are allowed: 1. `new_masks =
detectron2/detectron2/structures/masks.py:492
Method__getitem__
Gets selected images from the list Args: idx (int): video index in the video list file Returns: A di
detectron2/projects/DensePose/densepose/data/image_list_dataset.py:46
Method__getitem__
Gets selected keyframes from a given video Args: idx (int): video index in the video list file Returns:
detectron2/projects/DensePose/densepose/data/video/video_keyframe_dataset.py:267
Method__getitem__
Get outputs for the selected instance(s) Args: item (int or slice or tensor): selected items
detectron2/projects/DensePose/densepose/structures/chart.py:40
Method__getitem__
Get outputs for the selected instance(s) Args: item (int or slice or tensor): selected items
detectron2/projects/DensePose/densepose/structures/cse.py:29
Method__getitem__
(self, name)
distillanydepth/utils/mmcv_config.py:623
Method__getnewargs__
(self)
detectron2/detectron2/data/common.py:114
Method__getstate__
(self)
distillanydepth/utils/mmcv_config.py:639
Method__init__
(self, model: nn.Module)
detectron2/configs/Misc/torchvision_imagenet_R_50.py:50
Method__init__
(self, cfg)
detectron2/tools/lightning_train_net.py:43
Method__init__
(self)
detectron2/tools/deploy/export_model.py:80
Method__init__
Args: cfg (CfgNode): model (GeneralizedRCNN): a GeneralizedRCNN to apply TTA on. tta_mapper (callable): t
detectron2/detectron2/modeling/test_time_augmentation.py:107
Method__init__
Args: weights (4-element tuple): Scaling factors that are applied to the (dx, dy, dw, dh) deltas. In Fast R-CNN,
detectron2/detectron2/modeling/box_regression.py:28
Method__init__
Args: weights (5-element tuple): Scaling factors that are applied to the (dx, dy, dw, dh, da) deltas. These are t
detectron2/detectron2/modeling/box_regression.py:129
Method__init__
Args: normalize_by_size: normalize deltas by the size of src (anchor) boxes.
detectron2/detectron2/modeling/box_regression.py:236
Method__init__
Args: output_size (int, tuple[int] or list[int]): output size of the pooled region, e.g., 14 x 14. If tuple or li
detectron2/detectron2/modeling/poolers.py:120
Method__init__
Args: detector: a mmdet detector, or a mmdet config dict that defines a detector. size_divisibility: pad input images
detectron2/detectron2/modeling/mmdet_wrapper.py:125
Method__init__
Args: thresholds (list): a list of thresholds used to stratify predictions into levels. labels (list)
detectron2/detectron2/modeling/matcher.py:25
Method__init__
This interface is experimental. Args: sizes (list[list[float]] or list[float]): If ``sizes`` is list[lis
detectron2/detectron2/modeling/anchor_generator.py:98
Method__init__
This interface is experimental. Args: sizes (list[list[float]] or list[float]): If sizes is list[list[fl
detectron2/detectron2/modeling/anchor_generator.py:247
Method__init__
Args: dim (int): Number of input channels. num_heads (int): Number of attention heads. qkv_bias (bool: I
detectron2/detectron2/modeling/backbone/vit.py:28
Method__init__
Args: in_channels (int): Number of input channels. out_channels (int): Number of output channels. bottlen
detectron2/detectron2/modeling/backbone/vit.py:90
Method__init__
Args: dim (int): Number of input channels. num_heads (int): Number of attention heads in each ViT block.
detectron2/detectron2/modeling/backbone/vit.py:148
Method__init__
Args: net (Backbone): module representing the subnetwork backbone. Must be a subclass of :class:`Backbone`.
detectron2/detectron2/modeling/backbone/vit.py:369
Method__init__
Args: dim (int): Number of input channels. dim_out (int): Number of output channels. num_heads (int): Num
detectron2/detectron2/modeling/backbone/mvit.py:36
Method__init__
Args: dim (int): Number of input channels. dim_out (int): Number of output channels. num_heads (int): Num
detectron2/detectron2/modeling/backbone/mvit.py:180
Method__init__
(self)
detectron2/detectron2/modeling/backbone/fpn.py:194
Method__init__
(self, in_channels, out_channels, in_feature="res5")
detectron2/detectron2/modeling/backbone/fpn.py:209
Method__init__
Args: kernel_size (Tuple): kernel size of the projection layer. stride (Tuple): stride of the projection layer.
detectron2/detectron2/modeling/backbone/utils.py:165
Method__init__
( self, dim, window_size, num_heads, qkv_bias=True, qk_scale=N
detectron2/detectron2/modeling/backbone/swin.py:93
Method__init__
( self, dim, num_heads, window_size=7, shift_size=0, mlp_ratio
detectron2/detectron2/modeling/backbone/swin.py:197
Method__init__
(self, dim, norm_layer=nn.LayerNorm)
detectron2/detectron2/modeling/backbone/swin.py:316
Method__init__
( self, dim, depth, num_heads, window_size=7, mlp_ratio=4.0,
detectron2/detectron2/modeling/backbone/swin.py:370
Method__init__
(self, patch_size=4, in_chans=3, embed_dim=96, norm_layer=None)
detectron2/detectron2/modeling/backbone/swin.py:477
Method__init__
( self, pretrain_img_size=224, patch_size=4, in_chans=3, embed_dim=96,
detectron2/detectron2/modeling/backbone/swin.py:538
Method__init__
The `__init__` method of any subclass can specify its own set of arguments.
detectron2/detectron2/modeling/backbone/backbone.py:16
Method__init__
Args: in_channels (int): Number of input channels. out_channels (int): Number of output channels. stride
detectron2/detectron2/modeling/backbone/resnet.py:38
Method__init__
Args: bottleneck_channels (int): number of output channels for the 3x3 "bottleneck" conv layers. num_
detectron2/detectron2/modeling/backbone/resnet.py:107
Method__init__
( self, in_channels, out_channels, *, bottleneck_channels, str
detectron2/detectron2/modeling/backbone/resnet.py:219
Method__init__
Args: norm (str or callable): norm after the first conv layer. See :func:`layers.get_norm` for supported format.
detectron2/detectron2/modeling/backbone/resnet.py:336
Method__init__
(self, w_in, w_out, norm, activation_class)
detectron2/detectron2/modeling/backbone/regnet.py:63
Method__init__
(self, w_in, w_out, norm, activation_class)
detectron2/detectron2/modeling/backbone/regnet.py:79
Method__init__
(self, w_in, w_out, stride, norm, activation_class, _params)
detectron2/detectron2/modeling/backbone/regnet.py:111
Method__init__
(self, w_in, w_out, stride, norm, activation_class, _params)
detectron2/detectron2/modeling/backbone/regnet.py:129
Method__init__
(self, w_in, w_out, stride, norm, activation_class, params)
detectron2/detectron2/modeling/backbone/regnet.py:147
Method__init__
(self, w_in, w_out, stride, norm, activation_class, params)
detectron2/detectron2/modeling/backbone/regnet.py:164
Method__init__
(self, w_in, w_out, stride, norm, activation_class, params)
detectron2/detectron2/modeling/backbone/regnet.py:189
← previousnext →1,601–1,700 of 3,350, ranked by callers