Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IDEA-Research/DWPose
/ functions
Functions
7,103 in github.com/IDEA-Research/DWPose
⨍
Functions
7,103
◇
Types & classes
1,442
↳
Endpoints
6
Method
clip_
Clip bounding boxes and set invisible keypoints outside the image boundary in-place. Args: img_shape (Tuple[int, int]): A
mmpose/projects/yolox_pose/datasets/bbox_keypoint_structure.py:129
Function
clip_grad_norm
(p: _GradientClipperInput)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/build.py:36
Function
clip_grad_value
(p: _GradientClipperInput)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/build.py:39
Method
clone
Clone the RotatedBoxes. Returns: RotatedBoxes
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/rotated_boxes.py:223
Method
close
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:46
Method
close
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:176
Method
close
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/events.py:119
Method
close
Closes the interpreter and model to release resources.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_task_api/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:228
Method
cls_seg
Classify each pixel.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/decode_heads/decode_head.py:207
Method
code_convert
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/characterset_convert.h:69
Function
collect_env
Collect the information of the running environments. Returns: dict: The environment information. The following fields are contained.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/env.py:16
Function
color_shuffler
(img, res)
ControlNet-v1-1-nightly/gradio_annotator.py:191
Function
colormap
Args: rgb (bool): whether to return RGB colors or BGR colors. maximum (int): either 255 or 1 Returns: ndarray: a flo
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/colormap.py:96
Function
colormap
Args: rgb (bool): whether to return RGB colors or BGR colors. maximum (int): either 255 or 1 Returns: ndarray: a floa
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/colormap.py:111
Method
compare
(Recognition lhs, Recognition rhs)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_support/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:339
Method
compare
(final Size lhs, final Size rhs)
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:539
Function
compare_boxes
* @brief Compare two boxes * @param b1 Box1 * @param b2 Box2 * @return Compare result */
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/utils.cpp:82
Method
computeIoU
(self, imgId, catId)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/rotated_coco_evaluation.py:68
Function
compute_average_flops_cost
Compute average FLOPs cost. A method to compute average FLOPs cost, which will be available after `add_flops_counting_methods()` is called on
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:337
Method
compute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
mmpose/mmpose/evaluation/metrics/keypoint_3d_metrics.py:92
Method
compute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
mmpose/mmpose/evaluation/metrics/coco_metric.py:324
Method
compute_metrics
(self, results: list)
mmpose/mmpose/evaluation/metrics/keypoint_partition_metric.py:191
Method
compute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
mmpose/mmpose/evaluation/metrics/keypoint_2d_metrics.py:148
Method
compute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
mmpose/mmpose/evaluation/metrics/keypoint_2d_metrics.py:279
Method
compute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
mmpose/mmpose/evaluation/metrics/keypoint_2d_metrics.py:444
Method
compute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
mmpose/mmpose/evaluation/metrics/keypoint_2d_metrics.py:600
Method
compute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
mmpose/mmpose/evaluation/metrics/keypoint_2d_metrics.py:682
Method
compute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
mmpose/mmpose/evaluation/metrics/keypoint_2d_metrics.py:835
Function
compute_normal_errors
(total_normal_errors)
ControlNet-v1-1-nightly/annotator/normalbae/utils/utils.py:63
Function
concat_image
(image_path_list, concat_image_path)
ControlNet-v1-1-nightly/annotator/normalbae/utils/utils.py:31
Function
concat_list
Concatenate a list of list into a single list. Args: in_list (list): The list of list to be merged. Returns: list: The conca
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/misc.py:194
Function
concat_video
Concatenate multiple videos into a single one. Args: video_list (list): A list of video filenames out_file (str): Output video fi
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/processing.py:128
Method
concatenation
(self, theta_x, phi_x)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/non_local.py:143
Function
condconv_initializer
CondConv initializer function.
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/conv2d_layers.py:187
Function
configurable
Decorate a function or a class's __init__ method so that it can be called with a :class:`CfgNode` object using a :func:`from_config` function
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/config.py:130
Method
configure_optimizers
(self)
ControlNet-v1-1-nightly/ldm/models/autoencoder.py:150
Method
configure_optimizers
(self)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:514
Method
configure_optimizers
(self)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:1278
Method
configure_optimizers
(self)
ControlNet-v1-1-nightly/cldm/cldm.py:419
Function
content_shuffler
(img, res)
ControlNet-v1-1-nightly/gradio_annotator.py:178
Function
contour_expand
Expand kernel contours so that foreground pixels are assigned into instances. Arguments: kernel_mask (np.array or Tensor): The instan
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/contour_expand.py:10
Function
conv_flops_counter_hook
(conv_module, input, output)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:467
Function
convert
(video_path)
mmpose/video2image.py:13
Function
convert_arg_line_to_args
(arg_line)
ControlNet-v1-1-nightly/annotator/normalbae/utils/utils.py:16
Function
convert_color
(img)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/colorspace.py:279
Method
convert_instances_to_cpp
(instances, is_det=False)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/fast_eval_api.py:56
Method
convert_mask
(m, shape)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/mmdet_wrapper.py:192
Function
convert_module_to_f16
(x)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:23
Function
convert_module_to_f32
(x)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:26
Method
convert_to_fp16
Convert the torso of the model to float16.
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:738
Method
convert_to_fp32
Convert the torso of the model to float32.
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:746
Function
convex_hull_graham
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:167
Method
count_flops
(model, _x, y)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:374
Method
count_flops
(model, _x, y)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:408
Function
count_parameters
(model, include_all=False)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/utils/misc.py:155
Method
cpu_only
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/parallel/data_container.py:68
Method
create
Creates a classifier with the provided configuration. @param activity The current Activity. @param model The model to use for classification. @param
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_task_api/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:81
Method
create_bar
(tag, bucket_limits, bucket_counts, **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/events.py:104
Function
create_canvas
(w, h)
ControlNet-v1-1-nightly/gradio_scribble_interactive.py:70
Function
create_keypoint_hflip_indices
Args: dataset_names: list of dataset names Returns: list[int]: a list of size=#keypoints, storing the horizontally-f
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/detection_utils.py:522
Function
create_local_process_group
Create a process group that contains ranks within the same machine. Detectron2's launch() in engine/launch.py will call this function. If yo
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/comm.py:38
Function
create_model
( model_name='mnasnet_100', pretrained=None, num_classes=1000, in_chans=3,
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/model_factory.py:8
Function
create_triangles
Reference: https://github.com/google-research/google-research/blob/e96197de06613f1b027d20328e06d69829fa5a89/infinite_nature/render_utils.py#L68
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/utils/geometry.py:75
Method
crop_and_resize
Crop each mask by the given box, and resize results to (mask_size, mask_size). This can be used to prepare training targets for Mask
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/masks.py:394
Function
crop_black_or_white_border
Crops the white and black border of the RGB and depth images. Args: rgb: RGB image, shape (H, W, 3). This image is used to determine the
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/data/preprocess.py:136
Function
cross_2d
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:53
Method
current_frame
Get the current frame (frame that is just visited). Returns: ndarray or None: If the video is fresh, return None, otherwise
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/io.py:187
Function
cut_video
Cut a clip from a video. Args: in_file (str): Input video filename. out_file (str): Output video filename. start (None or
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/processing.py:93
Function
cutout
Randomly cut out a rectangle from the original img. Args: img (ndarray): Image to be cutout. shape (int | tuple[int]): Expected c
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/geometric.py:538
Method
cvt2frames
Convert a video to frame images. Args: frame_dir (str): Output directory to store all the frame images. file_start (i
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/io.py:198
Method
data_loader
()
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:622
Method
dataset_meta
Set the dataset meta info to the metric.
mmpose/mmpose/evaluation/metrics/keypoint_partition_metric.py:139
Method
datatype
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/parallel/data_container.py:61
Method
decode
Decode keypoints from outputs. Args: batch_outputs (Tensor | Tuple[Tensor]): The network outputs of a data batch
mmpose/mmpose/models/heads/base_head.py:40
Method
decode
Decode keypoint coordinates from heatmaps. The decoded keypoint coordinates are in the input image space. Args: encoded (
mmpose/mmpose/codecs/udp_heatmap.py:134
Method
decode
Decode keypoint coordinates from normalized space to input image space. Args: encoded (np.ndarray): Coordinates in shape
mmpose/mmpose/codecs/regression_label.py:71
Method
decode
Decode keypoint coordinates from heatmaps. The decoded keypoint coordinates are in the input image space. Args: encoded (
mmpose/mmpose/codecs/msra_heatmap.py:117
Method
decode
(self, encoded: Any)
mmpose/mmpose/codecs/associative_embedding.py:311
Method
decode
Decode keypoints. Args: encoded (any): Encoded keypoint representation using the codec Returns: tuple:
mmpose/mmpose/codecs/base.py:43
Method
decode
Decode keypoint coordinates from normalized space to input image space. Args: encoded (np.ndarray): Coordinates in shape
mmpose/mmpose/codecs/video_pose_lifting.py:177
Method
decode
Decode keypoint coordinates from normalized space to input image space. Args: encoded (np.ndarray): Coordinates in shape
mmpose/mmpose/codecs/image_pose_lifting.py:174
Method
decode
Decode keypoint coordinates from heatmaps. The decoded keypoint coordinates are in the input image space. Args: encoded (
mmpose/mmpose/codecs/megvii_heatmap.py:107
Method
decode
Decode keypoint coordinates from SimCC representations. The decoded coordinates are in the input image space. Args: encod
mmpose/mmpose/codecs/simcc_label.py:138
Method
decode
Decode keypoint coordinates from normalized space to input image space. Args: encoded (np.ndarray): Coordinates in shape
mmpose/mmpose/codecs/integral_regression_label.py:99
Method
decode
Decode keypoint coordinates from heatmaps. The decoded keypoint coordinates are in the input image space. Args: encoded (
mmpose/projects/skps/custom_codecs/skps_heatmap.py:123
Method
decode
(self, x, *args, **kwargs)
ControlNet-v1-1-nightly/ldm/models/autoencoder.py:209
Method
decompose
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/misc.py:127
Function
deconv_flops_counter_hook
(conv_module, input, output)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:440
Function
decorator
(func)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:115
Method
default_activation_class
()
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:433
Function
default_argument_parser
Create a parser with some common arguments used by detectron2 users. Args: epilog (str): epilog passed to ArgumentParser describing
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/defaults.py:82
Method
default_buffer_size
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/predictor.py:189
Function
default_dump
Convert numpy classes to JSON serializable objects.
mmpose/tools/dataset_converters/lapa2coco.py:12
Method
default_init_cfg
(self)
mmpose/mmpose/models/heads/regression_heads/regression_head.py:144
Method
default_init_cfg
(self)
mmpose/mmpose/models/heads/regression_heads/temporal_regression_head.py:149
Method
default_init_cfg
(self)
mmpose/mmpose/models/heads/regression_heads/trajectory_regression_head.py:148
Method
default_init_cfg
(self)
mmpose/mmpose/models/heads/regression_heads/integral_regression_head.py:309
Method
default_init_cfg
(self)
mmpose/mmpose/models/heads/regression_heads/rle_head.py:185
Method
default_init_cfg
Default config for weight initialization.
mmpose/mmpose/models/heads/heatmap_heads/mspn_head.py:267
Method
default_init_cfg
(self)
mmpose/mmpose/models/heads/heatmap_heads/cid_head.py:483
← previous
next →
4,701–4,800 of 7,103, ranked by callers