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
Function
hook
(model, input, output)
ControlNet-v1-1-nightly/ldm/modules/midas/midas/vit.py:160
Method
hook
(model, input, output)
mmpose/mmpose/utils/hooks.py:17
Method
hook
Hook function.
mmpose/mmpose/models/utils/regularizations.py:21
Method
hook
(self, module, _input)
mmpose/mmpose/models/utils/regularizations.py:77
Method
hook_type
Hook type Subclasses should overwrite this function to return a string value in. {`forward`, `forward_pre`, `backward`}
mmpose/mmpose/models/utils/regularizations.py:25
Method
hook_type
(self)
mmpose/mmpose/models/utils/regularizations.py:74
Method
hook_wrapper
(name)
mmpose/mmpose/utils/hooks.py:15
Method
hooked
The hooked function that logs the return value of the original function.
mmpose/projects/yolox_pose/models/utils.py:28
Method
hooks
list[:obj:`Hook`]: A list of registered hooks.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_runner.py:155
Method
imageCb
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/ros/midas_cpp/src/main.cpp:170
Method
image_size
Returns: tuple: height, width
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/instances.py:51
Function
imconvert
Convert an image from the src colorspace to dst colorspace. Args: img (ndarray): The input image. src (str): The source colorspac
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/colorspace.py:6
Function
imcrop
Crop image patches. 3 steps: scale the bboxes -> clip bboxes -> crop and pad. Args: img (ndarray): Image to be cropped. bbox
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/geometric.py:386
Function
imdenormalize
(img, mean, std, to_bgr=True)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/photometric.py:48
Function
imequalize
Equalize the image histogram. This function applies a non-linear mapping to the input image, in order to create a uniform distribution of gra
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/photometric.py:131
Function
imfrombytes
Read an image from bytes. Args: content (bytes): Image bytes got from files or other streams. flag (str): Same as :func:`imread`.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/io.py:203
Function
iminvert
Invert (negate) an image. Args: img (ndarray): Image to be inverted. Returns: ndarray: The inverted image.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/photometric.py:59
Function
imnormalize
Normalize an image with mean and std. Args: img (ndarray): Image to be normalized. mean (ndarray): The mean to be used for normal
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/photometric.py:9
Function
impad_to_multiple
Pad an image to ensure each edge to be multiple to some number. Args: img (ndarray): Image to be padded. divisor (int): Padded im
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/geometric.py:522
Function
imrescale
Resize image while keeping the aspect ratio. Args: img (ndarray): The input image. scale (float | tuple[int]): The scaling factor
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/geometric.py:221
Function
imresize
(img, scale, antialiasing=True)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:766
Function
imresize_like
Resize image to the same size of a given image. Args: img (ndarray): The input image. dst_img (ndarray): The target image.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/geometric.py:162
Function
imresize_np
(img, scale, antialiasing=True)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:839
Function
imresize_to_multiple
Resize image according to a given size or scale factor and then rounds up the the resized or rescaled image size to the nearest value that can be
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/geometric.py:98
Function
imrotate
Rotate an image. Args: img (ndarray): Image to be rotated. angle (float): Rotation angle in degrees, positive values mean
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/geometric.py:292
Function
imsave
(img, img_path)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:203
Function
imshear
Shear an image. Args: img (ndarray): Image to be sheared with format (h, w) or (h, w, c). magnitude (int | float): Th
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/geometric.py:611
Function
imshow_bboxes
Draw bboxes on an image. Args: img (str or ndarray): The image to be displayed. bboxes (list or ndarray): A list of ndarray of sh
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/visualization/image.py:30
Function
imshow_det_bboxes
Draw bboxes and class labels (with scores) on an image. Args: img (str or ndarray): The image to be displayed. bboxes (ndarray):
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/visualization/image.py:84
Function
imtranslate
Translate an image. Args: img (ndarray): Image to be translated with format (h, w) or (h, w, c). offset (int | float)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/geometric.py:680
Function
imwrite
(img, img_path)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:209
Method
infer_pil
Inference interface for the model for PIL image Args: pil_img (PIL.Image.Image): input PIL image pad_input (b
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/depth_model.py:131
Method
inference
(self, data, *args, **kwargs)
mmpose/tools/torchserve/mmpose_handler.py:48
Method
inference
Returns: list[Instances]: same as `fast_rcnn_inference_rotated`. list[Tensor]: same as `fast_rcnn_inference_rotated`.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/rotated_fast_rcnn.py:148
Function
inference_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/oneformer/evaluation/evaluator.py:107
Method
init
(m)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/weight_init.py:181
Method
init
(m)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/weight_init.py:267
Method
init
(m)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/weight_init.py:320
Method
init
(m)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/weight_init.py:365
Method
init
(m)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/weight_init.py:425
Function
init_
(tensor)
ControlNet-v1-1-nightly/ldm/modules/attention.py:41
Function
init_dist
(launcher, backend='nccl', **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/dist_utils.py:14
Method
init_net
caffe2.core.Net: the underlying caffe2 init net
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/api.py:143
Function
init_weights
Performs ResNet-style weight initialization.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:46
Method
init_weights
(self)
mmpose/mmpose/models/necks/posewarper_neck.py:212
Method
init_weights
(self)
mmpose/mmpose/models/necks/gap_neck.py:21
Method
init_weights
(self)
mmpose/mmpose/models/backbones/pvt.py:320
Method
init_weights
(self)
mmpose/mmpose/models/backbones/hrformer.py:111
Method
init_weights
(self)
mmpose/mmpose/models/pose_estimators/distiller.py:68
Method
init_weights
Initialize weights of the head.
mmpose/projects/yolox_pose/models/yolox_pose_head.py:52
Method
init_weights
Initialize the weights in segmentor. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to N
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/base.py:65
Method
init_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/cascade_encoder_decoder.py:48
Method
init_weights
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/necks/fpn.py:157
Method
init_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/unet.py:412
Method
init_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/cgnet.py:338
Method
init_weights
(self, pretrained=None)
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/vit.py:314
Method
init_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/hrnet.py:484
Method
init_weights
(self, pretrained=None)
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/fast_scnn.py:360
Method
init_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/resnet.py:600
Method
init_weights
Initialize weights of classification layer.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/decode_heads/decode_head.py:133
Method
init_weights
Initialize weights of classification layer.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/decode_heads/point_head.py:104
Method
init_weights
Initialize the weights.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_module.py:56
Method
init_weights
(self, pretrained=None)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/alexnet.py:43
Method
init_weights
(self, pretrained=None)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/resnet.py:265
Method
initialize
(self, context)
mmpose/tools/torchserve/mmpose_handler.py:20
Method
inner_iter
int: Iteration in an epoch.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_runner.py:170
Method
inside_box
Args: box_size (height, width): Size of the reference box covering [0, width] x [0, height] boundary_
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/rotated_boxes.py:349
Method
instance_inference
(self, mask_cls, mask_pred)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/oneformer_model.py:420
Function
interpolate_pos_embed
(model, checkpoint_model, pos_embed_key)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/pos_embed.py:72
Function
interpolate_pos_embed_online
( pos_embed, orig_size: Tuple[int], new_size: Tuple[int], num_extra_tokens: int )
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/pos_embed.py:108
Function
inv_attractor
Inverse attractor: dc = dx / (1 + alpha*dx^gamma), where dx = a - c, a = attractor point, c = bin center, dc = shift in bin center This is the def
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/layers/attractor.py:45
Method
inverse
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/transform.py:158
Method
inverse
The inverse is to rotate it back with expand, and crop to get the original shape.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/transform.py:235
Function
inverse_sigmoid
(x, eps=1e-3)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/misc.py:18
Method
is_block
Check if is HRModule building block.
mmpose/tests/test_models/test_backbones/test_hrnet.py:15
Method
is_center_of_bboxes_in_patch
(boxes, patch)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:723
Function
is_dist_avail_and_initialized
()
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/misc.py:192
Method
is_init
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_module.py:53
Function
is_jit_tracing
()
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/trace.py:8
Function
is_no_jit
()
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/config.py:25
Function
is_norm
Check if a layer is a normalization layer. Args: layer (nn.Module): The layer to be checked. exclude (type | tuple[type]): Types
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/norm.py:122
Method
is_norm
Check if is one of the norms.
mmpose/tests/test_models/test_backbones/test_hrnet.py:22
Method
is_norm
Check if is one of the norms.
mmpose/tests/test_models/test_backbones/test_litehrnet.py:15
Method
is_running
bool: indicate whether the timer is running
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/timer.py:45
Method
isdir
Check whether a file path is a directory. Args: filepath (str or Path): Path to be checked whether it is a direct
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:240
Method
isdir
Check whether a file path is a directory. Args: filepath (str or Path): Path to be checked whether it is a direct
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:592
Method
isfile
Check whether a file path is a file. Args: filepath (str or Path): Path to be checked whether it is a file. Returns:
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:605
Method
iter
int: Current iteration.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_runner.py:165
Method
iter
Returns: int: The current iteration number. When used together with a trainer, this is ensured to be the same as
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:485
Method
iteration
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:498
Method
iters_per_epoch
(self)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/base_trainer.py:131
Function
jit
(func=None, check_input=None, full_shape=True, derivate=False,
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/parrots_jit.py:12
Method
join_path
Concatenate all file paths. Join one or more filepath components intelligently. The return value is the concatenation of filepath and
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:617
Method
kl
(self, other=None)
ControlNet-v1-1-nightly/ldm/modules/distributions/distributions.py:39
Method
label_and_sample_anchors
Args: anchors (list[RotatedBoxes]): anchors for each feature map. gt_instances: the ground-truth instances for each i
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/proposal_generator/rrpn.py:151
Method
label_and_sample_proposals
Prepare some proposals to be used to train the RROI heads. It performs box matching between `proposals` and `targets`, and assigns
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/rotated_fast_rcnn.py:218
Function
launch
Launch multi-process or distributed training. This function must be called on all machines involved in the training. It will spawn child
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/launch.py:27
Method
layers
(self, x)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/keypoint_head.py:268
Method
layers
(self, x)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/mask_head.py:287
Method
legacy_forward
multi head attention forward in mmcv version < 1.3.17.
mmpose/mmpose/models/backbones/pvt.py:199
← previous
next →
5,801–5,900 of 7,103, ranked by callers