MCPcopy Create free account

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

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

↓ 1 callersFunction_convert_category_id
(segment_info, meta)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/datasets/register_ade20k_panoptic.py:232
↓ 1 callersFunction_convert_category_id
(segment_info, meta)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/datasets/register_coco_panoptic_annos_semseg.py:264
↓ 1 callersMethod_convert_category_id
(self, segment_info)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/panoptic_evaluation.py:53
↓ 1 callersMethod_convert_inputs
(self, batched_inputs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_inference.py:151
↓ 1 callersMethod_convert_keypoints
(self, keypoints)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:1255
↓ 1 callersMethod_convert_keypoints
(self, keypoints)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:1338
↓ 1 callersMethod_convert_masks
Convert different format of masks or polygons to a tuple of masks and polygons. Returns: list[GenericMask]:
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:1214
↓ 1 callersMethod_convert_masks
Convert different format of masks or polygons to a tuple of masks and polygons. Returns: list[GenericMask]:
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:1298
↓ 1 callersFunction_convert_mmdet_result
(result, shape: Tuple[int, int])
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/mmdet_wrapper.py:230
↓ 1 callersMethod_convert_to_label_id
Convert trainId to id for cityscapes.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/cityscapes.py:39
↓ 1 callersMethod_convert_to_onehot_labels
Convert segmentation label to onehot. Args: seg_label (Tensor): Segmentation label of shape (N, H, W). num_classes (i
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/decode_heads/enc_head.py:159
↓ 1 callersFunction_create_const_fill_op_from_c2_int8_tensor
(name, int8_tensor)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:248
↓ 1 callersFunction_create_const_fill_op_from_numpy
(name, tensor, device_option=None)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:227
↓ 1 callersFunction_create_gradient_clipper
Creates gradient clipping closure to clip by value or by norm, according to the provided config.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/build.py:29
↓ 1 callersMethod_create_ord_label
(self, gt)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/loss.py:144
↓ 1 callersMethod_create_prediction_pairs
For all instances in previous and current frames, create pairs. For each pair, store index of the instance in current frame predcitio
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/bbox_iou_tracker.py:124
↓ 1 callersMethod_create_proposals_from_boxes
Args: boxes (list[Tensor]): per-image predicted boxes, each of shape Ri x 4 image_sizes (list[tuple]): list of image
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/cascade_rcnn.py:278
↓ 1 callersFunction_decode_and_random_crop
Make a random crop of image_size.
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/data/tf_preprocessing.py:93
↓ 1 callersFunction_decode_block_str
Decode block definition string Gets a list of block arg (dicts) through a string notation of arguments. E.g. ir_r2_k3_s2_e1_i32_o16_se0.25_n
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/efficientnet_builder.py:463
↓ 1 callersMethod_decode_head_forward_test
Run forward function and calculate loss for decode head in inference.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:107
↓ 1 callersMethod_decode_head_forward_train
Run forward function and calculate loss for decode head in training.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:96
↓ 1 callersMethod_decode_per_level_predictions
Decode boxes and classification predictions of one featuer level, by the following steps: 1. filter the predictions based on
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/dense_detector.py:186
↓ 1 callersFunction_del
(key_seq: List[str])
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/compat.py:134
↓ 1 callersMethod_derive_coco_results
Derive the desired score numbers from summarized COCOeval. Args: coco_eval (None or COCOEval): None represents no predic
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/detection_coco_evaluator.py:325
↓ 1 callersFunction_distance_acc
Return the percentage below the distance threshold, while ignoring distances values with -1. Note: - instance number: N Args:
mmpose/mmpose/evaluation/functional/keypoint_eval.py:45
↓ 1 callersFunction_do_paste_mask
Args: masks: N, 1, H, W boxes: N, 4 img_h, img_w (int): skip_empty (bool): only paste masks within the region tha
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/mask_ops.py:17
↓ 1 callersMethod_do_python_keypoint_eval
Do keypoint evaluation using COCOAPI. Args: outfile_prefix (str): The filename prefix of the json files. If the p
mmpose/mmpose/evaluation/metrics/coco_metric.py:484
↓ 1 callersMethod_draw_3d_data_samples
Draw keypoints and skeletons (optional) of GT or prediction. Args: image (np.ndarray): The image to draw. instances (
mmpose/mmpose/visualization/local_visualizer_3d.py:77
↓ 1 callersMethod_draw_instances_kpts
Draw keypoints and skeletons (optional) of GT or prediction. Args: image (np.ndarray): The image to draw. instances (
mmpose/mmpose/visualization/local_visualizer_3d.py:278
↓ 1 callersMethod_draw_text_in_mask
Find proper places to draw text given a binary mask.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:1320
↓ 1 callersMethod_dump_init_info
Dump the initialization information to a file named `initialization.log.json` in workdir. Args: logger_name (str): The na
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_module.py:137
↓ 1 callersMethod_encode_anchor_generator_cfg
(self, predict_net)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_modeling.py:349
↓ 1 callersMethod_encode_keypoint_indices
(self, heatmap_size: Tuple[int, int], keypoints: np.ndarray,
mmpose/mmpose/codecs/associative_embedding.py:296
↓ 1 callersMethod_eval_box_proposals
Evaluate the box proposals in predictions. Fill self._results with the metrics for "box_proposals" task.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/coco_evaluation.py:284
↓ 1 callersMethod_eval_box_proposals
Evaluate the box proposals in predictions. Fill self._results with the metrics for "box_proposals" task.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/lvis_evaluation.py:180
↓ 1 callersMethod_eval_box_proposals
Evaluate the box proposals in predictions. Fill self._results with the metrics for "box_proposals" task.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/detection_coco_evaluator.py:286
↓ 1 callersMethod_eval_predictions
Evaluate predictions. Fill self._results with the metrics of the tasks.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/coco_evaluation.py:222
↓ 1 callersMethod_eval_predictions
Evaluate predictions. Fill self._results with the metrics of the tasks. Args: predictions (list[dict]): list of outputs
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/lvis_evaluation.py:134
↓ 1 callersMethod_eval_predictions
Evaluate predictions. Fill self._results with the metrics of the tasks.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/detection_coco_evaluator.py:224
↓ 1 callersMethod_eval_predictions
Evaluate predictions. Fill self._results with the metrics of the tasks.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/coco_evaluator.py:221
↓ 1 callersFunction_evaluate_box_proposals
Evaluate detection proposal recall metrics. This function is a much faster alternative to the official COCO API recall evaluation code. Howev
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/coco_evaluation.py:456
↓ 1 callersFunction_evaluate_box_proposals
Evaluate detection proposal recall metrics. This function is a much faster alternative to the official LVIS API recall evaluation code. Howev
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/lvis_evaluation.py:222
↓ 1 callersFunction_evaluate_box_proposals
Evaluate detection proposal recall metrics. This function is a much faster alternative to the official COCO API recall evaluation code. Howev
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/detection_coco_evaluator.py:457
↓ 1 callersMethod_evaluate_cityscapes
Evaluation in Cityscapes protocol. Args: results (list): Testing results of the dataset. logger (logging.Logger | str
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/cityscapes.py:164
↓ 1 callersFunction_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/detection_coco_evaluator.py:568
↓ 1 callersFunction_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/coco_evaluator.py:408
↓ 1 callersMethod_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/rotated_coco_evaluation.py:192
↓ 1 callersFunction_evaluate_predictions_on_lvis
Args: iou_type (str): max_dets_per_image (None or int): limit on maximum detections per image in evaluating AP This l
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/lvis_evaluation.py:331
↓ 1 callersFunction_expand_onehot_labels
Expand onehot labels to match the size of prediction.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/losses/cross_entropy_loss.py:35
↓ 1 callersFunction_expand_param_groups
(params: List[Dict[str, Any]])
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/build.py:238
↓ 1 callersMethod_file2dict
(filename, use_predefined_variables=True)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/config.py:179
↓ 1 callersMethod_fill_missing_keypoints
Fill the missing keypoints in the initial predictions. Args: keypoints (np.ndarray): Keypoint predictions in shape (N, K, D)
mmpose/mmpose/codecs/associative_embedding.py:388
↓ 1 callersFunction_find_free_port
()
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/launch.py:15
↓ 1 callersFunction_fix_aspect_ratio
Extend the scale to match the given aspect ratio. Args: scale (np.ndarray): The image scale (w, h) in shape (2, ) aspect_ratio (f
mmpose/projects/rtmpose/examples/onnxruntime/main.py:230
↓ 1 callersFunction_fix_aspect_ratio
Extend the scale to match the given aspect ratio. Args: scale (np.ndarray): The image scale (w, h) in shape (2, ) aspect_ratio (f
ControlNet-v1-1-nightly/annotator/dwpose/onnxpose.py:149
↓ 1 callersMethod_fix_aspect_ratio
Extend the scale to match the given aspect ratio. Args: scale (np.ndarray): The image scale (w, h) in shape (2, ) asp
mmpose/mmpose/datasets/transforms/bottomup_transforms.py:207
↓ 1 callersMethod_fix_aspect_ratio
Reshape the bbox to a fixed aspect ratio. Args: bbox_scale (np.ndarray): The bbox scales (w, h) in shape (n, 2) aspec
mmpose/mmpose/datasets/transforms/topdown_transforms.py:56
↓ 1 callersMethod_flat_softmax
Use Softmax to normalize the featmaps in depthwise.
mmpose/mmpose/models/heads/regression_heads/integral_regression_head.py:161
↓ 1 callersFunction_flip
Random horizontal image flip.
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/data/tf_preprocessing.py:136
↓ 1 callersMethod_flip_tags
Flip the tagging heatmaps horizontally for test-time augmentation. Args: tags (Tensor): batched tagging heatmaps to flip
mmpose/mmpose/models/heads/heatmap_heads/ae_head.py:196
↓ 1 callersMethod_forward
Network forward process. Usually includes backbone, neck and head forward without any post-processing. Args: inputs (Tens
mmpose/mmpose/models/pose_estimators/base.py:158
↓ 1 callersMethod_forward
(self, inputs: Tensor)
mmpose/mmpose/models/pose_estimators/distiller.py:244
↓ 1 callersMethod_forward_impl
(self, x)
ControlNet-v1-1-nightly/annotator/mlsd/models/mbv2_mlsd_tiny.py:218
↓ 1 callersMethod_forward_impl
(self, x)
ControlNet-v1-1-nightly/annotator/mlsd/models/mbv2_mlsd_large.py:218
↓ 1 callersMethod_freeze_stages
(self)
mmpose/mmpose/models/backbones/mobilenet_v3.py:169
↓ 1 callersMethod_freeze_stages
(self)
mmpose/mmpose/models/backbones/shufflenet_v2.py:271
↓ 1 callersMethod_freeze_stages
(self)
mmpose/mmpose/models/backbones/shufflenet_v1.py:270
↓ 1 callersMethod_freeze_stages
(self)
mmpose/mmpose/models/backbones/swin.py:637
↓ 1 callersMethod_freeze_stages
(self)
mmpose/mmpose/models/backbones/vipnas_mbv3.py:157
↓ 1 callersMethod_freeze_stages
(self)
mmpose/mmpose/models/backbones/mobilenet_v2.py:263
↓ 1 callersMethod_freeze_stages
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py:242
↓ 1 callersMethod_freeze_stages
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/mobilenet_v2.py:164
↓ 1 callersMethod_freeze_stages
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/swin.py:638
↓ 1 callersMethod_freeze_stages
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:222
↓ 1 callersFunction_fuse_conv_bn
Fuse conv and bn into one module. Args: conv (nn.Module): Conv to be fused. bn (nn.Module): BN to be fused. Returns:
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/fuse_conv_bn.py:6
↓ 1 callersFunction_fuse_once
(predict_net)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:969
↓ 1 callersFunction_gen_fbnetc
FBNet-C Paper: https://arxiv.org/abs/1812.03443 Ref Impl: https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/maskrcn
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:433
↓ 1 callersFunction_gen_instance_class
Args: fields (dict[name: type])
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript_patch.py:90
↓ 1 callersFunction_gen_instance_module
(fields)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript_patch.py:290
↓ 1 callersFunction_gen_mnasnet_small
Creates a mnasnet-b1 model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/mnasnet Paper: https://arxiv.org/pdf/1807
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:372
↓ 1 callersFunction_gen_mobilenet_v3_rw
Creates a MobileNet-V3 model (RW variant). Paper: https://arxiv.org/abs/1905.02244 This was my first attempt at reproducing the MobileNet-V3
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/mobilenetv3.py:122
↓ 1 callersFunction_gen_spnasnet
Creates the Single-Path NAS model from search targeted for Pixel1 phone. Paper: https://arxiv.org/abs/1904.02877 Args: channel_multipl
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:465
↓ 1 callersMethod_generate_gaussian
Encoding keypoints into SimCC labels with Gaussian Label Smoothing strategy.
mmpose/mmpose/codecs/simcc_label.py:235
↓ 1 callersFunction_generate_optimizer_class_with_gradient_clipping
Dynamically creates a new type that inherits the type of a given instance and overrides the `step` method to add gradient clipping
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/build.py:49
↓ 1 callersMethod_generate_proposals
( self, images, objectness_logits_pred, anchor_deltas_pred, gt_instances=None )
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/c10.py:176
↓ 1 callersMethod_generate_standard
Encoding keypoints into SimCC labels with Standard Label Smoothing strategy. Labels will be one-hot vectors if self.label_smooth_weig
mmpose/mmpose/codecs/simcc_label.py:191
↓ 1 callersFunction_generic_status_identifier
Statically infer the status of each blob, the status can be such as device type (CPU/GPU), layout (NCHW/NHWC), data type (float32/int8),
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:381
↓ 1 callersFunction_get
(key_seq: List[str])
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/compat.py:128
↓ 1 callersFunction_get_adaptive_scales
Get adaptive scales according to areas. The scale range is [0.5, 1.0]. When the area is less than ``min_area``, the scale is 0.5 while the ar
mmpose/mmpose/visualization/local_visualizer.py:19
↓ 1 callersFunction_get_ade_instances_meta
()
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/datasets/register_ade20k_instance.py:31
↓ 1 callersFunction_get_aug_input_args
Get the arguments to be passed to ``aug.get_transform`` from the input ``aug_input``.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation.py:39
↓ 1 callersMethod_get_augmented_boxes
(self, augmented_inputs, tfms)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/test_time_augmentation.py:244
↓ 1 callersMethod_get_augmented_inputs
(self, input)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/test_time_augmentation.py:239
↓ 1 callersMethod_get_base_filename
Get base filename given subject, action, subaction and camera.
mmpose/tools/dataset_converters/preprocess_h36m.py:250
↓ 1 callersMethod_get_batch_topk
Get top-k response values from the heatmaps and corresponding tag values from the tagging heatmaps. Args: batch_heatmaps
mmpose/mmpose/codecs/associative_embedding.py:314
↓ 1 callersFunction_get_bbox_xywh
(center, scale, w=200, h=200)
mmpose/tools/dataset_converters/h36m_to_coco.py:41
↓ 1 callersMethod_get_bottomup_data_infos
Organize the data list in bottom-up mode.
mmpose/mmpose/datasets/datasets/base/base_coco_style_dataset.py:346
↓ 1 callersMethod_get_bottomup_data_infos
Organize the data list in bottom-up mode.
mmpose/mmpose/datasets/datasets/base/base_mocap_dataset.py:351
↓ 1 callersMethod_get_c2_detectron_baseline
(name)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/checkpoint/catalog.py:74
↓ 1 callersMethod_get_c2_imagenet_pretrained
(name)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/checkpoint/catalog.py:66
← previousnext →1,501–1,600 of 7,103, ranked by callers