MCPcopy Create free account

hub / github.com/IDEA-Research/DWPose / types & classes

Types & classes1,442 in github.com/IDEA-Research/DWPose

↓ 198 callersClassConvModule
A conv block that bundles conv/norm/activation layers. This block simplifies the usage of convolution layers, which are commonly used with a
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/conv_module.py:16
↓ 104 callersClassConv2d
A wrapper around :class:`torch.nn.Conv2d` to support empty inputs and more features.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/wrappers.py:87
↓ 60 callersClassRegistry
A registry to map strings to classes. Registered object could be built from registry. Example: >>> MODELS = Registry('models')
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/registry.py:58
↓ 30 callersClassInstances
This class represents a list of instances in an image. It stores the attributes of instances (e.g., boxes, masks, labels, scores) as "fields"
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/instances.py:8
↓ 29 callersClassBoxes
This structure stores a list of boxes as a Nx4 torch.Tensor. It supports some common methods about boxes (`area`, `clip`, `nonempty`, etc
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/boxes.py:130
↓ 28 callersClassCompose
Compose multiple transforms sequentially. Args: transforms (Sequence[dict | callable]): Sequence of transform object or confi
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/pipelines/compose.py:9
↓ 24 callersClassResLayer
ResLayer to build ResNet style backbone. Args: block (nn.Module): Residual block used to build ResLayer. num_blocks (int): Number
mmpose/mmpose/models/backbones/resnet.py:316
↓ 22 callersClassDPTDepthModel
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/dpt_depth.py:142
↓ 18 callersClassCocoMetric
COCO pose estimation task evaluation metric. Evaluate AR, AP, and mAP for keypoint detection tasks. Support COCO dataset and other datasets i
mmpose/mmpose/evaluation/metrics/coco_metric.py:20
↓ 18 callersClassKeypointPartitionMetric
Wrapper metric for evaluating pose metric on user-defined body parts. Sometimes one may be interested in the performance of a pose model on c
mmpose/mmpose/evaluation/metrics/keypoint_partition_metric.py:14
↓ 18 callersClassRTMCCHead
Top-down head introduced in RTMPose (2023). The head is composed of a large-kernel convolutional layer, a fully-connected layer and a Gated At
mmpose/mmpose/models/heads/coord_cls_heads/rtmcc_head.py:24
↓ 17 callersClassShapeSpec
A simple structure that contains basic shape specification about a tensor. It is often used as the auxiliary inputs/outputs of models, to
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/shape_spec.py:8
↓ 16 callersClassDDIMSampler
ControlNet-v1-1-nightly/cldm/ddim_hacked.py:10
↓ 16 callersClassHeatmapHead
Top-down heatmap head introduced in `Simple Baselines`_ by Xiao et al (2018). The head is composed of a few deconvolutional layers followed by a
mmpose/mmpose/models/heads/heatmap_heads/heatmap_head.py:21
↓ 16 callersClassResNet
ResNet backbone. Please refer to the `paper <https://arxiv.org/abs/1512.03385>`__ for details. Args: depth (int): Network depth,
mmpose/mmpose/models/backbones/resnet.py:430
↓ 16 callersClassResnetBlock
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/model.py:90
↓ 15 callersClassShuffleNetV1
ShuffleNetV1 backbone. Args: groups (int, optional): The number of groups to be used in grouped 1x1 convolutions in each Shuf
mmpose/mmpose/models/backbones/shufflenet_v1.py:159
↓ 15 callersClassViPNASHead
ViPNAS heatmap head introduced in `ViPNAS`_ by Xu et al (2021). The head is composed of a few deconvolutional layers followed by a convolutional
mmpose/mmpose/models/heads/heatmap_heads/vipnas_head.py:15
↓ 14 callersClassBitMasks
This class stores the segmentation masks for all objects in one image, in the form of bitmaps. Attributes: tensor: bool Tensor o
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/masks.py:88
↓ 14 callersClassCPMHead
Multi-stage heatmap head introduced in `Convolutional Pose Machines`_ by Wei et al (2016) and used by `Stacked Hourglass Networks`_ by Newell et a
mmpose/mmpose/models/heads/heatmap_heads/cpm_head.py:21
↓ 14 callersClassMobileNetV2
MobileNetV2 backbone. Args: widen_factor (float): Width multiplier, multiply number of channels in each layer by this amount.
mmpose/mmpose/models/backbones/mobilenet_v2.py:104
↓ 14 callersClassNormalizeImage
Normlize image by given mean and std.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/transforms.py:197
↓ 14 callersClassRandomFlip
Randomly flip the image, bbox and keypoints. Required Keys: - img - img_shape - flip_indices - input_size (optio
mmpose/mmpose/datasets/transforms/common_transforms.py:94
↓ 14 callersClassShuffleNetV2
ShuffleNetV2 backbone. Args: widen_factor (float): Width multiplier - adjusts the number of channels in each layer by this am
mmpose/mmpose/models/backbones/shufflenet_v2.py:137
↓ 13 callersClassMobileNetV3
MobileNetV3 backbone. Args: arch (str): Architecture of mobilnetv3, from {small, big}. Default: small. conv_cfg (dict
mmpose/mmpose/models/backbones/mobilenet_v3.py:13
↓ 13 callersClassRotatedBoxes
This structure stores a list of rotated boxes as a Nx5 torch.Tensor. It supports some common methods about boxes (`area`, `clip`, `nonemp
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/rotated_boxes.py:11
↓ 13 callersClassSEResNet
SEResNet backbone. Please refer to the `paper <https://arxiv.org/abs/1709.01507>`__ for details. Args: depth (int): Network dept
mmpose/mmpose/models/backbones/seresnet.py:58
↓ 12 callersClassPoint
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:27
↓ 12 callersClassPoseTrack18Metric
PoseTrack18 evaluation metric. Evaluate AP, and mAP for keypoint detection tasks. Support PoseTrack18 (video) dataset. Please refer to `<
mmpose/mmpose/evaluation/metrics/posetrack18_metric.py:22
↓ 12 callersClassTranspose
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/utils.py:42
↓ 12 callersClassVGG
VGG backbone. Args: depth (int): Depth of vgg, from {11, 13, 16, 19}. with_norm (bool): Use BatchNorm or not. num_classes
mmpose/mmpose/models/backbones/vgg.py:39
↓ 12 callersClassViPNAS_ResNet
ViPNAS_ResNet backbone. "ViPNAS: Efficient Video Pose Estimation via Neural Architecture Search" More details can be found in the `paper
mmpose/mmpose/models/backbones/vipnas_resnet.py:350
↓ 11 callersClassCocoWholeBodyMetric
COCO-WholeBody evaluation metric. Evaluate AR, AP, and mAP for COCO-WholeBody keypoint detection tasks. Support COCO-WholeBody dataset. Pleas
mmpose/mmpose/evaluation/metrics/coco_wholebody_metric.py:14
↓ 11 callersClassDSNTHead
Top-down integral regression head introduced in `DSNT`_ by Nibali et al(2018). The head contains a differentiable spatial to numerical transform
mmpose/mmpose/models/heads/regression_heads/dsnt_head.py:19
↓ 11 callersClassDepthwiseSeparableConvModule
Depthwise separable convolution module. See https://arxiv.org/pdf/1704.04861.pdf for details. This module can replace a ConvModule with the
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/depthwise_separable_conv_module.py:7
↓ 11 callersClassIntegralRegressionHead
Top-down integral regression head introduced in `IPR`_ by Xiao et al(2018). The head contains a differentiable spatial to numerical transform
mmpose/mmpose/models/heads/regression_heads/integral_regression_head.py:25
↓ 11 callersClassPoseDataSample
The base data structure of MMPose that is used as the interface between modules. The attributes of ``PoseDataSample`` includes: - ``
mmpose/mmpose/structures/pose_data_sample.py:9
↓ 11 callersClassTimestepEmbedSequential
A sequential module that passes timestep embeddings to the children that support it as an extra input.
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:73
↓ 11 callersClassVisualizer
Visualizer that draws data about detection/segmentation on images. It contains methods like `draw_{text,box,circle,line,binary_mask,polygon}
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:331
↓ 10 callersClassAverageMeter
Computes and stores the average and current value
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/utils.py:4
↓ 10 callersClassInvertedResidual
InvertedResidual block for MobileNetV2. Args: in_channels (int): The input channels of the InvertedResidual block. out_channels (
mmpose/mmpose/models/backbones/mobilenet_v2.py:15
↓ 10 callersClassInvertedResidual
Inverted Residual Block. Args: in_channels (int): The input channels of this Module. out_channels (int): The output channels of t
mmpose/mmpose/models/backbones/utils/inverted_residual.py:11
↓ 10 callersClassMSPNHead
Multi-stage multi-unit heatmap head introduced in `Multi-Stage Pose estimation Network (MSPN)`_ by Li et al (2019), and used by `Residual Steps
mmpose/mmpose/models/heads/heatmap_heads/mspn_head.py:170
↓ 10 callersClassModuleList
ModuleList in openmmlab. Args: modules (iterable, optional): an iterable of modules to add. init_cfg (dict, optional): Initializa
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_module.py:185
↓ 10 callersClassResBlock
A residual block that can optionally change the number of channels. :param channels: the number of input channels. :param emb_channels: t
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:162
↓ 10 callersClassSimCCHead
Top-down heatmap head introduced in `SimCC`_ by Li et al (2022). The head is composed of a few deconvolutional layers followed by a fully- con
mmpose/mmpose/models/heads/coord_cls_heads/simcc_head.py:24
↓ 10 callersClassTimer
A flexible Timer class. :Example: >>> import time >>> import annotator.uniformer.mmcv as mmcv >>> with mmcv.Timer(): >>> # s
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/timer.py:12
↓ 9 callersClassBottleneck
Bottleneck block for ResNet. Args: in_channels (int): Input channels of this block. out_channels (int): Output channels of this b
mmpose/mmpose/models/backbones/resnet.py:134
↓ 9 callersClassNME
NME evaluation metric. Calculate the normalized mean error (NME) of keypoints. Note: - length of dataset: N - num_keypoints:
mmpose/mmpose/evaluation/metrics/keypoint_2d_metrics.py:713
↓ 9 callersClassPrepareForNet
Prepare sample for usage as network input.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/transforms.py:211
↓ 9 callersClassResize
Resize sample to given size (width, height).
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/transforms.py:48
↓ 9 callersClassSCNet
SCNet backbone. Improving Convolutional Networks with Self-Calibrated Convolutions, Jiang-Jiang Liu, Qibin Hou, Ming-Ming Cheng, Changhu Wang
mmpose/mmpose/models/backbones/scnet.py:196
↓ 9 callersClassTopdownAffine
Get the bbox image as the model input by affine transform. Required Keys: - img - bbox_center - bbox_scale - bbo
mmpose/mmpose/datasets/transforms/topdown_transforms.py:14
↓ 9 callersClassViPNAS_Bottleneck
Bottleneck block for ViPNAS_ResNet. Args: in_channels (int): Input channels of this block. out_channels (int): Output channels of
mmpose/mmpose/models/backbones/vipnas_resnet.py:15
↓ 8 callersClassBasicTemporalBlock
Basic block for VideoPose3D. Args: in_channels (int): Input channels of this block. out_channels (int): Output channels of this b
mmpose/mmpose/models/backbones/tcn.py:13
↓ 8 callersClassGenerateTarget
Encode keypoints into Target. The generated target is usually the supervision signal of the model learning, e.g. heatmaps or regression label
mmpose/mmpose/datasets/transforms/common_transforms.py:873
↓ 8 callersClassNormalizeImage
Normlize image by given mean and std.
ControlNet-v1-1-nightly/annotator/midas/midas/transforms.py:197
↓ 8 callersClassNormalizeImage
Normlize image by given mean and std.
ControlNet-v1-1-nightly/ldm/modules/midas/midas/transforms.py:197
↓ 8 callersClassRes3DBlock
A residual 3D convolutional block. Args: in_channels (int): Input channels of this block. out_channels (int): Output channels of
mmpose/mmpose/models/backbones/v2v_net.py:55
↓ 8 callersClassSPR
Encode/decode keypoints with Structured Pose Representation (SPR). See the paper `Single-stage multi-person pose machines`_ by Nie et al (201
mmpose/mmpose/codecs/spr.py:16
↓ 8 callersClassSwinTransformer
Swin Transformer A PyTorch implement of : `Swin Transformer: Hierarchical Vision Transformer using Shifted Windows` - https://arxiv.
mmpose/mmpose/models/backbones/swin.py:463
↓ 8 callersClassTranspose
ControlNet-v1-1-nightly/annotator/midas/midas/vit.py:45
↓ 8 callersClassTranspose
ControlNet-v1-1-nightly/ldm/modules/midas/midas/vit.py:45
↓ 8 callersClassUpSampleBN
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/submodules.py:10
↓ 8 callersClassViPNAS_MobileNetV3
ViPNAS_MobileNetV3 backbone. "ViPNAS: Efficient Video Pose Estimation via Neural Architecture Search" More details can be found in the `paper
mmpose/mmpose/models/backbones/vipnas_mbv3.py:13
↓ 7 callersClassFeatureMapProcessor
A PyTorch module for selecting, concatenating, and rescaling feature maps. Args: select_index (Optional[Union[int, Tuple[int]]], opti
mmpose/mmpose/models/necks/fmap_proc_neck.py:14
↓ 7 callersClassHRFomerModule
High-Resolution Module for HRFormer. Args: num_branches (int): The number of branches in the HRFormerModule. block (nn.Module): T
mmpose/mmpose/models/backbones/hrformer.py:390
↓ 7 callersClassLinear
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/wrappers.py:166
↓ 7 callersClassMapDataset
Map a function over the elements in a dataset.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/common.py:54
↓ 7 callersClassNormalizeImage
Normlize image by given mean and std.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/transforms.py:197
↓ 7 callersClassPose2DInferencer
The inferencer for 2D pose estimation. Args: model (str, optional): Pretrained 2D pose estimation algorithm. It's the path to
mmpose/mmpose/apis/inferencers/pose2d_inferencer.py:38
↓ 7 callersClassPyramidVisionTransformerV2
Implementation of `PVTv2: Improved Baselines with Pyramid Vision Transformer <https://arxiv.org/pdf/2106.13797.pdf>`_.
mmpose/mmpose/models/backbones/pvt.py:558
↓ 7 callersClassSimpleTokenizer
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/tokenizer.py:119
↓ 7 callersClassTCN
TCN backbone. Temporal Convolutional Networks. More details can be found in the `paper <https://arxiv.org/abs/1811.11742>`__ . Args:
mmpose/mmpose/models/backbones/tcn.py:136
↓ 7 callersClassTokenize
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/tokenizer.py:86
↓ 7 callersClassVisPredictHead
VisPredictHead must be used together with other heads. It can predict keypoints coordinates of and their visibility simultaneously. In the cur
mmpose/mmpose/models/heads/hybrid_heads/vis_head.py:16
↓ 6 callersClassAssociativeEmbedding
Encode/decode keypoints with the method introduced in "Associative Embedding". This is an asymmetric codec, where the keypoints are represente
mmpose/mmpose/codecs/associative_embedding.py:143
↓ 6 callersClassBasicBlock
BasicBlock for ResNet. Args: in_channels (int): Input channels of this block. out_channels (int): Output channels of this block.
mmpose/mmpose/models/backbones/resnet.py:14
↓ 6 callersClassConfigDict
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/config.py:33
↓ 6 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). We follow the implementation https://github.com
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/drop.py:28
↓ 6 callersClassPyramidVisionTransformer
Pyramid Vision Transformer (PVT) Implementation of `Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolution
mmpose/mmpose/models/backbones/pvt.py:358
↓ 6 callersClassRLEHead
Top-down regression head introduced in `RLE`_ by Li et al(2021). The head is composed of fully-connected layers to predict the coordinates and
mmpose/mmpose/models/heads/regression_heads/rle_head.py:20
↓ 6 callersClassROIPooler
Region of interest feature map pooler that supports pooling from one or more feature maps.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/poolers.py:114
↓ 6 callersClassRandomHalfBody
Data augmentation with half-body transform that keeps only the upper or lower body at random. Required Keys: - keypoints - k
mmpose/mmpose/datasets/transforms/common_transforms.py:263
↓ 6 callersClassRegNet
RegNet backbone. More details can be found in `paper <https://arxiv.org/abs/2003.13678>`__ . Args: arch (dict): The parameter of Reg
mmpose/mmpose/models/backbones/regnet.py:14
↓ 6 callersClassResizeTransform
Resize the image to a target size.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/transform.py:94
↓ 6 callersClassSequential
Sequential module in openmmlab. Args: init_cfg (dict, optional): Initialization config dict.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_module.py:173
↓ 6 callersClassShuffleUnit
ShuffleUnit block. ShuffleNet unit with pointwise group convolution (GConv) and channel shuffle. Args: in_channels (int): The in
mmpose/mmpose/models/backbones/shufflenet_v1.py:16
↓ 6 callersClassUnetSkipConnectionBlock
Defines the Unet submodule with skip connection. X -------------------identity---------------------- |-- downsampling -- |submodule| -
ControlNet-v1-1-nightly/annotator/lineart_anime/__init__.py:46
↓ 6 callersClassViPNAS_ResLayer
ViPNAS_ResLayer to build ResNet style backbone. Args: block (nn.Module): Residual block used to build ViPNAS ResLayer. num_blocks
mmpose/mmpose/models/backbones/vipnas_resnet.py:212
↓ 5 callersClassAttentionBlock
An attention block that allows spatial positions to attend to each other. Originally ported from here, but adapted to the N-d case. https
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:277
↓ 5 callersClassBottomupRandomAffine
r"""Randomly shift, resize and rotate the image. Required Keys: - img - img_shape - keypoints (optional) Modified K
mmpose/mmpose/datasets/transforms/bottomup_transforms.py:134
↓ 5 callersClassBox2BoxTransform
The box-to-box transform defined in R-CNN. The transformation is parameterized by 4 deltas: (dx, dy, dw, dh). The transformation scales the b
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/box_regression.py:21
↓ 5 callersClassConcatDataset
A wrapper of concatenated dataset. Same as :obj:`torch.utils.data.dataset.ConcatDataset`, but concat the group flag for image aspect ratio.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/dataset_wrappers.py:7
↓ 5 callersClassConv2d
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/wrappers.py:42
↓ 5 callersClassDecoupledHeatmap
Encode/decode keypoints with the method introduced in the paper CID. See the paper Contextual Instance Decoupling for Robust Multi-Person Pos
mmpose/mmpose/codecs/decoupled_heatmap.py:16
↓ 5 callersClassDetectionCheckpointer
Same as :class:`Checkpointer`, but is able to: 1. handle models in detectron & detectron2 model zoo, and apply conversions for legacy models.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/checkpoint/detection_checkpoint.py:16
↓ 5 callersClassDoubleConvBlock
ControlNet-v1-1-nightly/annotator/hed/__init__.py:17
↓ 5 callersClassFeatureFusionBlock_custom
Feature fusion block.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/blocks.py:379
↓ 5 callersClassFeatureFusionBlock_custom
Feature fusion block.
ControlNet-v1-1-nightly/annotator/midas/midas/blocks.py:291
next →1–100 of 1,442, ranked by callers