MCPcopy Create free account

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

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

Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:371
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/profiler.py:107
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/checkpoint.py:71
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:13
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:472
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:575
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/tensorboard.py:24
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/text.py:89
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/neptune.py:62
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/wandb.py:34
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/base.py:133
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/pavi.py:36
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/mlflow.py:62
Methodbefore_run
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/dvclive.py:50
Methodbefore_step
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:76
Methodbefore_step
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:139
Methodbefore_step
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:410
Methodbefore_step
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:494
Methodbefore_train
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:64
Methodbefore_train
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:108
Methodbefore_train
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:202
Methodbefore_train
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:326
Methodbefore_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
Methodbefore_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
Methodbefore_train_epoch
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:128
Methodbefore_train_epoch
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:31
Methodbefore_train_epoch
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:126
Methodbefore_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
Methodbefore_train_iter
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:134
Methodbefore_train_iter
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:43
Methodbefore_train_iter
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:137
Methodbefore_val_epoch
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:34
Methodbefore_val_iter
(self, runner)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/hook.py:46
Functionbeit_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
Methodbenchmark_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
Methodbenchmark_dataset
Benchmark the speed of taking raw samples from the dataset.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/benchmark.py:126
Methodbenchmark_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
Methodbenchmark_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
Methodbenchmark_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
Functionbetas_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
Functionbgr2ycbcr
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
Functionbinary_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
Functionblock_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
Functionblur
x: image, NxcxHxW k: kernel, Nx1xhxw
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan_light.py:127
Functionblur
x: image, NxcxHxW k: kernel, Nx1xhxw
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan.py:128
Functionbox_cxcywh_to_xyxy
(x)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/box_ops.py:9
Functionbox_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
Functionbox_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
Functionbox_iou_rotated_cpu_kernel
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.cpp:8
Functionbox_xyxy_to_cxcywh
(x)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/box_ops.py:16
Functionboxes_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
Functionbuild_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
Functionbuild_backbone
Build backbone.
mmpose/mmpose/models/builder.py:13
Methodbuild_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
Functionbuild_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
Methodbuild_from_config
(config)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/zoedepth/zoedepth_v1.py:249
Methodbuild_from_config
(config)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py:332
Functionbuild_head
Build head.
mmpose/mmpose/models/builder.py:23
Functionbuild_head
Build head.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/builder.py:25
Functionbuild_loss
Build loss.
mmpose/mmpose/models/builder.py:28
Functionbuild_lr_scheduler
Build a LR scheduler from config.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/projects/deeplab/build_solver.py:11
Functionbuild_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
Functionbuild_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
Functionbuild_neck
Build neck.
mmpose/mmpose/models/builder.py:18
Functionbuild_posenet
Build posenet.
mmpose/mmpose/models/builder.py:38
Functionbuild_positional_encoding
Builder for Position Encoding.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/transformer.py:33
Functionbuild_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
Functionbuild_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
Functionbuild_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
Functionbuild_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
Functionbuild_transformer_layer_sequence
Builder for transformer encoder and transformer decoder.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/transformer.py:53
Functionbuilder_inited_handler
(app)
mmpose/docs/zh_cn/conf.py:100
Functionbuilder_inited_handler
(app)
mmpose/docs/en/conf.py:103
Functioncaffe2_xavier_init
(module, bias=0)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/weight_init.py:110
Functioncal_train_time
(log_dicts, args)
mmpose/tools/analysis_tools/analyze_logs.py:11
Functioncalculate_psnr
(img1, img2, border=0)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:621
Functioncalculate_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
Functioncalculate_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
Methodcallback
(self, data)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/ros/midas_cpp/scripts/listener_original.py:25
Methodcallback
(self, data)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/ros/midas_cpp/scripts/listener.py:25
Methodcamera_to_pixel
(self, X)
mmpose/mmpose/utils/camera.py:138
Methodcamera_to_pixel
(self, X)
mmpose/mmpose/utils/camera.py:260
Methodcamera_to_world
Project points from camera coordinates to world coordinates.
mmpose/mmpose/utils/camera.py:36
Methodcamera_to_world
(self, X)
mmpose/mmpose/utils/camera.py:255
Functioncanny
(img, res, l, h)
ControlNet-v1-1-nightly/gradio_annotator.py:9
Methodcat
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
Methodcat
Args: instance_lists (list[Instances]) Returns: Instances
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/instances.py:154
Methodcat
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
Methodcausal
bool: Whether the pose lifter is causal.
mmpose/mmpose/models/pose_estimators/pose_lifter.py:114
Functionchannel_convert
(in_c, tar_type, img_list)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:597
Functioncheck_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
Functioncheck_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
Functioncityscapes_classes
Cityscapes class names for external use.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/class_names.py:4
Functioncityscapes_palette
Cityscapes palette for external use.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/class_names.py:54
Functionclahe
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
Functionclassical_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
Functionclassical_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
MethodclassificationResultsShouldNotChange
()
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
Functionclear_override_act_fn
()
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/__init__.py:76
Functionclear_override_act_layer
()
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/__init__.py:91
← previousnext →4,601–4,700 of 7,103, ranked by callers