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__init__
Args: output_size (tuple): h, w spatial_scale (float): scale the input boxes by this number sampling_rati
detectron2/detectron2/layers/roi_align_rotated.py:52
Method__init__
Extra keyword arguments supported in addition to those in `torch.nn.Conv2d`: Args: norm (nn.Module, optional): a normali
detectron2/detectron2/layers/wrappers.py:107
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
detectron2/detectron2/tracking/iou_weighted_hungarian_bbox_iou_tracker.py:22
Method__init__
(self, **kwargs)
detectron2/detectron2/tracking/base_tracker.py:21
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
detectron2/detectron2/tracking/vanilla_hungarian_bbox_iou_tracker.py:24
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
detectron2/detectron2/tracking/hungarian_tracker.py:22
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
detectron2/detectron2/tracking/bbox_iou_tracker.py:23
Method__init__
Args: dataset_name (str): the name of the dataset. It must have the following metadata associated with it:
detectron2/detectron2/evaluation/cityscapes_evaluation.py:23
Method__init__
Args: evaluators (list): the evaluators to combine.
detectron2/detectron2/evaluation/evaluator.py:74
Method__init__
Args: dataset_name (str): name of the dataset, e.g., "voc_2007_test"
detectron2/detectron2/evaluation/pascal_voc_evaluation.py:31
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. It must have either the following corresponding me
detectron2/detectron2/evaluation/coco_evaluation.py:47
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. It must have the following corresponding metadata:
detectron2/detectron2/evaluation/lvis_evaluation.py:28
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. distributed (bool): if True, will collect results from
detectron2/detectron2/evaluation/sem_seg_evaluation.py:41
Method__init__
Args: dataset_name: name of the dataset output_dir: output directory to save results for evaluation.
detectron2/detectron2/evaluation/panoptic_evaluation.py:32
Method__init__
(self, target)
detectron2/detectron2/config/lazy.py:42
Method__init__
Args: predict_net, init_net (core.Net): caffe2 nets convert_outptus (callable): a function that converts caffe2
detectron2/detectron2/export/caffe2_inference.py:131
Method__init__
(self, name, type_)
detectron2/detectron2/export/torchscript_patch.py:97
Method__init__
(self, cfg, torch_model, enable_tensor_mode=True)
detectron2/detectron2/export/caffe2_modeling.py:246
Method__init__
(self, cfg, torch_model)
detectron2/detectron2/export/caffe2_modeling.py:291
Method__init__
Args: cfg (CfgNode): a detectron2 config used to construct caffe2-compatible model. model (nn.Module): An original py
detectron2/detectron2/export/api.py:45
Method__init__
(self, predict_net, init_net)
detectron2/detectron2/export/api.py:126
Method__init__
(self, ws_name, is_reset, is_cleanup=False)
detectron2/detectron2/export/shared.py:135
Method__init__
(self)
detectron2/detectron2/export/shared.py:791
Method__init__
(self, tensor)
detectron2/detectron2/export/c10.py:30
Method__init__
(self, im_info, indices, extra_fields=None)
detectron2/detectron2/export/c10.py:49
Method__init__
(self, tensor_mode)
detectron2/detectron2/export/c10.py:520
Method__init__
(self, use_heatmap_max_keypoint)
detectron2/detectron2/export/c10.py:565
Method__init__
(self, replaceCls)
detectron2/detectron2/export/caffe2_patch.py:35
Method__init__
(self, heads, use_heatmap_max_keypoint)
detectron2/detectron2/export/caffe2_patch.py:118
Method__init__
Args: model: an nn.Module inputs: An input argument or a tuple of input arguments used to call model.
detectron2/detectron2/export/flatten.py:225
Method__init__
Args: num_branch (int): the number of branches in TridentNet. dilations (tuple): the dilations of multiple branches i
detectron2/projects/TridentNet/tridentnet/trident_backbone.py:16
Method__init__
(self, cfg, input_shape)
detectron2/projects/TridentNet/tridentnet/trident_rpn.py:15
Method__init__
(self, cfg, input_shape)
detectron2/projects/TridentNet/tridentnet/trident_rcnn.py:89
Method__init__
( self, in_channels, out_channels, kernel_size, stride=1, padd
detectron2/projects/TridentNet/tridentnet/trident_conv.py:11
Method__init__
TensorMask head.
detectron2/projects/TensorMask/tensormask/arch.py:755
Method__init__
(self, lambda_val, pad_val=-6.0)
detectron2/projects/TensorMask/tensormask/layers/swap_align2nat.py:48
Method__init__
Args: ignore_label: Integer, the ignore label for semantic segmentation. thing_ids: Set, a set of ids from contiguous
detectron2/projects/Panoptic-DeepLab/panoptic_deeplab/target_generator.py:12
Method__init__
NOTE: this interface is experimental. Args: augmentations: a list of augmentations or deterministic transforms to apply
detectron2/projects/Panoptic-DeepLab/panoptic_deeplab/dataset_mapper.py:29
Method__init__
NOTE: this interface is experimental. Args: input_shape (ShapeSpec): shape of the input feature decoder_chan
detectron2/projects/Panoptic-DeepLab/panoptic_deeplab/panoptic_seg.py:229
Method__init__
NOTE: this interface is experimental. Args: input_shape (ShapeSpec): shape of the input feature decoder_chan
detectron2/projects/Panoptic-DeepLab/panoptic_deeplab/panoptic_seg.py:371
Method__init__
NOTE: this interface is experimental. Args: is_train: whether it's used in training or inference augmentatio
detectron2/projects/PointSup/point_sup/dataset_mapper.py:28
Method__init__
Args: cfg (CfgNode): model (GeneralizedRCNN): a GeneralizedRCNN to apply TTA on. transform_data (DensePos
detectron2/projects/DensePose/densepose/modeling/test_time_augmentation.py:41
Method__init__
(self, model, save_dir="", *, save_to_disk=None, **checkpointables)
detectron2/projects/DensePose/densepose/modeling/densepose_checkpoint.py:29
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
detectron2/projects/DensePose/densepose/modeling/hrnet.py:66
Method__init__
( self, num_branches, blocks, num_blocks, num_inchannels, num_
detectron2/projects/DensePose/densepose/modeling/hrnet.py:114
Method__init__
(self, cfg, **kwargs)
detectron2/projects/DensePose/densepose/modeling/hrnet.py:284
Method__init__
(self, cfg: CfgNode)
detectron2/projects/DensePose/densepose/modeling/filter.py:14
Method__init__
( self, bottom_up, in_features, n_out_features, in_channels, o
detectron2/projects/DensePose/densepose/modeling/hrfpn.py:50
Method__init__
(self, cfg, input_shape)
detectron2/projects/DensePose/densepose/modeling/roi_heads/roi_head.py:92
Method__init__
Initialize DensePose fully convolutional head Args: cfg (CfgNode): configuration options input_channels (int
detectron2/projects/DensePose/densepose/modeling/roi_heads/v1convx.py:22
Method__init__
(self, cfg: CfgNode, input_channels: int)
detectron2/projects/DensePose/densepose/modeling/roi_heads/deeplab.py:24
Method__init__
(self, in_channels, out_channels, dilation)
detectron2/projects/DensePose/densepose/modeling/roi_heads/deeplab.py:84
Method__init__
(self, in_channels, out_channels)
detectron2/projects/DensePose/densepose/modeling/roi_heads/deeplab.py:96
Method__init__
( self, in_channels, inter_channels=None, dimension=3, sub_sample=True, bn_layer=True )
detectron2/projects/DensePose/densepose/modeling/roi_heads/deeplab.py:149
Method__init__
(self, in_channels, inter_channels=None, sub_sample=True, bn_layer=True)
detectron2/projects/DensePose/densepose/modeling/roi_heads/deeplab.py:258
Method__init__
( self, packed_annotations: Any, j_valid: torch.Tensor, y_lo: torch.Tensor,
detectron2/projects/DensePose/densepose/modeling/losses/utils.py:88
Method__init__
(self)
detectron2/projects/DensePose/densepose/modeling/losses/utils.py:311
Method__init__
Initialize embedding loss from config
detectron2/projects/DensePose/densepose/modeling/losses/soft_embed.py:33
Method__init__
(self)
detectron2/projects/DensePose/densepose/modeling/losses/embed_utils.py:34
Method__init__
Initialize segmentation loss from configuration options Args: cfg (CfgNode): configuration options
detectron2/projects/DensePose/densepose/modeling/losses/mask_or_segm.py:23
Method__init__
(self, cfg: CfgNode)
detectron2/projects/DensePose/densepose/modeling/losses/cycle_shape2shape.py:25
Method__init__
(self, cfg: CfgNode)
detectron2/projects/DensePose/densepose/modeling/losses/chart_with_confidences.py:23
Method__init__
(self, sigma_lower_bound: float)
detectron2/projects/DensePose/densepose/modeling/losses/chart_with_confidences.py:175
Method__init__
Initialize segmentation loss from configuration options Args: cfg (CfgNode): configuration options
detectron2/projects/DensePose/densepose/modeling/losses/segm.py:23
Method__init__
Initialize chart-based loss from configuration options Args: cfg (CfgNode): configuration options
detectron2/projects/DensePose/densepose/modeling/losses/chart.py:49
Method__init__
(self, cfg: CfgNode)
detectron2/projects/DensePose/densepose/modeling/losses/cycle_pix2shape.py:55
Method__init__
Initialize CSE loss from configuration options Args: cfg (CfgNode): configuration options
detectron2/projects/DensePose/densepose/modeling/losses/cse.py:30
Method__init__
Initialize embedding loss from config
detectron2/projects/DensePose/densepose/modeling/losses/embed.py:30
Method__init__
Initialize confidence predictor using configuration options. Args: cfg (CfgNode): configuration options inpu
detectron2/projects/DensePose/densepose/modeling/predictors/cse_confidence.py:33
Method__init__
Initialize predictor using configuration options Args: cfg (CfgNode): configuration options input_channels (
detectron2/projects/DensePose/densepose/modeling/predictors/chart.py:36
Method__init__
Initialize confidence predictor using configuration options. Args: cfg (CfgNode): configuration options inpu
detectron2/projects/DensePose/densepose/modeling/predictors/chart_confidence.py:34
Method__init__
Initialize predictor using configuration options Args: cfg (CfgNode): configuration options input_channels (
detectron2/projects/DensePose/densepose/modeling/predictors/cse.py:23
Method__init__
Initialize embedder, set random embeddings Args: num_vertices (int): number of vertices to embed embed_dim (
detectron2/projects/DensePose/densepose/modeling/cse/vertex_direct_embedder.py:22
Method__init__
Initialize embedder, set random embeddings Args: num_vertices (int): number of vertices to embed feature_dim
detectron2/projects/DensePose/densepose/modeling/cse/vertex_feature_embedder.py:26
Method__init__
Initialize mesh embedders. An embedder for mesh `i` is stored in a submodule "embedder_{i}". Args: cfg (CfgNode)
detectron2/projects/DensePose/densepose/modeling/cse/embedder.py:76
Method__init__
(self, name: str, typespec: Optional[str], value: str)
detectron2/projects/DensePose/densepose/utils/dbhelper.py:59
Method__init__
(self, name: str, typespec: Optional[str], vmin: str, vmax: str)
detectron2/projects/DensePose/densepose/utils/dbhelper.py:74
Method__init__
(self, spec: str)
detectron2/projects/DensePose/densepose/utils/dbhelper.py:87
Method__init__
(self, min_score: float = 0.8)
detectron2/projects/DensePose/densepose/data/inference_based_loader.py:41
Method__init__
Constructor Args: model (torch.nn.Module): model used to produce data data_loader (Iterable[List[Dict[str, Any]]
detectron2/projects/DensePose/densepose/data/inference_based_loader.py:62
Method__init__
(self, cfg, is_train=True)
detectron2/projects/DensePose/densepose/data/dataset_mapper.py:38
Method__init__
Args: image_list (List[str]): list of paths to image files category_list (Union[str, List[str], None]): list of anima
detectron2/projects/DensePose/densepose/data/image_list_dataset.py:24
Method__init__
(self, loaders: Collection[Loader], batch_size: int, ratios: Sequence[float])
detectron2/projects/DensePose/densepose/data/combined_loader.py:25
Method__init__
(self, dataset_name: str = "")
detectron2/projects/DensePose/densepose/data/samplers/prediction_to_gt.py:35
Method__init__
Constructor Args: confidence_channel (str): confidence channel to use for sampling; possible values:
detectron2/projects/DensePose/densepose/data/samplers/densepose_confidence_based.py:20
Method__init__
Constructor Args: cfg (CfgNode): the config of the model embedder (torch.nn.Module): necessary to compute mesh v
detectron2/projects/DensePose/densepose/data/samplers/densepose_cse_base.py:27
Method__init__
Constructor Args: cfg (CfgNode): the config of the model embedder (torch.nn.Module): necessary to compute mesh v
detectron2/projects/DensePose/densepose/data/samplers/densepose_cse_confidence_based.py:24
Method__init__
Constructor Args: count_per_class (int): the sampler produces at most `count_per_class` samples for each cat
detectron2/projects/DensePose/densepose/data/samplers/densepose_uniform.py:18
Method__init__
Constructor Args: count_per_class (int): the sampler produces at most `count_per_class` samples for each cat
detectron2/projects/DensePose/densepose/data/samplers/densepose_base.py:23
Method__init__
(self, *args, **kwargs)
detectron2/projects/DensePose/densepose/data/meshes/catalog.py:23
Method__init__
(self, min_size: int = 800, max_size: int = 1333)
detectron2/projects/DensePose/densepose/data/transform/image.py:15
Method__init__
(self, k: int)
detectron2/projects/DensePose/densepose/data/video/frame_selector.py:37
Method__init__
(self, k: int)
detectron2/projects/DensePose/densepose/data/video/frame_selector.py:57
Method__init__
(self, k: int)
detectron2/projects/DensePose/densepose/data/video/frame_selector.py:77
Method__init__
Dataset constructor Args: video_list (List[str]): list of paths to video files category_list (Union[str, Lis
detectron2/projects/DensePose/densepose/data/video/video_keyframe_dataset.py:226
Method__init__
(self, loader)
detectron2/projects/DensePose/densepose/engine/trainer.py:40
Method__init__
(self)
detectron2/projects/DensePose/densepose/engine/trainer.py:64
Method__init__
(self, densepose_datas, boxes_xyxy_abs, image_size_hw, device=_TORCH_DEVICE_CPU)
detectron2/projects/DensePose/densepose/structures/list.py:13
Method__init__
(self, uv_symmetries: Dict[str, torch.Tensor], device: torch.device)
detectron2/projects/DensePose/densepose/structures/transform_data.py:29
Method__init__
Args: vertices (tensor [N, 3] of float32): vertex coordinates in 3D faces (tensor [M, 3] of long): triangular face re
detectron2/projects/DensePose/densepose/structures/mesh.py:24
← previousnext →1,801–1,900 of 3,350, ranked by callers