MCPcopy Create free account

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

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

Methodget_1x_lr_params
(self)
ControlNet-v1-1-nightly/annotator/normalbae/models/baseline.py:25
Functionget_2d_sincos_pos_embed
grid_size: int of the grid height and width return: pos_embed: [grid_size*grid_size, embed_dim] or [1+grid_size*grid_size, embed_dim] (w/
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/pos_embed.py:17
Functionget_bbox
Get bbox from data Args: annotation (dict): dict of instance annotations for a single instance. Returns: bbox (ndarray):
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/detection_utils.py:257
Methodget_bounding_boxes
Returns: Boxes: tight bounding boxes around polygon masks.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/masks.py:320
Methodget_camera_param
Get camera parameters of a frame by its image name.
mmpose/mmpose/datasets/datasets/body3d/h36m_dataset.py:248
Methodget_centers
Returns: The box centers in a Nx2 array of (x, y).
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/rotated_boxes.py:386
Functionget_classes
Get class names of a dataset.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/class_names.py:121
Methodget_classifier
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/uniformer.py:376
Functionget_compiler_version
similar to https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/Version.cpp
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/vision.cpp:51
Functionget_cuda_version
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/vision.cpp:16
Methodget_deltas
Get box regression transformation deltas (dx, dy, dw, dh, da) that can be used to transform the `src_boxes` into the `target_boxes`.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/box_regression.py:145
Methodget_deltas
Get box regression transformation deltas (dx1, dy1, dx2, dy2) that can be used to transform the `src_boxes` into the `target_boxes`.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/box_regression.py:243
Methodget_fold_unfold
:param x: img of size (bs, c, h, w) :return: n img crops of size (n, bs, c, kernel_size[0], kernel_size[1])
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:714
Methodget_image
Returns: ndarray: the visualized image of shape (H, W, 3) (RGB) in uint8 type. The shape is scale
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:310
Methodget_input
(self, batch, k, cond_key=None, bs=None, return_first_stage_outputs=False)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:1651
Methodget_input
(self, batch, k, cond_key=None, bs=None, return_first_stage_outputs=False)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:1695
Methodget_input
(self, batch, k, cond_key=None, bs=None, return_first_stage_outputs=False)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:1760
Functionget_intersection_points
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:79
Methodget_last_layer
(self)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/model.py:448
Methodget_local_path
Download a file from ``filepath`` and return a temporary path. ``get_local_path`` is decorated by :meth:`contxtlib.contextmanager`. It
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:300
Methodget_local_path
Only for unified API and do nothing.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:633
Methodget_local_path
Download a file from ``filepath``. ``get_local_path`` is decorated by :meth:`contxtlib.contextmanager`. It can be called with ``with`
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:703
Functionget_local_process_group
Returns: A torch process group which only includes processes that are on the same machine as the current process. This group can
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/comm.py:64
Functionget_local_rank
Returns: The rank of the current process within the local (per-machine) process group.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/comm.py:75
Functionget_local_size
Returns: The size of the per-machine process group, i.e. the number of processes per machine.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/comm.py:88
Methodget_lr
(self, runner, base_lr)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:162
Methodget_lr
(self, runner, base_lr)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:193
Methodget_lr
(self, runner, base_lr)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:220
Methodget_lr
(self, runner, base_lr)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:233
Methodget_lr
(self, runner, base_lr)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:252
Methodget_lr
(self, runner, base_lr)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:266
Methodget_lr
(self, runner, base_lr)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:314
Methodget_lr
(self, runner, base_lr)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:368
Methodget_lr
(self, runner, base_lr)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:485
Methodget_lr
(self, runner, base_lr)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:614
Methodget_lr
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/lr_scheduler.py:122
Methodget_lr_params
Learning rate configuration for different layers of the model Args: lr (float) : Base learning rate Returns:
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py:245
Functionget_model_no_weights
Like model_zoo.get, but do not load any weights (even pretrained)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:29
Methodget_model_output
(x, t)
ControlNet-v1-1-nightly/ldm/models/diffusion/plms.py:184
Methodget_momentum
(self, runner, base_momentum)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:181
Methodget_momentum
(self, runner, base_momentum)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:210
Methodget_momentum
(self, runner, base_momentum)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:286
Functionget_outdir
(path, *paths, inc=False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/utils.py:38
Methodget_output
Returns: output (VisImage): the image output containing the visualizations added to the image.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:1261
Methodget_output
Returns: output (VisImage): the image output containing the visualizations added to the image.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:1344
Methodget_outputs_converter
(predict_net, init_net)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_modeling.py:279
Methodget_outputs_converter
(predict_net, init_net)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_modeling.py:359
Functionget_pb_arg_ints
(pb, arg_name, default_val)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:189
Functionget_pb_arg_valstrings
(pb, arg_name, default_val)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:204
Methodget_regular_momentum
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:479
Methodget_rel_pos_params
(self)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas.py:279
Functionget_rotated_vertices
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:59
Functionget_sample_coco_image
Args: tensor (bool): if True, returns 3xHxW tensor. else, returns a HxWx3 numpy array. Returns: an image, in BGR
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:56
Methodget_sequence_indices
Split original videos into sequences and build frame indices. This method overrides the default one in the base class.
mmpose/mmpose/datasets/datasets/body3d/h36m_dataset.py:159
Methodget_text
(self, filepath)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:43
Methodget_text
(self, filepath, encoding=None)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:81
Methodget_text
Read data from a given ``filepath`` with 'r' mode. Args: filepath (str or Path): Path to read data. encoding (str): T
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:164
Methodget_text
(self, filepath, encoding=None)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:447
Methodget_text
(self, filepath, encoding=None)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:499
Methodget_text
Read data from a given ``filepath`` with 'r' mode. Args: filepath (str or Path): Path to read data. encoding (str): T
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:521
Methodget_text
(self, filepath, encoding='utf-8')
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:698
Functionget_trainer
Builds and returns a trainer based on the config. Args: config (dict): the config dict (typically constructed using utils.config.get_conf
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/builder.py:28
Methodget_transform
(self, *args)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation.py:223
Methodget_transform
(self, *args)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:67
Methodget_transform
(self, image)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:102
Methodget_transform
(self, image)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:168
Methodget_transform
(self, image: np.ndarray)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:248
Methodget_transform
(self, image)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:283
Methodget_transform
(self, image: np.ndarray)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:366
Methodget_transform
(self, image)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:400
Methodget_transform
(self, image, sem_seg)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:462
Methodget_transform
(self, image)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:503
Methodget_transform
(self, image)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:547
Methodget_transform
(self, image)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:573
Methodget_transform
(self, image)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:600
Methodget_transform
(self, image)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:628
Methodget_transform
(self, image)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:648
Methodget_transform
Call function to crop images and bounding boxes with minimum IoU constraint. Args: boxes: ground truth boxes in (x1, y1,
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:681
Methodget_unconditional_conditioning
(self, bs, device="cuda")
ControlNet-v1-1-nightly/ldm/modules/encoders/modules.py:45
Functionget_vit_lr_decay_rate
Calculate lr decay rate for different ViT blocks. Args: name (string): parameter name. lr_decay_rate (float): base lr decay r
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/vit.py:506
Methodget_weights
(self)
ControlNet-v1-1-nightly/annotator/pidinet/model.py:548
Methodget_x_prev_and_pred_x0
(e_t, index)
ControlNet-v1-1-nightly/ldm/models/diffusion/plms.py:205
Functiongray2rgb
Convert a grayscale image to RGB image. Args: img (ndarray): The input image. Returns: ndarray: The converted RGB image.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/colorspace.py:70
Methodgt_fields
(self)
mmpose/mmpose/structures/pose_data_sample.py:83
Methodgt_instance_labels
(self)
mmpose/mmpose/structures/pose_data_sample.py:59
Methodgt_instances
(self)
mmpose/mmpose/structures/pose_data_sample.py:47
Methodgt_instances_preprocess
(batch_gt_instances: List[InstanceData], *args, **kwargs)
mmpose/projects/yolox_pose/models/yolox_pose_head.py:357
Methodgt_to_coco_json
Convert ground truth to coco format json file. Args: gt_dicts (Sequence[dict]): Ground truth of the dataset. Each dict
mmpose/mmpose/evaluation/metrics/coco_wholebody_metric.py:81
FunctionhandDetect
(candidate, subset, oriImg)
ControlNet-v1-1-nightly/annotator/dwpose/util.py:155
FunctionhandDetect
(candidate, subset, oriImg)
ControlNet-v1-1-nightly/annotator/openpose/util.py:155
Functionhard_sigmoid_me
(x, inplace: bool = False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_me.py:128
Functionhard_swish_me
(x, inplace=False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_me.py:165
Functionhas_cuda
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/vision.cpp:41
Functionhas_dynamic_axes
Return True when all ONNX input/output have only dynamic axes for all ranks
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:179
Methodhas_holes
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:111
Methodhas_holes
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:124
Functionhed
(img, res)
ControlNet-v1-1-nightly/gradio_annotator.py:22
Methodheight
int: Height of video frames.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/io.py:95
Functionhook
(model, input, output)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas.py:46
Functionhook
(model, input, output)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/utils.py:57
← previousnext →5,701–5,800 of 7,103, ranked by callers