MCPcopy Create free account

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

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

↓ 1 callersFunctionget_version
()
mmpose/docs/en/conf.py:32
↓ 1 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/projects/rtmpose/examples/onnxruntime/main.py:282
↓ 1 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
ControlNet-v1-1-nightly/annotator/dwpose/onnxpose.py:201
↓ 1 callersFunctiongm_blur_kernel
(mean, cov, size=15)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan_light.py:85
↓ 1 callersFunctiongm_blur_kernel
(mean, cov, size=15)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan.py:86
↓ 1 callersFunctiongrad_mask
(mask)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/loss.py:106
↓ 1 callersFunctiongray2bgr
Convert a grayscale image to BGR image. Args: img (ndarray): The input image. Returns: ndarray: The converted BGR image.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/colorspace.py:56
↓ 1 callersFunctiongroup_norm_replace_aten_with_caffe2
For ONNX exported model, GroupNorm will be represented as ATen op, this can be a drop in replacement from ATen to GroupNorm
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:568
↓ 1 callersMethodgt_to_coco_json
Convert ground truth to coco format json file. Args: gt_dicts (Sequence[dict]): Ground truth of the dataset. Each dict
mmpose/mmpose/evaluation/metrics/coco_metric.py:223
↓ 1 callersFunctionguess_version
Guess the version of a partial config where the VERSION field is not specified. Returns the version, or the latest if cannot make a guess.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/compat.py:82
↓ 1 callersFunctionhack_everything
(clip_skip=0)
ControlNet-v1-1-nightly/cldm/hack.py:23
↓ 1 callersFunctionhard_sigmoid
(x, inplace: bool = False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations.py:87
↓ 1 callersFunctionhard_sigmoid_jit
(x, inplace: bool = False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_jit.py:55
↓ 1 callersFunctionhard_sigmoid_jit_bwd
(x, grad_output)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_me.py:111
↓ 1 callersFunctionhard_sigmoid_jit_fwd
(x, inplace: bool = False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_me.py:106
↓ 1 callersFunctionhard_swish
(x, inplace: bool = False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations.py:73
↓ 1 callersFunctionhard_swish_jit
(x, inplace: bool = False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_jit.py:69
↓ 1 callersFunctionhard_swish_jit_bwd
(x, grad_output)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_me.py:146
↓ 1 callersFunctionhard_swish_jit_fwd
(x)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_me.py:141
↓ 1 callersMethodhasPermission
()
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:402
↓ 1 callersMethodhas_batch_norm
(self, module)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/optimizer.py:76
↓ 1 callersFunctionheatmaps_to_keypoints
Extract predicted keypoint locations from heatmaps. Args: maps (Tensor): (#ROIs, #keypoints, POOL_H, POOL_W). The predicted heatmap
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/keypoints.py:165
↓ 1 callersMethodhue
Hue distortion.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:838
↓ 1 callersFunctionhypersim_distance_to_depth
(npyDistance)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/data/hypersim.py:36
↓ 1 callersFunctionidentify_reshape_sub_graph
Idenfity the reshape sub-graph in a protobuf. The reshape sub-graph is defined as matching the following pattern: (input_blob) -> Op_1 -
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:860
↓ 1 callersFunctionimage_to_tensor
Translate image or sequence of images to tensor. Multiple image tensors will be stacked. Args: value (np.ndarray | Sequence[np.ndarra
mmpose/mmpose/datasets/transforms/formatting.py:14
↓ 1 callersFunctionimflip_
Inplace flip an image horizontally or vertically. Args: img (ndarray): Image to be flipped. direction (str): The flip direction,
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/geometric.py:272
↓ 1 callersFunctionimg2mask
(img, H, W, low=10, high=90)
ControlNet-v1-1-nightly/annotator/util.py:84
↓ 1 callersFunctionimg_cut
* @brief Cut image * @param image Input image * @param x1 The left coordinate of cut box * @param y1 The top coordinate of cut box * @param x2 The
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/utils.cpp:157
↓ 1 callersFunctionimnormalize_
Inplace normalize an image with mean and std. Args: img (ndarray): Image to be normalized. mean (ndarray): The mean to be used fo
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/photometric.py:25
↓ 1 callersFunctionimpad
Pad the given image to a certain shape or pad on all sides with specified padding mode and padding value. Args: img (ndarray): Image
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/geometric.py:440
↓ 1 callersMethodimport_dvclive
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/dvclive.py:41
↓ 1 callersMethodimport_mlflow
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/mlflow.py:51
↓ 1 callersFunctionimport_modules_from_strings
Import modules from the given list of strings. Args: imports (list | str | None): The given module names to be imported. allow_fa
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/misc.py:39
↓ 1 callersMethodimport_neptune
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/neptune.py:52
↓ 1 callersFunctionimread_uint
(path, n_channels=3)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:185
↓ 1 callersFunctionimssave
imgs: list, N images of size WxHxC
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:112
↓ 1 callersFunctionindent
(level, s)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript_patch.py:105
↓ 1 callersFunctioninfer_abbr
Infer abbreviation from the class name. When we build a norm layer with `build_norm_layer()`, we want to preserve the norm type in variable n
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/norm.py:23
↓ 1 callersFunctioninfer_abbr
Infer abbreviation from the class name. This method will infer the abbreviation to map class types to abbreviations. Rule 1: If the clas
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/plugin.py:12
↓ 1 callersMethodinfer_scope
Infer the scope of registry. The name of the package where registry is defined will be returned. Example: # in mmdet/mod
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/registry.py:125
↓ 1 callersMethodinfer_with_flip_aug
Inference interface for the model with horizontal flip augmentation Horizontal flip augmentation improves the accuracy of the model b
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/depth_model.py:99
↓ 1 callersFunctioninference
(args, input_shape, logger)
mmpose/tools/analysis_tools/get_flops.py:68
↓ 1 callersFunctioninference
* @brief Inference network * @param image Input image * @param detect_model RTMDet model * @param pose_model RTMPose model * @return Inference res
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/inference.cpp:11
↓ 1 callersFunctioninference
Inference RTMPose model. Args: sess (ort.InferenceSession): ONNXRuntime session. img (np.ndarray): Input image in shape. Ret
mmpose/projects/rtmpose/examples/onnxruntime/main.py:79
↓ 1 callersFunctioninference
Inference RTMPose model. Args: sess (ort.InferenceSession): ONNXRuntime session. img (np.ndarray): Input image in shape. Ret
ControlNet-v1-1-nightly/annotator/dwpose/onnxpose.py:52
↓ 1 callersMethodinference
Run inference on the given inputs. Args: batched_inputs (list[dict]): same as in :meth:`forward` do_postproc
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/panoptic_fpn.py:140
↓ 1 callersFunctioninference_context
A context where the model is temporarily changed to eval mode, and restored to previous mode afterwards. Args: model: a torch Mo
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/evaluator.py:213
↓ 1 callersFunctioninference_context
A context where the model is temporarily changed to eval mode, and restored to previous mode afterwards. Args: model: a torch Mo
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/evaluator.py:217
↓ 1 callersFunctioninference_on_dataset
Run model on the data_loader and evaluate the metrics with evaluator. Also benchmark the inference speed of `model.__call__` accurately.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/evaluator.py:103
↓ 1 callersFunctioninference_pose
(session, out_bbox, oriImg)
ControlNet-v1-1-nightly/annotator/dwpose/onnxpose.py:353
↓ 1 callersFunctioninference_pose_lifter_model
Inference 3D pose from 2D pose sequences using a pose lifter model. Args: model (nn.Module): The loaded pose lifter model pose_re
mmpose/mmpose/apis/inference_3d.py:237
↓ 1 callersFunctioninference_segmentor
Inference image(s) with the segmentor. Args: model (nn.Module): The loaded segmentor. imgs (str/ndarray or list[str/ndarray]): Ei
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/apis/inference.py:69
↓ 1 callersMethodinference_single_image
Identical to :meth:`RetinaNet.inference_single_image.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/fcos.py:279
↓ 1 callersMethodinference_single_image
Single-image inference. Return bounding-box detection results by thresholding on scores and applying non-maximum suppression (NMS).
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/retinanet.py:275
↓ 1 callersMethodinit_from_ckpt
(self, path, ignore_keys=list())
ControlNet-v1-1-nightly/ldm/models/autoencoder.py:52
↓ 1 callersMethodinit_from_ckpt
(self, path, ignore_keys=list(), only_model=False)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:1521
↓ 1 callersMethodinit_offset
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/deform_conv.py:370
↓ 1 callersMethodinit_optimizer
(self)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/base_trainer.py:95
↓ 1 callersFunctioninit_pool
(process_num, initializer=None, initargs=None)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/progressbar.py:98
↓ 1 callersMethodinit_scheduler
(self)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/base_trainer.py:113
↓ 1 callersFunctioninit_segmentor
Initialize a segmentor from config file. Args: config (str or :obj:`mmcv.Config`): Config file path or the config object.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/apis/inference.py:11
↓ 1 callersMethodinit_weights
Initialize the weights in backbone.
mmpose/mmpose/models/backbones/pvt.py:520
↓ 1 callersMethodinit_weights
(self)
mmpose/mmpose/models/backbones/swin.py:78
↓ 1 callersMethodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmpose/mmpose/models/backbones/swin.py:659
↓ 1 callersMethodinit_weights
Initialize model weights.
mmpose/mmpose/models/backbones/mspn.py:508
↓ 1 callersMethodinit_weights
Initialization model weights.
mmpose/mmpose/models/utils/realnvp.py:53
↓ 1 callersMethodinit_weights
Initialize the weights in backbone and heads. Args: pretrained (str, optional): Path to pre-trained weights. Defa
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:59
↓ 1 callersMethodinit_weights
(self, pretrained)
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/uniformer.py:358
↓ 1 callersMethodinit_weights
Initialize weight of later layer.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/utils/self_attention_block.py:93
↓ 1 callersMethodinit_weights
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/saconv.py:81
↓ 1 callersMethodinit_weights
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/carafe.py:258
↓ 1 callersMethodinit_weights
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/modulated_deform_conv.py:240
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/multi_scale_deform_attn.py:230
↓ 1 callersMethodinit_weights
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/generalized_attention.py:403
↓ 1 callersMethodinit_weights
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/conv_module.py:175
↓ 1 callersMethodinit_weights
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/upsample.py:41
↓ 1 callersMethodinit_weights
(self, std=0.01, zeros_init=True)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/non_local.py:99
↓ 1 callersFunctioninitialize
Initialize a module. Args: module (``torch.nn.Module``): the module will be initialized. init_cfg (dict | list[dict]): initializa
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/weight_init.py:550
↓ 1 callersMethodinside_box
Args: box_size (height, width): Size of the reference box. boundary_threshold (int): Boxes that extend beyond the ref
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/boxes.py:245
↓ 1 callersMethodinstance_masks
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:233
↓ 1 callersFunctioninstances_to_coco_json
Dump an "Instances" object to a COCO-format json that's used for evaluation. Args: instances (Instances): img_id (int): the
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/detection_coco_evaluator.py:393
↓ 1 callersFunctioninstances_to_coco_json
Dump an "Instances" object to a COCO-format json that's used for evaluation. Args: instances (Instances): img_id (int): the
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/coco_evaluator.py:351
↓ 1 callersMethodinstances_to_json
(self, instances, img_id)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/rotated_coco_evaluation.py:124
↓ 1 callersMethodinstantiate_cond_stage
(self, config)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:622
↓ 1 callersMethodinstantiate_first_stage
(self, config)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:615
↓ 1 callersMethodinstantiate_low_stage
(self, config)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:1363
↓ 1 callersMethodinstantiate_low_stage
(self, config)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:1752
↓ 1 callersMethodintegrate
Add keypoints visibility prediction to pose prediction. Overwrite the original keypoint_scores.
mmpose/mmpose/models/heads/hybrid_heads/vis_head.py:100
↓ 1 callersFunctionintersect_and_union
Calculate intersection and Union. Args: pred_label (ndarray | str): Prediction segmentation map or predict result filename.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/metrics.py:25
↓ 1 callersFunctionintersection_over_union
* @brief Iou function * @param b1 Box1 * @param b2 Box2 * @return Iou */
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/utils.cpp:94
↓ 1 callersMethodinverse
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/transform.py:275
↓ 1 callersFunctionisEqual
* @brief Judge whether two floating point numbers are equal * @param a Number a * @param b Number b * @return Result */
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/utils.cpp:171
↓ 1 callersMethodisHardwareLevelSupported
( CameraCharacteristics characteristics, int requiredLevel)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:424
↓ 1 callersFunctionis_aten_to_device_only
(args)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:313
↓ 1 callersMethodis_block
Check if is ResNet building block.
mmpose/tests/test_models/test_backbones/test_mobilenet_v2.py:15
↓ 1 callersMethodis_block
Check if is ViPNAS_ResNet building block.
mmpose/tests/test_models/test_backbones/test_vipnas_resnet.py:17
↓ 1 callersMethodis_block
Check if is ResNet building block.
mmpose/tests/test_models/test_backbones/test_shufflenet_v2.py:15
↓ 1 callersMethodis_block
Check if is ResNet building block.
mmpose/tests/test_models/test_backbones/test_resnet.py:17
↓ 1 callersMethodis_block
Check if is SCNet building block.
mmpose/tests/test_models/test_backbones/test_scnet.py:14
← previousnext →2,401–2,500 of 7,103, ranked by callers