MCPcopy Create free account

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

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

↓ 1 callersMethodcreateCameraPreviewSession
Creates a new {@link CameraCaptureSession} for camera preview.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraConnectionFragment.java:427
↓ 1 callersFunctioncreateConvFunc
(op_type)
ControlNet-v1-1-nightly/annotator/pidinet/model.py:270
↓ 1 callersFunctioncreate_const_fill_op
Given a blob object, return the Caffe2 operator that creates this blob as constant. Currently support NumPy tensor and Caffe2 Int8Tensor.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:270
↓ 1 callersFunctioncreate_ddp_model
Create a DistributedDataParallel model if there are >1 processes. Args: model: a torch.nn.Module fp16_compression: add fp16
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/defaults.py:60
↓ 1 callersMethodcreate_from
(self, module)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_patch.py:35
↓ 1 callersFunctioncreate_prediction_pairs
Args: instances: predictions from current frame prev_instances: predictions from previous frame iou_all: 2D numpy array c
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/utils.py:8
↓ 1 callersMethodcrop_and_resize
Crop each bitmask by the given box, and resize results to (mask_size, mask_size). This can be used to prepare training targets for Ma
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/masks.py:191
↓ 1 callersMethodcrop_aware_infer
(self, x)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/zoedepth_trainer.py:114
↓ 1 callersFunctioncrop_image
Crops the image according to the crop parameters. Args: image: RGB or depth image, shape (H, W, 3) or (H, W). crop_params: Crop p
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/data/preprocess.py:112
↓ 1 callersFunctioncross_entropy
The wrapper function for :func:`F.cross_entropy`
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/losses/cross_entropy_loss.py:9
↓ 1 callersMethodcurrent_momentum
Get current momentums. Returns: list[float] | dict[str, list[float]]: Current momentums of all param groups. If t
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_runner.py:224
↓ 1 callersMethodddim_sampling
(self, cond, shape, x_T=None, ddim_use_original_steps=False, callb
ControlNet-v1-1-nightly/ldm/models/diffusion/ddim.py:123
↓ 1 callersMethodddim_sampling
(self, cond, shape, x_T=None, ddim_use_original_steps=False, callb
ControlNet-v1-1-nightly/cldm/ddim_hacked.py:123
↓ 1 callersFunctiondecode
Modulate simcc distribution with Gaussian. Args: simcc_x (np.ndarray[K, Wx]): model predicted simcc in x. simcc_y (np.ndarray[K,
mmpose/projects/rtmpose/examples/onnxruntime/main.py:414
↓ 1 callersFunctiondecode
Modulate simcc distribution with Gaussian. Args: simcc_x (np.ndarray[K, Wx]): model predicted simcc in x. simcc_y (np.ndarray[K,
ControlNet-v1-1-nightly/annotator/dwpose/onnxpose.py:333
↓ 1 callersMethoddecode
RTMDet postprocess function. Args: box (torch.Tensor): output boxes. cls (torch.Tensor): output cls. stag
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/python/convert_rtmdet.py:40
↓ 1 callersMethoddecode
(self, x_latent, cond, t_start, unconditional_guidance_scale=1.0, unconditional_conditioning=None,
ControlNet-v1-1-nightly/cldm/ddim_hacked.py:298
↓ 1 callersFunctiondefault_bpe
()
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/tokenizer.py:38
↓ 1 callersFunctiondefault_writers
Build a list of :class:`EventWriter` to be used. It now consists of a :class:`CommonMetricPrinter`, :class:`TensorboardXWriter` and :clas
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/defaults.py:230
↓ 1 callersFunctiondemo_postprocess
(outputs, img_size, p6=False)
ControlNet-v1-1-nightly/annotator/dwpose/onnxdet.py:58
↓ 1 callersMethoddenoise_to_zero_fn
Denoise at the final step, which is equivalent to solve the ODE from lambda_s to infty by first-order discretization.
ControlNet-v1-1-nightly/ldm/models/diffusion/dpm_solver/dpm_solver.py:463
↓ 1 callersFunctiondenormalize
Reverses the imagenet normalization applied to the input. Args: x (torch.Tensor - shape(N,3,H,W)): input tensor Returns: tor
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas.py:32
↓ 1 callersMethoddeprecated_register_module
(self, cls=None, force=False)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/registry.py:250
↓ 1 callersFunctiondequantize
Dequantize an array. Args: arr (ndarray): Input array. min_val (scalar): Minimum value to be clipped. max_val (scalar): M
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/arraymisc/quantization.py:32
↓ 1 callersFunctiondequantize_flow
Recover from quantized flow. Args: dx (ndarray): Quantized dx. dy (ndarray): Quantized dy. max_val (float): Maximum value
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/optflow.py:119
↓ 1 callersMethoddevice
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/rcnn.py:85
↓ 1 callersMethoddevice
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/keypoints.py:40
↓ 1 callersMethoddevice
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/rotated_boxes.py:479
↓ 1 callersFunctiondice_loss
(pred, target, valid_mask, smooth=1, exponent=2,
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/losses/dice_loss.py:12
↓ 1 callersFunctiondiou_loss
Distance Intersection over Union Loss (Zhaohui Zheng et. al) https://arxiv.org/abs/1911.08287 Args: boxes1, boxes2 (Tensor): box
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/losses.py:5
↓ 1 callersFunctiondisplay_model_aliases
Display the available model aliases and their corresponding model names.
mmpose/demo/inferencer_demo.py:163
↓ 1 callersFunctiondisplay_modifications
Display the modifications made to the head and neck configurations. Args: head_deleted_dict (Dict): Dictionary of deleted fields in the h
mmpose/mmpose/models/utils/check_and_update_config.py:148
↓ 1 callersFunctiondistorted_bounding_box_crop
Generates cropped_image using one of the bboxes randomly distorted. See `tf.image.sample_distorted_bounding_box` for more documentation. Arg
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/data/tf_preprocessing.py:34
↓ 1 callersMethoddouble_step_seq
(step1, len1, step2, len2)
mmpose/mmpose/models/backbones/swin.py:122
↓ 1 callersMethoddouble_step_seq
(step1, len1, step2, len2)
mmpose/mmpose/models/backbones/hrformer.py:155
↓ 1 callersMethoddowngrade
(cls, cfg: CN)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/compat.py:222
↓ 1 callersFunctiondowngrade_config
Downgrade a config from its current version to an older version. Args: cfg (CfgNode): to_version (int): Note: A
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/compat.py:55
↓ 1 callersMethoddpm_solver_adaptive
The adaptive step size solver based on singlestep DPM-Solver. Args: x: A pytorch tensor. The initial value at time `t_T`.
ControlNet-v1-1-nightly/ldm/models/diffusion/dpm_solver/dpm_solver.py:878
↓ 1 callersMethoddraw
(final Canvas canvas)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/customview/OverlayView.java:37
↓ 1 callersMethoddrawCallback
(final Canvas canvas)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/customview/OverlayView.java:46
↓ 1 callersMethoddraw_2d_heatmaps
Draw a two-dimensional heatmap fused with the original image.
mmpose/mmpose/visualization/simcc_vis.py:94
↓ 1 callersMethoddraw_and_connect_keypoints
Draws keypoints of an instance and follows the rules for keypoint connections to draw lines between appropriate keypoints. This follo
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:787
↓ 1 callersMethoddraw_and_connect_keypoints
Draws keypoints of an instance and follows the rules for keypoint connections to draw lines between appropriate keypoints. This follo
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:885
↓ 1 callersMethoddraw_bboxes
Draw single or multiple bboxes. Args: bboxes (Union[np.ndarray, torch.Tensor]): The bboxes to draw with the forma
mmpose/mmpose/visualization/opencv_backend_visualizer.py:265
↓ 1 callersMethoddraw_box
Args: box_coord (tuple): a tuple containing x0, y0, x1, y1 coordinates, where x0 and y0 are the coordinates of th
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:897
↓ 1 callersMethoddraw_box_predictions
Args: boxes (Boxes, RotatedBoxes or ndarray): either a :class:`Boxes`, or an Nx4 numpy array of XYXY_ABS format f
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:397
↓ 1 callersMethoddraw_circle
Args: circle_coord (list(int) or tuple(int)): contains the x and y coordinates of the center of the circle.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:986
↓ 1 callersMethoddraw_circle
Args: circle_coord (list(int) or tuple(int)): contains the x and y coordinates of the center of the circle.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:1078
↓ 1 callersMethoddraw_instance_predictions
Draw instance-level prediction results on an image. Args: predictions (Instances): the output of an instance detection/se
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:484
↓ 1 callersMethoddraw_instance_xy_heatmap
Draw heatmaps of GT or prediction. Args: heatmap (torch.Tensor): Tensor of heatmap. overlaid_image (np.ndarray): The
mmpose/mmpose/visualization/simcc_vis.py:12
↓ 1 callersMethoddraw_panoptic_seg
Draw panoptic prediction annotations or results. Args: panoptic_seg (Tensor): of shape (height, width) where the values
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:472
↓ 1 callersMethoddraw_panoptic_seg
Draw panoptic prediction annotations or results. Args: panoptic_seg (Tensor): of shape (height, width) where the values a
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:571
↓ 1 callersMethoddraw_panoptic_seg_predictions
( self, frame, panoptic_seg, segments_info, area_threshold=None, alpha=0.5 )
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/video_visualizer.py:155
↓ 1 callersFunctiondraw_pose
* @brief Draw detection result to image * @param image Input image * @param points Detection result */
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/utils.cpp:182
↓ 1 callersFunctiondraw_pose
(pose, H, W)
ControlNet-v1-1-nightly/annotator/dwpose/__init__.py:15
↓ 1 callersFunctiondraw_pose
(pose, H, W, draw_body=True, draw_hand=True, draw_face=True)
ControlNet-v1-1-nightly/annotator/openpose/__init__.py:24
↓ 1 callersMethoddraw_rotated_box_with_label
Draw a rotated box with label on its top-left corner. Args: rotated_box (tuple): a tuple containing (cnt_x, cnt_y, w, h,
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:931
↓ 1 callersMethoddraw_rotated_box_with_label
Draw a rotated box with label on its top-left corner. Args: rotated_box (tuple): a tuple containing (cnt_x, cnt_y, w, h,
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:1025
↓ 1 callersFunctiondrop_path
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:9
↓ 1 callersFunctiondump_code
(prefix, mod)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript.py:95
↓ 1 callersMethoddynamic_k_matching
Use IoU and matching cost to calculate the dynamic top-k positive targets.
mmpose/projects/yolox_pose/models/assigner.py:177
↓ 1 callersFunctionempty_input_loss_func_wrapper
(loss_func)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/wrappers.py:60
↓ 1 callersFunctionenable_sliced_attention
()
ControlNet-v1-1-nightly/cldm/hack.py:17
↓ 1 callersMethodencode
Encode keypoints into heatmaps. Note that the original keypoint coordinates should be in the input image space. Args: key
mmpose/mmpose/codecs/udp_heatmap.py:83
↓ 1 callersMethodencode
Encode keypoints into heatmaps. Note that the original keypoint coordinates should be in the input image space. Args: key
mmpose/mmpose/codecs/msra_heatmap.py:74
↓ 1 callersMethodencode
Encode keypoints into heatmaps. Note that the original keypoint coordinates should be in the input image space. Args: key
mmpose/mmpose/codecs/megvii_heatmap.py:56
↓ 1 callersMethodencode
(self, x)
ControlNet-v1-1-nightly/ldm/models/autoencoder.py:82
↓ 1 callersMethodencode_additional_info
Save extra metadata that will be used by inference in the output protobuf.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_modeling.py:178
↓ 1 callersMethodencode_json_sem_seg
Convert semantic segmentation to COCO stuff format with segments encoded as RLEs. See http://cocodataset.org/#format-results
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/sem_seg_evaluation.py:232
↓ 1 callersMethodencode_text
(self, text)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/oneformer_model.py:208
↓ 1 callersMethodencode_with_transformer
(self, text)
ControlNet-v1-1-nightly/ldm/modules/encoders/modules.py:173
↓ 1 callersMethodevaluate
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/evaluator.py:90
↓ 1 callersMethodevaluate
Args: img_ids: a list of image IDs to evaluate on. Default to None for the whole dataset
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/coco_evaluation.py:177
↓ 1 callersMethodevaluate
Evaluate/summarize the performance, after processing all input/output pairs. Returns: dict: A new evalua
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/evaluator.py:54
↓ 1 callersMethodevaluate
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/evaluator.py:94
↓ 1 callersMethodevaluate
Args: img_ids: a list of image IDs to evaluate on. Default to None for the whole dataset
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/detection_coco_evaluator.py:181
↓ 1 callersMethodevaluate
Args: img_ids: a list of image IDs to evaluate on. Default to None for the whole dataset
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/coco_evaluator.py:179
↓ 1 callersMethodevery_n_inner_iters
(self, runner, n)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:58
↓ 1 callersFunctionexport_caffe2_detection_model
Export a caffe2-compatible Detectron2 model to caffe2 format via ONNX. Arg: model: a caffe2-compatible version of detectron2 model,
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_export.py:125
↓ 1 callersFunctionexport_onnx_model
Trace and export a model to onnx format. Args: model (nn.Module): inputs (tuple[args]): the model will be called by `model(*
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_export.py:34
↓ 1 callersMethodextract_feat
Placeholder for extract features from images.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/base.py:40
↓ 1 callersFunctionextract_pose_sequence
Extract the target frame from 2D pose results, and pad the sequence to a fixed length. Args: pose_results (List[List[:obj:`PoseDataSa
mmpose/mmpose/apis/inference_3d.py:95
↓ 1 callersMethodextract_tgz
Extract files from self.extrct_files.
mmpose/tools/dataset_converters/preprocess_h36m.py:92
↓ 1 callersFunctionf_score
calcuate the f-score value. Args: precision (float | torch.Tensor): The precision value. recall (float | torch.Tensor): The recal
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/metrics.py:8
↓ 1 callersFunctionfast_rcnn_inference_rotated
Call `fast_rcnn_inference_single_image_rotated` for all images. Args: boxes (list[Tensor]): A list of Tensors of predicted class-spe
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/rotated_fast_rcnn.py:46
↓ 1 callersFunctionfast_rcnn_inference_single_image_rotated
Single-image inference. Return rotated bounding-box detection results by thresholding on scores and applying rotated non-maximum suppression
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/rotated_fast_rcnn.py:84
↓ 1 callersMethodfeature_reassemble
(self, x, mask)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/carafe.py:277
↓ 1 callersMethodfeatures
(self, x)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:259
↓ 1 callersFunctionfetch_any_blob
(name)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:157
↓ 1 callersMethodfillBytes
(final Plane[] planes, final byte[][] yuvBytes)
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:499
↓ 1 callersFunctionfilter_images_with_few_keypoints
Filter out images with too few number of keypoints. Args: dataset_dicts (list[dict]): annotations in Detectron2 Dataset format.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/build.py:76
↓ 1 callersFunctionfilter_images_with_only_crowd_annotations
Filter out images with none annotations or only crowd annotations (i.e., images without non-crowd annotations). A common training-time pr
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/build.py:45
↓ 1 callersFunctionfindAllFile
(base)
mmpose/video2image.py:5
↓ 1 callersFunctionfind_images_and_targets
(folder, types=IMG_EXTENSIONS, class_to_idx=None, leaf_name_only=True, sort=True)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/data/dataset.py:21
↓ 1 callersFunctionfind_relative_file
(original_file, relative_import_path, level)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/lazy.py:113
↓ 1 callersFunctionfind_top_rpn_proposals
For each feature map, select the `pre_nms_topk` highest scoring proposals, apply NMS, clip proposals, and remove small boxes. Return the `pos
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/proposal_generator/proposal_utils.py:22
↓ 1 callersFunctionfind_top_rrpn_proposals
For each feature map, select the `pre_nms_topk` highest scoring proposals, apply NMS, clip proposals, and remove small boxes. Return the `pos
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/proposal_generator/rrpn.py:20
↓ 1 callersFunctionfix_one
(qualname, name, obj)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/env.py:145
↓ 1 callersFunctionflatten_results_dict
Expand a hierarchical dict of scalars into a flat dict of scalars. If results[k1][k2][k3] = v, the returned dict will have the entry {"k1
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/testing.py:68
↓ 1 callersFunctionflip_keypoints
Flip keypoints in the given direction. Note: - keypoint number: K - keypoint dimension: D Args: keypoints (np.ndarr
mmpose/mmpose/structures/keypoint/transforms.py:7
← previousnext →2,101–2,200 of 7,103, ranked by callers