MCPcopy Create free account

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

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

Methodclip_
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
Functionclip_grad_norm
(p: _GradientClipperInput)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/build.py:36
Functionclip_grad_value
(p: _GradientClipperInput)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/build.py:39
Methodclone
Clone the RotatedBoxes. Returns: RotatedBoxes
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/rotated_boxes.py:223
Methodclose
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:46
Methodclose
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:176
Methodclose
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/events.py:119
Methodclose
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
Methodcls_seg
Classify each pixel.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/decode_heads/decode_head.py:207
Methodcode_convert
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/characterset_convert.h:69
Functioncollect_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
Functioncolor_shuffler
(img, res)
ControlNet-v1-1-nightly/gradio_annotator.py:191
Functioncolormap
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
Functioncolormap
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
Methodcompare
(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
Methodcompare
(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
Functioncompare_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
MethodcomputeIoU
(self, imgId, catId)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/rotated_coco_evaluation.py:68
Functioncompute_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
Methodcompute_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
Methodcompute_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
Methodcompute_metrics
(self, results: list)
mmpose/mmpose/evaluation/metrics/keypoint_partition_metric.py:191
Methodcompute_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
Methodcompute_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
Methodcompute_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
Methodcompute_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
Methodcompute_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
Methodcompute_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
Functioncompute_normal_errors
(total_normal_errors)
ControlNet-v1-1-nightly/annotator/normalbae/utils/utils.py:63
Functionconcat_image
(image_path_list, concat_image_path)
ControlNet-v1-1-nightly/annotator/normalbae/utils/utils.py:31
Functionconcat_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
Functionconcat_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
Methodconcatenation
(self, theta_x, phi_x)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/non_local.py:143
Functioncondconv_initializer
CondConv initializer function.
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/conv2d_layers.py:187
Functionconfigurable
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
Methodconfigure_optimizers
(self)
ControlNet-v1-1-nightly/ldm/models/autoencoder.py:150
Methodconfigure_optimizers
(self)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:514
Methodconfigure_optimizers
(self)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:1278
Methodconfigure_optimizers
(self)
ControlNet-v1-1-nightly/cldm/cldm.py:419
Functioncontent_shuffler
(img, res)
ControlNet-v1-1-nightly/gradio_annotator.py:178
Functioncontour_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
Functionconv_flops_counter_hook
(conv_module, input, output)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:467
Functionconvert
(video_path)
mmpose/video2image.py:13
Functionconvert_arg_line_to_args
(arg_line)
ControlNet-v1-1-nightly/annotator/normalbae/utils/utils.py:16
Functionconvert_color
(img)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/colorspace.py:279
Methodconvert_instances_to_cpp
(instances, is_det=False)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/fast_eval_api.py:56
Methodconvert_mask
(m, shape)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/mmdet_wrapper.py:192
Functionconvert_module_to_f16
(x)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:23
Functionconvert_module_to_f32
(x)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:26
Methodconvert_to_fp16
Convert the torso of the model to float16.
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:738
Methodconvert_to_fp32
Convert the torso of the model to float32.
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:746
Functionconvex_hull_graham
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:167
Methodcount_flops
(model, _x, y)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:374
Methodcount_flops
(model, _x, y)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/openaimodel.py:408
Functioncount_parameters
(model, include_all=False)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/utils/misc.py:155
Methodcpu_only
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/parallel/data_container.py:68
Methodcreate
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
Methodcreate_bar
(tag, bucket_limits, bucket_counts, **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/events.py:104
Functioncreate_canvas
(w, h)
ControlNet-v1-1-nightly/gradio_scribble_interactive.py:70
Functioncreate_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
Functioncreate_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
Functioncreate_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
Functioncreate_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
Methodcrop_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
Functioncrop_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
Functioncross_2d
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:53
Methodcurrent_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
Functioncut_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
Functioncutout
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
Methodcvt2frames
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
Methoddata_loader
()
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:622
Methoddataset_meta
Set the dataset meta info to the metric.
mmpose/mmpose/evaluation/metrics/keypoint_partition_metric.py:139
Methoddatatype
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/parallel/data_container.py:61
Methoddecode
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
Methoddecode
Decode keypoint coordinates from heatmaps. The decoded keypoint coordinates are in the input image space. Args: encoded (
mmpose/mmpose/codecs/udp_heatmap.py:134
Methoddecode
Decode keypoint coordinates from normalized space to input image space. Args: encoded (np.ndarray): Coordinates in shape
mmpose/mmpose/codecs/regression_label.py:71
Methoddecode
Decode keypoint coordinates from heatmaps. The decoded keypoint coordinates are in the input image space. Args: encoded (
mmpose/mmpose/codecs/msra_heatmap.py:117
Methoddecode
(self, encoded: Any)
mmpose/mmpose/codecs/associative_embedding.py:311
Methoddecode
Decode keypoints. Args: encoded (any): Encoded keypoint representation using the codec Returns: tuple:
mmpose/mmpose/codecs/base.py:43
Methoddecode
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
Methoddecode
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
Methoddecode
Decode keypoint coordinates from heatmaps. The decoded keypoint coordinates are in the input image space. Args: encoded (
mmpose/mmpose/codecs/megvii_heatmap.py:107
Methoddecode
Decode keypoint coordinates from SimCC representations. The decoded coordinates are in the input image space. Args: encod
mmpose/mmpose/codecs/simcc_label.py:138
Methoddecode
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
Methoddecode
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
Methoddecode
(self, x, *args, **kwargs)
ControlNet-v1-1-nightly/ldm/models/autoencoder.py:209
Methoddecompose
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/misc.py:127
Functiondeconv_flops_counter_hook
(conv_module, input, output)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:440
Functiondecorator
(func)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:115
Methoddefault_activation_class
()
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:433
Functiondefault_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
Methoddefault_buffer_size
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/predictor.py:189
Functiondefault_dump
Convert numpy classes to JSON serializable objects.
mmpose/tools/dataset_converters/lapa2coco.py:12
Methoddefault_init_cfg
(self)
mmpose/mmpose/models/heads/regression_heads/regression_head.py:144
Methoddefault_init_cfg
(self)
mmpose/mmpose/models/heads/regression_heads/temporal_regression_head.py:149
Methoddefault_init_cfg
(self)
mmpose/mmpose/models/heads/regression_heads/trajectory_regression_head.py:148
Methoddefault_init_cfg
(self)
mmpose/mmpose/models/heads/regression_heads/integral_regression_head.py:309
Methoddefault_init_cfg
(self)
mmpose/mmpose/models/heads/regression_heads/rle_head.py:185
Methoddefault_init_cfg
Default config for weight initialization.
mmpose/mmpose/models/heads/heatmap_heads/mspn_head.py:267
Methoddefault_init_cfg
(self)
mmpose/mmpose/models/heads/heatmap_heads/cid_head.py:483
← previousnext →4,701–4,800 of 7,103, ranked by callers