MCPcopy Create free account

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

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

Methodshutdown
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/predictor.py:184
Functionsigmoid
(x, inplace: bool = False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations.py:45
Methodsimple_test
Simple test with single image.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:268
Functionsingle2tensor3
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:302
Functionsingle2tensor4
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:307
Functionsingle2tensor5
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:329
Functionsingle2uint
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:254
Functionsingle2uint16
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:264
Functionsingle32tensor5
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:333
Functionsingle42tensor4
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:337
Functionsingle_box_iou_rotated
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:342
Functionsingle_gpu_test
Test model with a single gpu. This method tests model with a single gpu and displays test progress bar. Args: model (nn.Module): Mod
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/engine/test.py:15
Methodsize_divisibility
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/fpn.py:119
Methodsize_divisibility
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/swin.py:665
Methodsize_divisibility
Some backbones require the input height and width to be divisible by a specific integer. This is typically true for encoder / decoder
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/backbone.py:33
Methodsize_divisibility
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:323
Methodsize_divisibility
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/swin.py:770
FunctionskipIfUnsupportedMinOpsetVersion
Skips tests for ONNX Opset versions older than min_opset_version.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:278
FunctionskipIfUnsupportedMinTorchVersion
Skips tests for PyTorch versions older than min_version.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:301
Functionskip_dec
(func)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:283
Functionskip_no_elena
(func)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/parrots_jit.py:36
Functionslice_list
Slice a list into several sub lists by a list of given length. Args: in_list (list): The list to be sliced. lens(int or list): Th
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/misc.py:168
Functionsmart_resize
(x, s)
ControlNet-v1-1-nightly/annotator/dwpose/util.py:10
Functionsmart_resize
(x, s)
ControlNet-v1-1-nightly/annotator/openpose/util.py:10
Functionsmart_resize_k
(x, fx, fy)
ControlNet-v1-1-nightly/annotator/dwpose/util.py:24
Functionsmart_resize_k
(x, fx, fy)
ControlNet-v1-1-nightly/annotator/openpose/util.py:24
Methodsmoothing_hints
Returns: dict[name -> bool]: the user-provided hint on whether the scalar is noisy and needs smoothing.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:467
Functionsoft_nms
Dispatch to only CPU Soft NMS implementations. The input can be either a torch tensor or numpy array. The returned type will always be the sa
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/nms.py:181
Functionsoft_oks_nms
Soft OKS NMS implementations. Args: kpts_db (List[dict]): The keypoints results of the same image. thr (float): The threshold of
mmpose/mmpose/evaluation/functional/nms.py:192
Functionsolarize
Solarize an image (invert all pixel values above a threshold) Args: img (ndarray): Image to be solarized. thr (int): Threshold fo
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/photometric.py:71
Functionsparse_flow_from_bytes
Read the optical flow in KITTI datasets from bytes. This function is modified from RAFT load the `KITTI datasets <https://github.com/princeto
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/optflow.py:234
Functionspatial_norm_thresholding
(x0, value)
ControlNet-v1-1-nightly/ldm/models/diffusion/sampling_util.py:19
Functionsplit_imageset
split the large images from original_dataroot into small overlapped images with size (p_size)x(p_size), and save them into taget_dataroot; on
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:125
Functionspnasnet_100
Single-Path NAS Pixel1
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:810
Functionsrmd_degradation
blur + bicubic downsampling Args: x: HxWxC image, [0, 1] k: hxw, double sf: down-scale factor Return: downsam
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan_light.py:239
Functionsrmd_degradation
blur + bicubic downsampling Args: x: HxWxC image, [0, 1] k: hxw, double sf: down-scale factor Return: downsam
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan.py:240
Functionstart_flops_count
Activate the computation of mean flops consumption per image. A method to activate the computation of mean flops consumption per image. which
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:355
Methodstate_dict
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/lr_scheduler.py:118
Methodstate_dict
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/defaults.py:496
Methodstate_dict
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/train_loop.py:195
Methodstate_dict
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/train_loop.py:381
Methodstate_dict
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/train_loop.py:462
Methodstep
Performs a single optimization step. Args: closure (callable, optional): A closure that reevaluates the model and
ControlNet-v1-1-nightly/ldm/util.py:119
Methodstochastic_encode
(self, x0, t, use_original_steps=False, noise=None)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddim.py:301
Functionstop_flops_count
Stop computing the mean flops consumption per image. A method to stop computing the mean flops consumption per image, which will be available
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:378
Methodstring_to_wstring
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/characterset_convert.h:23
Methodstringify_losses
(L)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/base_trainer.py:171
Methodsupport_batch_decoding
Return whether the codec support decoding from batch data.
mmpose/mmpose/codecs/base.py:74
Functionsurf
(Z, cmap='rainbow', figsize=None)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:47
Functionswish_me
(x, inplace=False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_me.py:54
Methodsymbolic
(g, features, masks, kernel_size, group_size, scale_factor)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/carafe.py:20
Methodsymbolic
(g, features, masks, kernel_size, group_size, scale_factor)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/carafe.py:103
Methodsymbolic
(g, input, boxes, pool_size)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/border_align.py:19
Methodsymbolic
(g, bboxes, scores, iou_threshold, offset, score_threshold, max_num)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/nms.py:36
Methodsymbolic
(g, boxes, scores, iou_threshold, sigma, min_score, method, offset)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/nms.py:100
Methodsymbolic
(g, input, offset, mask, weight, bias, stride, padding, dilation, groups, deform_groups)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/modulated_deform_conv.py:22
Methodsymbolic
(g, features, mask, weight, bias, padding, stride)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/masked_conv.py:19
Methodsymbolic
(g, input, psa_type, mask_size)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/psa_mask.py:15
Methodsymbolic
(g, input)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/corner_pool.py:20
Methodsymbolic
(g, input)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/corner_pool.py:41
Methodsymbolic
(g, input)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/corner_pool.py:62
Methodsymbolic
(g, input)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/corner_pool.py:83
Methodsymbolic
(g, input, rois, output_size, spatial_scale, sampling_ratio, pool_mode, aligned)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/roi_align.py:17
Methodsymbolic
(g, input, offset, weight, stride,
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/deform_conv.py:25
Methodsymbolic
(g, input, rois, offset, output_size, spatial_scale, sampling_ratio, gamma)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/deform_roi_pool.py:16
Methodsymbolic
(g, input, running_mean, running_var, weight, bias, momentum, eps, group, group_size, stats_m
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/sync_bn.py:22
Methodsymbolic
(g, features, rois, out_size, spatial_scale, sample_num, aligned, clockwise)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/roi_align_rotated.py:14
Methodsymbolic
(g, input, rois, output_size, spatial_scale)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/roi_pool.py:17
Methodsymbolic
(g, input, target, gamma, alpha, weight, reduction)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/focal_loss.py:18
Methodsymbolic
(g, input, target, gamma, alpha, weight, reduction)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/focal_loss.py:112
Functionsymlink
(src, dst, overwrite=True, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/path.py:33
Functiontanh
(x, inplace: bool = False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations.py:59
MethodtearDown
(self)
mmpose/tests/test_evaluation/test_metrics/test_keypoint_partition_metric.py:175
MethodtearDown
(self)
mmpose/tests/test_evaluation/test_metrics/test_coco_metric.py:188
MethodtearDown
(self)
mmpose/tests/test_evaluation/test_metrics/test_coco_wholebody_metric.py:137
MethodtearDown
(self)
mmpose/tests/test_evaluation/test_metrics/test_posetrack18_metric.py:113
MethodtearDown
(self)
mmpose/tests/test_apis/test_inferencers/test_pose3d_inferencer.py:20
MethodtearDown
(self)
mmpose/tests/test_apis/test_inferencers/test_mmpose_inferencer.py:19
MethodtearDown
(self)
mmpose/tests/test_apis/test_inferencers/test_pose2d_inferencer.py:21
Functiontensor2img
Converts a torch Tensor into an image Numpy array of BGR channel order Input: 4D(B,(3/1),H,W), 3D(C,H,W), or 2D(H,W), any range, RGB channel
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:342
Functiontensor2single
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:312
Functiontensor2single3
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:320
Functiontensor2uint
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:289
Methodterminal_width
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/progressbar.py:22
Methodtest_add_datasample
(self)
mmpose/tests/test_visualization/test_pose_visualizer.py:41
Methodtest_after_test_iter
(self)
mmpose/tests/test_engine/test_hooks/test_visualization_hook.py:54
Methodtest_after_val_iter
(self)
mmpose/tests/test_engine/test_hooks/test_visualization_hook.py:47
Methodtest_alexnet_backbone
Test alexnet backbone.
mmpose/tests/test_models/test_backbones/test_alexnet.py:11
Methodtest_and_save_results
()
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/defaults.py:452
Methodtest_auc_evaluate
test AUC evaluation metric.
mmpose/tests/test_evaluation/test_metrics/test_keypoint_partition_metric.py:419
Methodtest_auc_evaluate
test AUC evaluation metric.
mmpose/tests/test_evaluation/test_metrics/test_keypoint_2d_metrics.py:267
Methodtest_basic_block
(self)
mmpose/tests/test_models/test_backbones/test_resnet.py:68
Methodtest_basic_temporal_block
(self)
mmpose/tests/test_models/test_backbones/test_tcn.py:14
Methodtest_basicblock_reslayer
(self)
mmpose/tests/test_models/test_backbones/test_resnet.py:223
Methodtest_bottleneck
(self)
mmpose/tests/test_models/test_backbones/test_seresnext.py:12
Methodtest_bottleneck
(self)
mmpose/tests/test_models/test_backbones/test_resnest.py:12
Methodtest_bottleneck
(self)
mmpose/tests/test_models/test_backbones/test_resnext.py:12
Methodtest_bottleneck
(self)
mmpose/tests/test_models/test_backbones/test_resnet.py:133
Methodtest_bottleneck
(self)
mmpose/tests/test_models/test_backbones/test_seresnet.py:50
Methodtest_bottleneck_reslayer
(self)
mmpose/tests/test_models/test_backbones/test_resnet.py:290
← previousnext →6,401–6,500 of 7,103, ranked by callers