MCPcopy Create free account

hub / github.com/IDEA-Research/DWPose / functions

Functions7,103 in github.com/IDEA-Research/DWPose

↓ 4 callersFunctionattention_pool
(x, pool, norm=None)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/mvit.py:21
↓ 4 callersFunctionbatched_nms
Same as torchvision.ops.boxes.batched_nms, but with float().
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/nms.py:9
↓ 4 callersFunctionbbox_xywh2xyxy
Transform the bbox format from xywh to x1y1x2y2. Args: bbox_xywh (ndarray): Bounding boxes (with scores), shaped (n, 4) or (n
mmpose/mmpose/structures/bbox/transforms.py:27
↓ 4 callersFunctionbuild_anchor_generator
Built an anchor generator from `cfg.MODEL.ANCHOR_GENERATOR.NAME`.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/anchor_generator.py:381
↓ 4 callersFunctionbuild_batch_data_loader
Build a batched dataloader. The main differences from `torch.utils.data.DataLoader` are: 1. support aspect ratio grouping options 2. use
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/build.py:282
↓ 4 callersMethodbuild_project
Build projection layer for key/query/value/out.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/utils/self_attention_block.py:99
↓ 4 callersFunctionbuild_upsample_layer
Build upsample layer. Args: cfg (dict): The upsample layer config, which should contain: - type (str): Layer type.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/upsample.py:50
↓ 4 callersFunctioncalculate_weights_indices
(in_length, out_length, scale, kernel, kernel_width, antialiasing)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:708
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_face_datasets/test_aflw_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_face_datasets/test_cofw_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_face_datasets/test_face_300w_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_face_datasets/test_wflw_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_face_datasets/test_coco_wholebody_face_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_hand_datasets/test_onehand10k_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_hand_datasets/test_rhd2d_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_hand_datasets/test_coco_wholebody_hand_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_hand_datasets/test_freihand_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_hand_datasets/test_panoptic_hand2d_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_body_datasets/test_mpii_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_body_datasets/test_ochuman_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_body_datasets/test_jhmdb_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_body_datasets/test_mhp_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_body_datasets/test_mpii_trb_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_body_datasets/test_aic_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_animal_datasets/test_horse10_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_animal_datasets/test_zebra_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_animal_datasets/test_fly_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_animal_datasets/test_animalpose_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_animal_datasets/test_animalkingdom_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_animal_datasets/test_macaque_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_animal_datasets/test_atrw_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_animal_datasets/test_locust_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_animal_datasets/test_ap10k_dataset.py:24
↓ 4 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_fashion_datasets/test_deepfashion_dataset.py:25
↓ 4 callersFunctioncheck_file_exist
(filename, msg_tmpl='file "{}" does not exist')
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/path.py:21
↓ 4 callersFunctioncheck_metadata_consistency
Check that the datasets have consistent metadata. Args: key (str): a metadata key dataset_names (list[str]): a list of datas
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/detection_utils.py:600
↓ 4 callersMethodclear_output
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/log_buffer.py:20
↓ 4 callersMethodcount_samples
Return the number of samples logged in the past `window_size` iterations.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:454
↓ 4 callersMethoddecode
(self, x)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/upscaling.py:52
↓ 4 callersMethoddraw_dataset_dict
Draw annotations/segmentations in Detectron2 Dataset format. Args: dic (dict): annotation/segmentation data of one image
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:538
↓ 4 callersMethoddraw_line
Args: x_data (list[int]): a list containing x values of all the points being drawn. Length of list should match t
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:1004
↓ 4 callersMethoddraw_line
Args: x_data (list[int]): a list containing x values of all the points being drawn. Length of list should match t
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:1095
↓ 4 callersMethoddraw_text
Args: text (str): class label position (tuple): a tuple of the x and y coordinates to place text on image.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:946
↓ 4 callersFunctiondrop_connect
Apply drop connect.
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/efficientnet_builder.py:90
↓ 4 callersMethoddump_to_fileobj
(self, obj, file, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/handlers/base.py:17
↓ 4 callersFunctioneval_metrics
Calculate evaluation metrics Args: results (list[ndarray] | list[str]): List of prediction segmentation maps or list of predic
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/metrics.py:257
↓ 4 callersMethodevaluate
Evaluate the results. Args: runner (:obj:`mmcv.Runner`): The underlined training runner. results (list): Output resul
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/evaluation.py:354
↓ 4 callersFunctionexists
(val)
ControlNet-v1-1-nightly/ldm/modules/attention.py:23
↓ 4 callersFunctionfixup_module_metadata
Fix the __qualname__ of module members to be their exported api name, so when they are referenced in docs, sphinx can find them. Reference:
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/env.py:135
↓ 4 callersFunctionflatten_to_tuple
Flatten an object so it can be used for PyTorch tracing. Also returns how to rebuild the original object from the flattened outputs. Ret
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/flatten.py:158
↓ 4 callersFunctionflip_coordinates
Flip normalized coordinates for test-time augmentation. Args: coords (Tensor): The coordinates to flip. Should be a tensor in shape
mmpose/mmpose/models/utils/tta.py:91
↓ 4 callersMethodforward
The unified entry for a forward process in both training and test. The method should accept three modes: 'tensor', 'predict' and 'loss':
mmpose/mmpose/models/pose_estimators/base.py:98
↓ 4 callersMethodforward
Forward the network. The input is multi scale feature maps and the output is the coordinates. Args: feats (Tuple[Tensor])
mmpose/mmpose/models/heads/regression_heads/regression_head.py:64
↓ 4 callersMethodforward
Forward the network. The input is multi scale feature maps and the output is the coordinates. Args: feats (Tuple[Tensor])
mmpose/mmpose/models/heads/regression_heads/integral_regression_head.py:171
↓ 4 callersMethodforward
Forward the network. The input is multi-stage multi-unit feature maps and the output is a list of heatmaps from multiple stages. Args
mmpose/mmpose/models/heads/heatmap_heads/mspn_head.py:276
↓ 4 callersMethodforward
Forward the network. The input is multi scale feature maps and the output is the heatmap. Args: feats (Tuple[Tensor]): Mu
mmpose/mmpose/models/heads/heatmap_heads/heatmap_head.py:203
↓ 4 callersMethodforward
Forward the network. The input is multi-stage feature maps and the output is a list of heatmaps from multiple stages. Args:
mmpose/mmpose/models/heads/heatmap_heads/cpm_head.py:173
↓ 4 callersMethodforward
Forward the network. The input is the featuremap extracted by backbone and the output is the simcc representation. Args:
mmpose/mmpose/models/heads/coord_cls_heads/rtmcc_head.py:134
↓ 4 callersMethodforward
Forward the network. The input is the featuremap extracted by backbone and the output is the simcc representation. Args:
mmpose/mmpose/models/heads/coord_cls_heads/simcc_head.py:200
↓ 4 callersMethodforward
Forward the network. The input is multi scale feature maps and the output is a tuple of heatmap and displacement. Args: f
mmpose/projects/skps/models/skps_head.py:152
↓ 4 callersMethodforward
(self, tags, keypoint_indices)
mmpose/tests/test_models/test_losses/test_ae_loss.py:100
↓ 4 callersMethodforward
(self, x)
ControlNet-v1-1-nightly/ldm/modules/midas/midas/vit.py:14
↓ 4 callersMethodget
Get the registry record. Args: key (str): The class name in string format. Returns: class: The corresponding
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/registry.py:186
↓ 4 callersFunctionget_condconv_initializer
(initializer, num_experts, expert_shape)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/conv2d_layers.py:186
↓ 4 callersMethodget_image
(self, img)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:393
↓ 4 callersMethodget_last_layer
(self)
ControlNet-v1-1-nightly/ldm/models/autoencoder.py:163
↓ 4 callersFunctionget_logger
Initialize and get a logger by name. If the logger has not been initialized, this method will initialize the logger by adding one or two hand
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/logging.py:9
↓ 4 callersMethodget_mode
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/base.py:59
↓ 4 callersMethodget_pose_data_sample
(self, multilevel: bool = False)
mmpose/tests/test_structures/test_pose_data_sample.py:13
↓ 4 callersFunctionget_pose_stats
Get statistic information `mean` and `std` of pose data. Args: kps (ndarray): keypoints in shape [..., K, D] where K and D is
mmpose/tools/dataset_converters/preprocess_mpi_inf_3dhp.py:42
↓ 4 callersFunctionget_simcc_normalized
Normalize the predicted SimCC. Args: batch_pred_simcc (torch.Tensor): The predicted SimCC. sigma (float): The sigma of the Gaussi
mmpose/mmpose/codecs/utils/post_processing.py:12
↓ 4 callersMethodget_transform
(self, image)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:128
↓ 4 callersFunctionget_version
(module, digit=2)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/env.py:82
↓ 4 callersFunctionget_warp_matrix
Calculate the affine transformation matrix that can warp the bbox area in the input image to the output size. Args: center (np.ndarra
mmpose/mmpose/structures/bbox/transforms.py:274
↓ 4 callersFunctionimwrite
Write image to file. Args: img (ndarray): Image array to be written. file_path (str): Image file path. params (None or li
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/io.py:242
↓ 4 callersFunctioninference_detector
(session, oriImg)
ControlNet-v1-1-nightly/annotator/dwpose/onnxdet.py:98
↓ 4 callersMethodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to Non
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/swin.py:636
↓ 4 callersFunctioninstance_color
Args: rgb (bool): whether to return RGB colors or BGR colors. maximum (int): either 255 or 1 Returns: ndarray: a vect
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:36
↓ 4 callersFunctionis_above_tolerance
(arr, total_pixels)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/data/preprocess.py:47
↓ 4 callersMethodis_last_iter
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:70
↓ 4 callersFunctionis_rank_zero
(args)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/base_trainer.py:44
↓ 4 callersMethodlayers
Neural network layers that makes predictions from input features.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/mask_head.py:204
↓ 4 callersMethodlevels
(self)
mmpose/mmpose/structures/multilevel_pixel_data.py:85
↓ 4 callersMethodlist
List all registered datasets. Returns: list[str]
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/catalog.py:60
↓ 4 callersMethodload
(self, path, *args, **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/checkpoint/detection_checkpoint.py:34
↓ 4 callersMethodload_from_fileobj
(self, file, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/handlers/base.py:13
↓ 4 callersFunctionlog_first_n
Log only for the first n times. Args: lvl (int): the logging level msg (str): n (int): name (str): name of t
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/logger.py:140
↓ 4 callersFunctionmake_divisible
Make divisible function. This function rounds the channel number to the nearest value that can be divisible by the divisor. It is taken from
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/utils/make_divisible.py:1
↓ 4 callersMethodmake_letter_box
(self, sample)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/data/transforms.py:273
↓ 4 callersFunctionmake_noise_disk
(H, W, C, F)
ControlNet-v1-1-nightly/annotator/util.py:61
↓ 4 callersMethodmake_zero_conv
(self, channels)
ControlNet-v1-1-nightly/cldm/cldm.py:281
↓ 4 callersFunctionmasks_to_boxes
Compute the bounding boxes around the provided masks The masks should be in format [N, H, W] where N is the number of masks, (H, W) are the spatia
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/box_ops.py:106
↓ 4 callersFunctionms_deform_attn_core_pytorch
(value, value_spatial_shapes, sampling_locations, attention_weights)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/ops/functions/ms_deform_attn_func.py:57
↓ 4 callersFunctionmultilabel_classification_accuracy
Get multi-label classification accuracy. Note: - batch size: N - label number: L Args: pred (np.ndarray[N, L, 2]): m
mmpose/mmpose/evaluation/functional/keypoint_eval.py:291
↓ 4 callersFunctionnchw_to_nlc
Flatten [N, C, H, W] shape tensor to [N, L, C] shape tensor. Args: x (Tensor): The input tensor of shape [N, C, H, W] before conversion.
mmpose/mmpose/models/backbones/hrformer.py:33
↓ 4 callersFunctionnms
Greedily select boxes with high confidence and overlap <= thr. Args: dets (np.ndarray): [[x1, y1, x2, y2, score]]. thr (float): R
mmpose/mmpose/evaluation/functional/nms.py:12
↓ 4 callersFunctionnoise_pred_fn
(x, t_continuous, cond=None)
ControlNet-v1-1-nightly/ldm/models/diffusion/dpm_solver/dpm_solver.py:257
↓ 4 callersFunctionnp2tmp
Save ndarray to local numpy file. Args: array (ndarray): Ndarray to save. temp_file_name (str): Numpy file name. If 'temp_file_na
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/apis/test.py:14
↓ 4 callersMethodpredict
Predict results from features. Args: feats (Tuple[Tensor] | List[Tuple[Tensor]]): The multi-stage features (or mu
mmpose/mmpose/models/heads/heatmap_heads/heatmap_head.py:221
↓ 4 callersMethodpredict
Predict results from multi-stage feature maps. Args: feats (Tuple[Tensor] | List[Tuple[Tensor]]): The multi-stage
mmpose/mmpose/models/heads/heatmap_heads/cpm_head.py:194
← previousnext →501–600 of 7,103, ranked by callers