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
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:371
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/profiler.py:107
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/checkpoint.py:71
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:13
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:472
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:575
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/tensorboard.py:24
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/text.py:89
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/neptune.py:62
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/wandb.py:34
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/base.py:133
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/pavi.py:36
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/mlflow.py:62
Method
before_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/dvclive.py:50
Method
before_step
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:76
Method
before_step
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:139
Method
before_step
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:410
Method
before_step
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:494
Method
before_train
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:64
Method
before_train
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:108
Method
before_train
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:202
Method
before_train
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:326
Method
before_train_epoch
Evaluate the model only at the start of training by epoch.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/evaluation.py:236
Method
before_train_epoch
We recover model's parameter from ema backup after last epoch's EvalHook.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/ema.py:78
Method
before_train_epoch
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:128
Method
before_train_epoch
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:31
Method
before_train_epoch
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:126
Method
before_train_iter
Evaluate the model only at the start of training by iteration.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/evaluation.py:228
Method
before_train_iter
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:134
Method
before_train_iter
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:43
Method
before_train_iter
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:137
Method
before_val_epoch
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:34
Method
before_val_iter
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:46
Function
beit_forward_features
Modification of timm.models.beit.py: Beit.forward_features to support arbitrary window sizes.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/beit.py:108
Method
benchmark_IPC
Benchmark the dataloader where each worker outputs nothing. This eliminates the IPC overhead compared to the regular dataloader.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/benchmark.py:175
Method
benchmark_dataset
Benchmark the speed of taking raw samples from the dataset.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/benchmark.py:126
Method
benchmark_distributed
Benchmark the dataloader in each distributed worker, and log results of all workers. This helps understand the final performance as w
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/benchmark.py:195
Method
benchmark_mapper
Benchmark the speed of taking raw samples from the dataset and map them in a single process.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/benchmark.py:138
Method
benchmark_workers
Benchmark the dataloader by tuning num_workers to [0, 1, self.num_workers].
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/benchmark.py:151
Function
betas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/util.py:77
Function
bgr2ycbcr
Convert a BGR image to YCbCr image. The bgr version of rgb2ycbcr. It implements the ITU-R BT.601 conversion for standard-definition telev
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/colorspace.py:177
Function
binary_cross_entropy
Calculate the binary CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, 1). label (torch.Tensor): The le
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/losses/cross_entropy_loss.py:57
Function
block_forward
Modification of timm.models.beit.py: Block.forward to support arbitrary window sizes.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/beit.py:94
Function
blur
x: image, NxcxHxW k: kernel, Nx1xhxw
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan_light.py:127
Function
blur
x: image, NxcxHxW k: kernel, Nx1xhxw
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan.py:128
Function
box_cxcywh_to_xyxy
(x)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/box_ops.py:9
Function
box_iou_rotated
Return intersection-over-union (Jaccard index) of boxes. Both sets of boxes are expected to be in (x_center, y_center, width, height, angle)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/box_iou_rotated.py:7
Function
box_iou_rotated
Interface for Python inline is needed to prevent multiple function definitions when this header is included by different cpps
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated.h:20
Function
box_iou_rotated_cpu_kernel
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.cpp:8
Function
box_xyxy_to_cxcywh
(x)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/box_ops.py:16
Function
boxes_iou_bev
Calculate boxes IoU in the Bird's Eye View. Args: boxes_a (torch.Tensor): Input boxes a with shape (M, 5). boxes_b (torch.Tensor)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/iou3d.py:12
Function
build_augmentation
Create a list of default :class:`Augmentation` from config. Now it includes resizing and flipping. Returns: list[Augmentation]
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/detection_utils.py:629
Function
build_backbone
Build backbone.
mmpose/mmpose/models/builder.py:13
Method
build_cost_matrix
Build the cost matrix for assignment problem (https://en.wikipedia.org/wiki/Assignment_problem) Args: instances:
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/vanilla_hungarian_bbox_iou_tracker.py:91
Function
build_detection_test_loader
Similar to `build_detection_train_loader`, with default batch size = 1, and sampler = :class:`InferenceSampler`. This sampler coordinates all
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/build.py:56
Method
build_from_config
(config)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/zoedepth/zoedepth_v1.py:249
Method
build_from_config
(config)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py:332
Function
build_head
Build head.
mmpose/mmpose/models/builder.py:23
Function
build_head
Build head.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/builder.py:25
Function
build_loss
Build loss.
mmpose/mmpose/models/builder.py:28
Function
build_lr_scheduler
Build a LR scheduler from config.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/projects/deeplab/build_solver.py:11
Function
build_model
Builds a model from a config. The model is specified by the model name and version in the config. The model is then constructed using the build_from_c
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/builder.py:28
Function
build_model_from_cfg
Build a PyTorch model from config dict(s). Different from ``build_from_cfg``, if cfg is a list, a ``nn.Sequential`` will be built. Args:
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/builder.py:6
Function
build_neck
Build neck.
mmpose/mmpose/models/builder.py:18
Function
build_posenet
Build posenet.
mmpose/mmpose/models/builder.py:38
Function
build_positional_encoding
Builder for Position Encoding.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/transformer.py:33
Function
build_resnet_deeplab_backbone
Create a ResNet instance from config. Returns: ResNet: a :class:`ResNet` instance.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/projects/deeplab/resnet.py:71
Function
build_resnet_fpn_backbone
Args: cfg: a detectron2 CfgNode Returns: backbone (Backbone): backbone module, must be a subclass of :class:`Backbone`.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/fpn.py:225
Function
build_retinanet_resnet_fpn_backbone
Args: cfg: a detectron2 CfgNode Returns: backbone (Backbone): backbone module, must be a subclass of :class:`Backbone`.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/fpn.py:248
Function
build_tracker_head
Build a tracker head from `cfg.TRACKER_HEADS.TRACKER_NAME`. Args: cfg: D2 CfgNode, config file with tracker information Return:
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/base_tracker.py:53
Function
build_transformer_layer_sequence
Builder for transformer encoder and transformer decoder.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/transformer.py:53
Function
builder_inited_handler
(app)
mmpose/docs/zh_cn/conf.py:100
Function
builder_inited_handler
(app)
mmpose/docs/en/conf.py:103
Function
caffe2_xavier_init
(module, bias=0)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/weight_init.py:110
Function
cal_train_time
(log_dicts, args)
mmpose/tools/analysis_tools/analyze_logs.py:11
Function
calculate_psnr
(img1, img2, border=0)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:621
Function
calculate_ssim
calculate SSIM the same outputs as MATLAB's img1, img2: [0, 255]
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:642
Function
calculate_uncertainty
Estimate uncertainty based on seg logits. For each location of the prediction ``seg_logits`` we estimate uncertainty as the difference betwee
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/decode_heads/point_head.py:14
Method
callback
(self, data)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/ros/midas_cpp/scripts/listener_original.py:25
Method
callback
(self, data)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/ros/midas_cpp/scripts/listener.py:25
Method
camera_to_pixel
(self, X)
mmpose/mmpose/utils/camera.py:138
Method
camera_to_pixel
(self, X)
mmpose/mmpose/utils/camera.py:260
Method
camera_to_world
Project points from camera coordinates to world coordinates.
mmpose/mmpose/utils/camera.py:36
Method
camera_to_world
(self, X)
mmpose/mmpose/utils/camera.py:255
Function
canny
(img, res, l, h)
ControlNet-v1-1-nightly/gradio_annotator.py:9
Method
cat
Concatenates a list of Keypoints into a single Keypoints Arguments: keypoints_list (list[Keypoints]) Returns:
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/keypoints.py:84
Method
cat
Args: instance_lists (list[Instances]) Returns: Instances
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/instances.py:154
Method
cat
Concatenates a list of PolygonMasks into a single PolygonMasks Arguments: polymasks_list (list[PolygonMasks]) R
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/masks.py:446
Method
causal
bool: Whether the pose lifter is causal.
mmpose/mmpose/models/pose_estimators/pose_lifter.py:114
Function
channel_convert
(in_c, tar_type, img_list)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:597
Function
check_image_size
Raise an error if the image does not match the size specified in the dict.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/detection_utils.py:188
Function
check_python_script
Run the python cmd script with `__main__`. The difference between `os.system` is that, this function exectues code in the current process, so
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/testing.py:10
Function
cityscapes_classes
Cityscapes class names for external use.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/class_names.py:4
Function
cityscapes_palette
Cityscapes palette for external use.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/class_names.py:54
Function
clahe
Use CLAHE method to process the image. See `ZUIDERVELD,K. Contrast Limited Adaptive Histogram Equalization[J]. Graphics Gems, 1994:474-485.`
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/photometric.py:405
Function
classical_degradation
blur + downsampling Args: x: HxWxC image, [0, 1]/[0, 255] k: hxw, double sf: down-scale factor Return: downsa
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan_light.py:283
Function
classical_degradation
blur + downsampling Args: x: HxWxC image, [0, 1]/[0, 255] k: hxw, double sf: down-scale factor Return: downsa
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan.py:284
Method
classificationResultsShouldNotChange
()
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/androidTest/java/org/tensorflow/lite/examples/classification/ClassifierTest.java:55
Function
clear_override_act_fn
()
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/__init__.py:76
Function
clear_override_act_layer
()
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/__init__.py:91
← previous
next →
4,601–4,700 of 7,103, ranked by callers