MCPcopy Create free account

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

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

Methodtransform
The transform function of :class:`TopdownAffine`. See ``transform()`` method of :class:`BaseTransform` for details. Args:
mmpose/mmpose/datasets/transforms/topdown_transforms.py:73
Methodtransform
The transform function of :class:`ZeroCenterPose`. See ``transform()`` method of :class:`BaseTransform` for details. Args:
mmpose/mmpose/datasets/transforms/pose3d_transforms.py:48
Methodtransform
Method to pack the input data. Args: results (dict): Result dict from the data pipeline. Returns: dict:
mmpose/mmpose/datasets/transforms/formatting.py:158
Methodtransform
(self, results: dict)
mmpose/mmpose/datasets/transforms/converting.py:89
Methodtransform
(self, results: dict)
mmpose/projects/yolox_pose/datasets/transforms.py:19
Methodtransform
(self, results: dict)
mmpose/projects/yolox_pose/datasets/transforms.py:65
Methodtransform
Transform function to filter annotations. Args: results (dict): Result dict. Returns: dict: Updated result d
mmpose/projects/yolox_pose/datasets/transforms.py:90
Functiontransform_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
Functiontransform_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
Functiontransforms
()
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:303
Methodtranslate_
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
Functiontrivial_batch_collator
A batch collator that does nothing.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/build.py:547
Functiontuple_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
Methodu2g
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/characterset_convert.h:96
Functionuint162single
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:259
Functionuint2single
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:249
Functionuint2tensor3
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:282
Functionuint2tensor4
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:275
Methodunfreeze_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
Functionuniform_on_device
(r1, r2, shape, device)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:42
Functionuniformer
(img, res)
ControlNet-v1-1-nightly/gradio_annotator.py:113
Functionuniq
(arr)
ControlNet-v1-1-nightly/ldm/modules/attention.py:27
Functionunregister_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
Methodupdate
(self, instances: Instances)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/hungarian_tracker.py:60
Methodupdate
See BaseTracker description
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/bbox_iou_tracker.py:89
Methodupdate_model_visualizer_settings
Update the settings of models and visualizer according to inference arguments.
mmpose/mmpose/apis/inferencers/base_mmpose_inferencer.py:231
Functionupdate_override_act_fn
(overrides)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/__init__.py:70
Functionupdate_override_act_layer
(overrides)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/__init__.py:85
Methodupdate_weight
(x)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/panoptic_fpn.py:79
Functionupfirdn2d
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
Methodupgrade
(cls, cfg: CN)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/compat.py:154
Functionupsample_flops_counter_hook
(module, input, output)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:404
Functionurl_to_torch
(url, size=(384, 384))
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/utils/misc.py:347
Functionuse_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
Methodutf8_to_gbk
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/characterset_convert.h:52
Methodval
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_runner.py:189
Methodval
(self, data_loader, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/epoch_based_runner.py:58
Methodval
(self, data_loader, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/iter_based_runner.py:72
Methodval_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
Methodval_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
Methodval_step
(self, *inputs, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/parallel/distributed_deprecated.py:66
Methodvalidate_on_batch
(self, batch, val_step)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/zoedepth_nk_trainer.py:115
Methodvalidate_on_batch
(self, batch, val_step)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/zoedepth_trainer.py:148
Methodvalidation_step
(self, batch, batch_idx)
ControlNet-v1-1-nightly/ldm/models/autoencoder.py:130
Methodvalidation_step
(self, batch, batch_idx)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:457
Methodvcap
:obj:`cv2.VideoCapture`: The raw VideoCapture object.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/io.py:80
Functionvisualize
(args, img, gt_norm, gt_norm_mask, norm_out_list, total_iter)
ControlNet-v1-1-nightly/annotator/normalbae/utils/utils.py:140
Methodvisualize
Visualize predictions. Args: inputs (list): Inputs preprocessed by :meth:`_inputs_to_list`. preds (Any): Predictions
mmpose/mmpose/apis/inferencers/base_mmpose_inferencer.py:260
Methodvisualize_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
Functionvoc_classes
Pascal VOC class names for external use.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/class_names.py:44
Functionvoc_palette
Pascal VOC palette for external use.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/class_names.py:105
Functionweighted_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
Methodwidth
int: Width of video frames.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/io.py:90
Functionwindow_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
Methodwith_auxiliary_head
bool: whether the segmentor has auxiliary head
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/base.py:29
Methodwith_decode_head
bool: whether the segmentor has decode head
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/base.py:35
Methodwith_head
bool: whether the pose estimator has a head.
mmpose/mmpose/models/pose_estimators/base.py:73
Methodwith_neck
bool: whether the pose estimator has a neck.
mmpose/mmpose/models/pose_estimators/base.py:68
Methodwith_neck
bool: whether the segmentor has neck
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/base.py:24
Methodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:179
Methodwith_traj
bool: Whether the pose lifter has trajectory head.
mmpose/mmpose/models/pose_estimators/pose_lifter.py:109
Methodwith_traj_backbone
bool: Whether the pose lifter has trajectory backbone.
mmpose/mmpose/models/pose_estimators/pose_lifter.py:98
Methodwith_traj_neck
bool: Whether the pose lifter has trajectory neck.
mmpose/mmpose/models/pose_estimators/pose_lifter.py:104
Functionworker_init_fn
Init the random seed for various workers.
mmpose/mmpose/datasets/builder.py:83
Functionworker_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
Functionworker_init_reset_seed
(worker_id)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/build.py:554
Methodworld_size
int: Number of processes participating in the job. (distributed training)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_runner.py:149
Methodworld_to_camera
(self, X)
mmpose/mmpose/utils/camera.py:128
Methodworld_to_camera
(self, X)
mmpose/mmpose/utils/camera.py:250
Methodworld_to_pixel
Project points from world coordinates to pixel coordinates.
mmpose/mmpose/utils/camera.py:44
Functionwrap
(func)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/misc.py:223
Functionwrap
(cls)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/io.py:147
Functionwrapped
(*args, **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/memory.py:68
Functionwrapped
(self, *args, **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/config.py:178
Functionwrapped_func
(args)
mmpose/tools/dataset_converters/h36m_to_coco.py:52
Functionwrapped_func
(*args, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/misc.py:226
Functionwrapped_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
Functionwrapper
(pred, target, weight=None, reduction='mean',
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/losses/utils.py:110
Functionwrapper
(func)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/parrots_jit.py:19
Functionwrapper
(*args, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/dist_utils.py:91
Functionwrapper
(*args, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/parallel/data_container.py:10
Functionwrapper
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:284
Functionwrapper
(orig_func)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/config.py:203
Functionwrapper_inner
(*args, **kargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/parrots_jit.py:21
Methodwrite
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:43
Methodwrite
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:150
Methodwrite
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:223
Functionwrite_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
Functionwrite_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
Functionwrite_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
Functionwrite_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
Methodwrite_frame
(file_idx)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/io.py:226
Functionwrite_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
Functionycbcr2bgr
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
Functionycbcr2rgb
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
Functionycbcr2rgb
same as matlab ycbcr2rgb Input: uint8, [0, 255] float, [0, 1]
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:553
Functionzoe
(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
← previousnext →7,001–7,100 of 7,103, ranked by callers