MCPcopy Create free account

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

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

↓ 1 callersMethodstartBackgroundThread
Starts a background thread and its {@link Handler}.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/LegacyCameraConnectionFragment.java:170
↓ 1 callersFunctionstem_b4_transpose
Modification of https://github.com/rwightman/pytorch-image-models/blob/master/timm/models/levit.py: stem_b16 such that ConvTranspose2
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/levit.py:86
↓ 1 callersMethodstochastic_encode
(self, x0, t, use_original_steps=False, noise=None)
ControlNet-v1-1-nightly/cldm/ddim_hacked.py:282
↓ 1 callersMethodstopBackgroundThread
Stops the background thread and its {@link Handler}.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraConnectionFragment.java:415
↓ 1 callersMethodstopBackgroundThread
Stops the background thread and its {@link Handler}.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/LegacyCameraConnectionFragment.java:176
↓ 1 callersMethodstopCamera
()
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/LegacyCameraConnectionFragment.java:186
↓ 1 callersFunctionswin_converter
(ckpt)
mmpose/mmpose/models/backbones/utils/ckpt_convert.py:10
↓ 1 callersFunctionswish
Swish - Described originally as SiLU (https://arxiv.org/abs/1702.03118v3) and also as Swish (https://arxiv.org/abs/1710.05941). TODO Rename t
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations.py:12
↓ 1 callersFunctionswish_jit
Swish - Described originally as SiLU (https://arxiv.org/abs/1702.03118v3) and also as Swish (https://arxiv.org/abs/1710.05941). TODO Rename t
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_jit.py:22
↓ 1 callersFunctionswish_jit_bwd
(x, grad_output)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_me.py:27
↓ 1 callersFunctionswish_jit_fwd
(x)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations_me.py:22
↓ 1 callersFunctionsynchronize
Helper function to synchronize (barrier) among all processes when using distributed training
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/comm.py:106
↓ 1 callersFunctionsynchronize_stream
(output, devices, streams)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/parallel/_functions.py:34
↓ 1 callersFunctiontalker
()
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/ros/midas_cpp/scripts/talker.py:14
↓ 1 callersFunctiontensor2imgs
Convert tensor to 3-channel images. Args: tensor (torch.Tensor): Tensor that contains multiple images, shape ( N, C, H, W).
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/misc.py:12
↓ 1 callersFunctiontest_nccl_ops
()
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/collect_env.py:207
↓ 1 callersMethodtext_transformer_forward
(self, x: torch.Tensor, attn_mask = None)
ControlNet-v1-1-nightly/ldm/modules/encoders/modules.py:182
↓ 1 callersMethodto
(self, *args: Any, **kwargs: Any)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/image_list.py:50
↓ 1 callersMethodto
(self, device: torch.device)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/rotated_boxes.py:232
↓ 1 callersMethodto_heatmap
Convert keypoint annotations to a heatmap of one-hot labels for training, as described in :paper:`Mask R-CNN`. Arguments:
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/keypoints.py:43
↓ 1 callersFunctiontokenize
(t)
ControlNet-v1-1-nightly/cldm/hack.py:37
↓ 1 callersFunctiontop_down_affine
Get the bbox image as the model input by affine transform. Args: input_size (dict): The input size of the model. bbox_scale (dict
mmpose/projects/rtmpose/examples/onnxruntime/main.py:336
↓ 1 callersFunctiontop_down_affine
Get the bbox image as the model input by affine transform. Args: input_size (dict): The input size of the model. bbox_scale (dict
ControlNet-v1-1-nightly/annotator/dwpose/onnxpose.py:255
↓ 1 callersFunctiontotal_intersect_and_union
Calculate Total Intersection and Union. Args: results (list[ndarray] | list[str]): List of prediction segmentation maps or li
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/evaluation/metrics.py:88
↓ 1 callersFunctiontrack_iter_progress
Track the progress of tasks iteration or enumeration with a progress bar. Tasks are yielded with a simple for-loop. Args: tasks
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/progressbar.py:179
↓ 1 callersMethodtrain
Convert the model into training mode while keep layers freezed.
mmpose/mmpose/models/backbones/swin.py:632
↓ 1 callersMethodtrain
(self, mode=True)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/vgg.py:159
↓ 1 callersMethodtrain
(self, mode=True)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:235
↓ 1 callersMethodtrain_on_batch
(self, batch, train_step)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/base_trainer.py:119
↓ 1 callersMethodtrain_preprocess
(self, image, depth_gt)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/data/data_mono.py:473
↓ 1 callersFunctiontransform_keypoint_annotations
Transform keypoint annotations of an image. If a keypoint is transformed out of image boundary, it will be marked "unlabeled" (visibility=0)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/detection_utils.py:334
↓ 1 callersFunctiontransformer_encode
(t)
ControlNet-v1-1-nightly/cldm/hack.py:40
↓ 1 callersFunctiontransforms_imagenet_eval
( img_size=224, crop_pct=None, interpolation='bilinear', use_prefetcher=False,
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/data/transforms.py:116
↓ 1 callersFunctionunnormalize
(img_in)
ControlNet-v1-1-nightly/annotator/normalbae/utils/utils.py:113
↓ 1 callersMethodupdate
(self, e=None, **f)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/utils/easydict/__init__.py:145
↓ 1 callersMethodupdate_stats
Update the model with precise statistics. Users can manually call this method.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:612
↓ 1 callersFunctionupfirdn2d_native
(input, kernel, up_x, up_y, down_x, down_y, pad_x0, pad_x1, pad_y0, pad_y1)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/upfirdn2d.py:290
↓ 1 callersMethodupgrade
(cls, cfg: CN)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/compat.py:204
↓ 1 callersFunctionupgrade_config
Upgrade a config from its current version to a newer version. Args: cfg (CfgNode): to_version (int): defaults to the latest
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/compat.py:33
↓ 1 callersFunctionupsample_filt
(size)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:50
↓ 1 callersFunctionvalid
(anns)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/build.py:59
↓ 1 callersMethodvalidate_on_batch
(self, batch, val_step)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/base_trainer.py:122
↓ 1 callersFunctionverify_results
Args: results (OrderedDict[dict]): task_name -> {metric -> score} Returns: bool: whether the verification succeeds or not
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/testing.py:31
↓ 1 callersMethodvis_accuracy
Calculate visibility prediction accuracy.
mmpose/mmpose/models/heads/hybrid_heads/vis_head.py:179
↓ 1 callersFunctionvisible_keypoints_in_image
(dic)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/build.py:88
↓ 1 callersFunctionvisualize
Visualize the keypoints and skeleton on image. Args: img (np.ndarray): Input image in shape. keypoints (np.ndarray): Keypoints in
mmpose/projects/rtmpose/examples/onnxruntime/main.py:134
↓ 1 callersMethodvisualize
Visualize predictions. Args: inputs (list): Inputs preprocessed by :meth:`_inputs_to_list`. preds (Any): Predictions
mmpose/mmpose/apis/inferencers/mmpose_inferencer.py:212
↓ 1 callersMethodvisualize_training
A function used to visualize images and proposals. It shows ground truth bounding boxes on the original image and up to 20 top-scorin
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/rcnn.py:91
↓ 1 callersFunctionvoc_ap
Compute VOC AP given precision and recall. If use_07_metric is true, uses the VOC 07 11-point method (default:False).
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/pascal_voc_evaluation.py:155
↓ 1 callersFunctionvoc_eval
rec, prec, ap = voc_eval(detpath, annopath, imagesetfile,
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/pascal_voc_evaluation.py:187
↓ 1 callersFunctionweights_to_cpu
Copy a model state_dict to cpu. Args: state_dict (OrderedDict): Model weights on GPU. Returns: OrderedDict: Model weights on
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/checkpoint.py:553
↓ 1 callersFunctionweights_to_cpu
Copy a model state_dict to cpu. Args: state_dict (OrderedDict): Model weights on GPU. Returns: OrderedDict: Model weights on
ControlNet-v1-1-nightly/annotator/uniformer/mmcv_custom/checkpoint.py:359
↓ 1 callersFunctionwhitespace_clean
(text)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/tokenizer.py:81
↓ 1 callersMethodwhole_inference
Inference with full image.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:214
↓ 1 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/uniformer.py:138
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/uniformer.py:152
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/swin.py:63
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/swin.py:59
↓ 1 callersMethodwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) H (int): Height of image W (int): Width of im
mmpose/mmpose/models/backbones/swin.py:255
↓ 1 callersMethodwith_pos_embed
(tensor, pos)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/msdeformattn.py:113
↓ 1 callersMethodworld_to_camera
Project points from world coordinates to camera coordinates.
mmpose/mmpose/utils/camera.py:32
↓ 1 callersMethodwrite_metrics
Args: loss_dict (dict): dict of scalar losses data_time (float): time taken by the dataloader iteration p
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/train_loop.py:339
↓ 1 callersFunctionwrite_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/tf/utils.py:6
↓ 1 callersFunctionwrite_pfm
Write pfm file. Args: path (str): pathto file image (array): data scale (int, optional): Scale. Defaults to 1.
ControlNet-v1-1-nightly/annotator/midas/utils.py:58
↓ 1 callersFunctionwrite_pfm
Write pfm file. Args: path (str): pathto file image (array): data scale (int, optional): Scale. Defaults to 1.
ControlNet-v1-1-nightly/ldm/modules/midas/utils.py:58
↓ 1 callersFunctionxml2coco_test
Save annotations in coco-format. :param file_list: list of data annotation files. :param img_root: the root dir to load images. :param sa
mmpose/tools/dataset_converters/parse_animalpose_dataset.py:195
↓ 1 callersFunctionxml2coco_trainval
Save annotations in coco-format. :param file_list: list of data annotation files. :param img_root: the root dir to load images. :param sa
mmpose/tools/dataset_converters/parse_animalpose_dataset.py:73
FunctionAccumulate
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/cocoeval/cocoeval.cpp:372
MethodAutoFitTextureView
(final Context context)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/customview/AutoFitTextureView.java:28
MethodBox
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/utils.h:38
FunctionBoxCompare
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/rtmpose_utils.h:34
MethodCameraConnectionFragment
( final ConnectionCallback connectionCallback, final OnImageAvailableListener imageListener,
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraConnectionFragment.java:194
MethodClassifier
Initializes a {@code Classifier}.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_task_api/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:167
MethodClassifier
Initializes a {@code Classifier}.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_support/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:202
MethodClassifierFloatEfficientNet
Initializes a {@code ClassifierFloatMobileNet}. @param device a {@link Device} object to configure the hardware accelerator @param numThreads the num
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_task_api/src/main/java/org/tensorflow/lite/examples/classification/tflite/ClassifierFloatEfficientNet.java:32
MethodClassifierFloatEfficientNet
Initializes a {@code ClassifierFloatMobileNet}. @param activity
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_support/src/main/java/org/tensorflow/lite/examples/classification/tflite/ClassifierFloatEfficientNet.java:43
MethodClassifierFloatMobileNet
Initializes a {@code ClassifierFloatMobileNet}. @param device a {@link Device} object to configure the hardware accelerator @param numThreads the num
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_task_api/src/main/java/org/tensorflow/lite/examples/classification/tflite/ClassifierFloatMobileNet.java:31
MethodClassifierFloatMobileNet
Initializes a {@code ClassifierFloatMobileNet}. @param activity
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_support/src/main/java/org/tensorflow/lite/examples/classification/tflite/ClassifierFloatMobileNet.java:45
MethodClassifierQuantizedEfficientNet
Initializes a {@code ClassifierQuantizedMobileNet}. @param device a {@link Device} object to configure the hardware accelerator @param numThreads the
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_task_api/src/main/java/org/tensorflow/lite/examples/classification/tflite/ClassifierQuantizedEfficientNet.java:31
MethodClassifierQuantizedEfficientNet
Initializes a {@code ClassifierQuantizedMobileNet}. @param activity
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_support/src/main/java/org/tensorflow/lite/examples/classification/tflite/ClassifierQuantizedEfficientNet.java:44
MethodClassifierQuantizedMobileNet
Initializes a {@code ClassifierQuantizedMobileNet}. @param device a {@link Device} object to configure the hardware accelerator @param numThreads the
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_task_api/src/main/java/org/tensorflow/lite/examples/classification/tflite/ClassifierQuantizedMobileNet.java:32
MethodClassifierQuantizedMobileNet
Initializes a {@code ClassifierQuantizedMobileNet}. @param activity
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_support/src/main/java/org/tensorflow/lite/examples/classification/tflite/ClassifierQuantizedMobileNet.java:45
MethodCropImageByDetectBox
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/rtmpose_onnxruntime.cpp:161
FunctionDPT_BEiT_B_384
# This docstring shows up in hub.help() MiDaS DPT_BEiT_B_384 model for monocular depth estimation pretrained (bool): load pretrained weights
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:55
FunctionDPT_BEiT_L_384
# This docstring shows up in hub.help() MiDaS DPT_BEiT_L_384 model for monocular depth estimation pretrained (bool): load pretrained weights
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:32
FunctionDPT_BEiT_L_512
# This docstring shows up in hub.help() MiDaS DPT_BEiT_L_512 model for monocular depth estimation pretrained (bool): load pretrained weights
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:9
FunctionDPT_Hybrid
# This docstring shows up in hub.help() MiDaS DPT-Hybrid model for monocular depth estimation pretrained (bool): load pretrained weights into
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:241
FunctionDPT_Large
# This docstring shows up in hub.help() MiDaS DPT-Large model for monocular depth estimation pretrained (bool): load pretrained weights into
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:218
FunctionDPT_LeViT_224
# This docstring shows up in hub.help() MiDaS DPT_LeViT_224 model for monocular depth estimation pretrained (bool): load pretrained weights i
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:193
FunctionDPT_Next_ViT_L_384
# This docstring shows up in hub.help() MiDaS DPT_Next_ViT_L_384 model for monocular depth estimation pretrained (bool): load pretrained weig
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:170
FunctionDPT_SwinV2_B_384
# This docstring shows up in hub.help() MiDaS DPT_SwinV2_B_384 model for monocular depth estimation pretrained (bool): load pretrained weight
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:101
FunctionDPT_SwinV2_L_384
# This docstring shows up in hub.help() MiDaS DPT_SwinV2_L_384 model for monocular depth estimation pretrained (bool): load pretrained weight
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:78
FunctionDPT_SwinV2_T_256
# This docstring shows up in hub.help() MiDaS DPT_SwinV2_T_256 model for monocular depth estimation pretrained (bool): load pretrained weight
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:124
FunctionDPT_Swin_L_384
# This docstring shows up in hub.help() MiDaS DPT_Swin_L_384 model for monocular depth estimation pretrained (bool): load pretrained weights
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/hubconf.py:147
MethodDetectBox
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/rtmpose_utils.h:18
FunctionEvaluateImages
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/cocoeval/cocoeval.cpp:142
FunctionHFlip_rotated_box
Apply the horizontal flip transform on rotated boxes. Args: rotated_boxes (ndarray): Nx5 floating point array of (x_cent
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/transform.py:307
MethodInference
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/rtmpose_tracker_onnxruntime.cpp:17
MethodInference
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/OnnxRumtime-CPU/src/RTMPoseOnnxRuntime/rtmpose_onnxruntime.cpp:37
MethodLegacyCameraConnectionFragment
( final Camera.PreviewCallback imageListener, final int layout, final Size desiredSize)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/LegacyCameraConnectionFragment.java:120
← previousnext →2,901–3,000 of 7,103, ranked by callers