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
transform
The transform function of :class:`TopdownAffine`. See ``transform()`` method of :class:`BaseTransform` for details. Args:
mmpose/mmpose/datasets/transforms/topdown_transforms.py:73
Method
transform
The transform function of :class:`ZeroCenterPose`. See ``transform()`` method of :class:`BaseTransform` for details. Args:
mmpose/mmpose/datasets/transforms/pose3d_transforms.py:48
Method
transform
Method to pack the input data. Args: results (dict): Result dict from the data pipeline. Returns: dict:
mmpose/mmpose/datasets/transforms/formatting.py:158
Method
transform
(self, results: dict)
mmpose/mmpose/datasets/transforms/converting.py:89
Method
transform
(self, results: dict)
mmpose/projects/yolox_pose/datasets/transforms.py:19
Method
transform
(self, results: dict)
mmpose/projects/yolox_pose/datasets/transforms.py:65
Method
transform
Transform function to filter annotations. Args: results (dict): Result dict. Returns: dict: Updated result d
mmpose/projects/yolox_pose/datasets/transforms.py:90
Function
transform_instance_annotations
Apply transforms to box, segmentation and keypoints annotations of a single instance. It will use `transforms.apply_box` for the box, and
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/detection_utils.py:270
Function
transform_proposals
Apply transformations to the proposals in dataset_dict, if any. Args: dataset_dict (dict): a dict read from the dataset, possibly
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/detection_utils.py:214
Function
transforms
()
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:303
Method
translate_
Translate boxes and keypoints in-place. Args: distances (Tuple[float, float]): translate distances. The first is
mmpose/projects/yolox_pose/datasets/bbox_keypoint_structure.py:96
Function
trivial_batch_collator
A batch collator that does nothing.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/build.py:547
Function
tuple_cast
Cast elements of an iterable object into a tuple of some type. A partial method of :func:`iter_cast`.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/misc.py:120
Method
u2g
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/characterset_convert.h:96
Function
uint162single
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:259
Function
uint2single
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:249
Function
uint2tensor3
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:282
Function
uint2tensor4
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:275
Method
unfreeze_conf
Unfreezes all the parameters of all the ModuleDicts children that are exclusively used for the given bin configuration
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py:304
Function
uniform_on_device
(r1, r2, shape, device)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:42
Function
uniformer
(img, res)
ControlNet-v1-1-nightly/gradio_annotator.py:113
Function
uniq
(arr)
ControlNet-v1-1-nightly/ldm/modules/attention.py:27
Function
unregister_custom_op_onnx_export
Unregister PyTorch's symbolic `opname`-`opset_version` for ONNX export. The un-registration is performed only when PyTorch's version is < `mi
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:208
Method
update
(self, instances: Instances)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/hungarian_tracker.py:60
Method
update
See BaseTracker description
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/bbox_iou_tracker.py:89
Method
update_model_visualizer_settings
Update the settings of models and visualizer according to inference arguments.
mmpose/mmpose/apis/inferencers/base_mmpose_inferencer.py:231
Function
update_override_act_fn
(overrides)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/__init__.py:70
Function
update_override_act_layer
(overrides)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/__init__.py:85
Method
update_weight
(x)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/panoptic_fpn.py:79
Function
upfirdn2d
UpFRIDn for 2d features. UpFIRDn is short for upsample, apply FIR filter and downsample. More details can be found in: https://www.mathwo
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/upfirdn2d.py:243
Method
upgrade
(cls, cfg: CN)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/compat.py:154
Function
upsample_flops_counter_hook
(module, input, output)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:404
Function
url_to_torch
(url, size=(384, 384))
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/utils/misc.py:347
Function
use_backend
Select a backend for image decoding. Args: backend (str): The image decoding backend type. Options are `cv2`, `pillow`, `turbojpe
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/io.py:43
Method
utf8_to_gbk
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/characterset_convert.h:52
Method
val
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_runner.py:189
Method
val
(self, data_loader, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/epoch_based_runner.py:58
Method
val
(self, data_loader, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/iter_based_runner.py:72
Method
val_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but used during val epochs. Note t
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/base.py:162
Method
val_step
val_step() API for module wrapped by DistributedDataParallel. This method is basically the same as ``DistributedDataParallel.forward(
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/parallel/distributed.py:72
Method
val_step
(self, *inputs, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/parallel/distributed_deprecated.py:66
Method
validate_on_batch
(self, batch, val_step)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/zoedepth_nk_trainer.py:115
Method
validate_on_batch
(self, batch, val_step)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/zoedepth_trainer.py:148
Method
validation_step
(self, batch, batch_idx)
ControlNet-v1-1-nightly/ldm/models/autoencoder.py:130
Method
validation_step
(self, batch, batch_idx)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:457
Method
vcap
:obj:`cv2.VideoCapture`: The raw VideoCapture object.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/io.py:80
Function
visualize
(args, img, gt_norm, gt_norm_mask, norm_out_list, total_iter)
ControlNet-v1-1-nightly/annotator/normalbae/utils/utils.py:140
Method
visualize
Visualize predictions. Args: inputs (list): Inputs preprocessed by :meth:`_inputs_to_list`. preds (Any): Predictions
mmpose/mmpose/apis/inferencers/base_mmpose_inferencer.py:260
Method
visualize_training
A function used to visualize ground truth images and final network predictions. It shows ground truth bounding boxes on the original
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/dense_detector.py:261
Function
voc_classes
Pascal VOC class names for external use.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/class_names.py:44
Function
voc_palette
Pascal VOC palette for external use.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/class_names.py:105
Function
weighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, ta
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/losses/utils.py:78
Method
width
int: Width of video frames.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/io.py:90
Function
window_partition
Partition into non-overlapping windows with padding if needed. Args: x (tensor): input tokens with [B, H, W, C]. window_size
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/utils.py:16
Method
with_auxiliary_head
bool: whether the segmentor has auxiliary head
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/base.py:29
Method
with_decode_head
bool: whether the segmentor has decode head
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/base.py:35
Method
with_head
bool: whether the pose estimator has a head.
mmpose/mmpose/models/pose_estimators/base.py:73
Method
with_neck
bool: whether the pose estimator has a neck.
mmpose/mmpose/models/pose_estimators/base.py:68
Method
with_neck
bool: whether the segmentor has neck
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/base.py:24
Method
with_pos_embed
(self, tensor, pos: Optional[Tensor])
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:179
Method
with_traj
bool: Whether the pose lifter has trajectory head.
mmpose/mmpose/models/pose_estimators/pose_lifter.py:109
Method
with_traj_backbone
bool: Whether the pose lifter has trajectory backbone.
mmpose/mmpose/models/pose_estimators/pose_lifter.py:98
Method
with_traj_neck
bool: Whether the pose lifter has trajectory neck.
mmpose/mmpose/models/pose_estimators/pose_lifter.py:104
Function
worker_init_fn
Init the random seed for various workers.
mmpose/mmpose/datasets/builder.py:83
Function
worker_init_fn
Worker init func for dataloader. The seed of each worker equals to num_worker * rank + worker_id + user_seed Args: worker_id (int):
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/builder.py:155
Function
worker_init_reset_seed
(worker_id)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/build.py:554
Method
world_size
int: Number of processes participating in the job. (distributed training)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_runner.py:149
Method
world_to_camera
(self, X)
mmpose/mmpose/utils/camera.py:128
Method
world_to_camera
(self, X)
mmpose/mmpose/utils/camera.py:250
Method
world_to_pixel
Project points from world coordinates to pixel coordinates.
mmpose/mmpose/utils/camera.py:44
Function
wrap
(func)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/misc.py:223
Function
wrap
(cls)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/io.py:147
Function
wrapped
(*args, **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/memory.py:68
Function
wrapped
(self, *args, **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/config.py:178
Function
wrapped_func
(args)
mmpose/tools/dataset_converters/h36m_to_coco.py:52
Function
wrapped_func
(*args, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/misc.py:226
Function
wrapped_loss_func
Same as `loss_func`, but returns 0 (instead of nan) for empty inputs.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/wrappers.py:61
Function
wrapper
(pred, target, weight=None, reduction='mean',
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/losses/utils.py:110
Function
wrapper
(func)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/parrots_jit.py:19
Function
wrapper
(*args, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/dist_utils.py:91
Function
wrapper
(*args, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/parallel/data_container.py:10
Function
wrapper
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:284
Function
wrapper
(orig_func)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/config.py:203
Function
wrapper_inner
(*args, **kargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/parrots_jit.py:21
Method
write
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:43
Method
write
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:150
Method
write
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:223
Function
write_depth
Write depth map to png file. Args: path (str): filepath without extension depth (array): depth grayscale (bool): use a gr
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/utils.py:166
Function
write_depth
Write depth map to pfm and png file. Args: path (str): filepath without extension depth (array): depth
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/utils.py:59
Function
write_depth
Write depth map to pfm and png file. Args: path (str): filepath without extension depth (array): depth
ControlNet-v1-1-nightly/annotator/midas/utils.py:165
Function
write_depth
Write depth map to pfm and png file. Args: path (str): filepath without extension depth (array): depth
ControlNet-v1-1-nightly/ldm/modules/midas/utils.py:165
Method
write_frame
(file_idx)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/io.py:226
Function
write_pfm
Write pfm file. Args: path (str): pathto file image (array): data scale (int, optional): Scale. Defaults to 1.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/utils.py:59
Function
ycbcr2bgr
Convert a YCbCr image to BGR image. The bgr version of ycbcr2rgb. It implements the ITU-R BT.601 conversion for standard-definition telev
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/colorspace.py:243
Function
ycbcr2rgb
Convert a YCbCr image to RGB image. This function produces the same results as Matlab's ycbcr2rgb function. It implements the ITU-R BT.601 co
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/colorspace.py:211
Function
ycbcr2rgb
same as matlab ycbcr2rgb Input: uint8, [0, 255] float, [0, 1]
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:553
Function
zoe
(img, res)
ControlNet-v1-1-nightly/gradio_annotator.py:74
Method
~Midas
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/ros/midas_cpp/src/main.cpp:166
Method
~RTMDet
* @brief RTMDet`s destructor */
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/rtmdet.cpp:48
Method
~RTMDetOnnxruntime
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/rtmdet_onnxruntime.cpp:31
← previous
next →
7,001–7,100 of 7,103, ranked by callers