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
↓ 1 callers
Function
flip_visibility
Flip keypoints visibility for test-time augmentation. Args: vis (Tensor): The keypoints visibility to flip. Should be a tensor
mmpose/mmpose/models/utils/tta.py:117
↓ 1 callers
Function
flow2rgb
Convert flow map to RGB image. Args: flow (ndarray): Array of optical flow. color_wheel (ndarray or None): Color wheel used to ma
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/visualization/optflow.py:24
↓ 1 callers
Function
flowread
Read an optical flow map. Args: flow_or_path (ndarray or str): A flow map or filepath. quantize (bool): whether to read quantized
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/optflow.py:12
↓ 1 callers
Method
format_results
Format the results into dir (standard format for Cityscapes evaluation). Args: results (list): Testing results of the dat
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/cityscapes.py:91
↓ 1 callers
Method
forward
Perform forward pass through the model and process the results. Args: inputs (Union[dict, tuple]): The inputs for the model.
mmpose/mmpose/apis/inferencers/pose3d_inferencer.py:288
↓ 1 callers
Method
forward
Forward the inputs to the model. Args: inputs (InputsType): The inputs to be forwarded. Returns: Dict: The p
mmpose/mmpose/apis/inferencers/mmpose_inferencer.py:115
↓ 1 callers
Method
forward
Performs a forward pass through the model. Args: inputs (Union[dict, tuple]): The input data to be processed. Can
mmpose/mmpose/apis/inferencers/pose2d_inferencer.py:227
↓ 1 callers
Method
forward
(self, inputs: torch.Tensor, data_samples: OptSampleList, mode
mmpose/mmpose/models/pose_estimators/distiller.py:78
↓ 1 callers
Method
forward
Forward the network. The input is multi scale feature maps and the output is the heatmap. Args: feats (Tuple[Tensor]): Mu
mmpose/mmpose/models/heads/heatmap_heads/cid_head.py:490
↓ 1 callers
Method
forward
Forward the network. The input is multi scale feature maps and the output is coordinates and coordinates visibility. Args:
mmpose/mmpose/models/heads/hybrid_heads/vis_head.py:85
↓ 1 callers
Method
forward
Forward function.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/decode_heads/ocr_head.py:119
↓ 1 callers
Method
forward
Forward function.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/decode_heads/da_head.py:142
↓ 1 callers
Method
forward
(self, x)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/aspp.py:129
↓ 1 callers
Method
forward
(self, x)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/batch_norm.py:295
↓ 1 callers
Method
forward
(self, x)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:86
↓ 1 callers
Method
forward
(self, x)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/swin.py:36
↓ 1 callers
Method
forward
Forward pass. Args: x (tensor): input data (image) Returns: tensor: depth
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/make_onnx_model.py:47
↓ 1 callers
Method
forward
(self, x)
ControlNet-v1-1-nightly/annotator/midas/midas/dpt_depth.py:67
↓ 1 callers
Method
forward
(self, x)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/util.py:213
↓ 1 callers
Method
forward
(self, x, t=None, context=None)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/model.py:400
↓ 1 callers
Method
forward
(self, x)
ControlNet-v1-1-nightly/ldm/modules/midas/midas/dpt_depth.py:67
↓ 1 callers
Method
forward_embeddings
(self, x)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:239
↓ 1 callers
Method
forward_features
(self, features)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/fpn.py:284
↓ 1 callers
Method
forward_ffn
(self, src)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/msdeformattn.py:116
↓ 1 callers
Method
forward_post
( self, src, src_mask: Optional[Tensor] = None, src_key_padding_mask: Optional
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/transformer.py:189
↓ 1 callers
Method
forward_post
( self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: O
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/transformer.py:268
↓ 1 callers
Method
forward_post
(self, tgt, tgt_mask: Optional[Tensor] = None, tgt_key_padding_mask:
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:59
↓ 1 callers
Method
forward_post
(self, tgt, memory, memory_mask: Optional[Tensor] = None, memory_key
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:117
↓ 1 callers
Method
forward_post
(self, tgt)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:182
↓ 1 callers
Method
forward_pre
( self, src, src_mask: Optional[Tensor] = None, src_key_padding_mask: Optional
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/transformer.py:207
↓ 1 callers
Method
forward_pre
( self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: O
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/transformer.py:299
↓ 1 callers
Method
forward_pre
(self, tgt, tgt_mask: Optional[Tensor] = None, tgt_key_padding_mask: O
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:71
↓ 1 callers
Method
forward_pre
(self, tgt, memory, memory_mask: Optional[Tensor] = None, memory_key_p
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:131
↓ 1 callers
Method
forward_pre
(self, tgt)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:188
↓ 1 callers
Method
forward_tokens
(self, x)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:243
↓ 1 callers
Method
forward_train
Forward pass during training. Args: feats (Tensor): Input feature tensor. instance_coords (Tensor): Coordinates of th
mmpose/mmpose/models/heads/heatmap_heads/cid_head.py:140
↓ 1 callers
Method
forward_training
(self, images, features, predictions, gt_instances)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/dense_detector.py:120
↓ 1 callers
Function
forward_vit
(pretrained, x)
ControlNet-v1-1-nightly/annotator/midas/midas/vit.py:56
↓ 1 callers
Function
forward_vit
(pretrained, x)
ControlNet-v1-1-nightly/ldm/modules/midas/midas/vit.py:56
↓ 1 callers
Method
forward_with_given_boxes
Use the given boxes in `instances` to produce other (non-box) per-ROI outputs. This is useful for downstream tasks where a box is kn
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/roi_heads.py:753
↓ 1 callers
Function
fpn_map
Look for keys with the following patterns: 1) Starts with "fpn.inner." Example: "fpn.inner.res2.2.sum.lateral.weight"
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/checkpoint/c2_model_loading.py:130
↓ 1 callers
Method
freeze
Freeze the first several stages of the ResNet. Commonly used in fine-tuning. Layers that produce the same feature map spatia
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/resnet.py:468
↓ 1 callers
Method
freeze
Freeze the first several stages of the model. Commonly used in fine-tuning. Layers that produce the same feature map spatial size ar
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:332
↓ 1 callers
Method
freeze
(self)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas.py:241
↓ 1 callers
Method
freeze
(self)
ControlNet-v1-1-nightly/ldm/modules/encoders/modules.py:69
↓ 1 callers
Method
freeze
(self)
ControlNet-v1-1-nightly/ldm/modules/encoders/modules.py:111
↓ 1 callers
Method
freeze
(self)
ControlNet-v1-1-nightly/ldm/modules/encoders/modules.py:163
↓ 1 callers
Method
freeze_bn
(self)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas.py:253
↓ 1 callers
Method
freeze_encoder
(self, freeze_rel_pos=False)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas.py:289
↓ 1 callers
Function
freeze_training_mode
A context manager that annotates the "training" attribute of every submodule to constant, so that the training codepath in these modules can
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript_patch.py:392
↓ 1 callers
Method
from_config
(cls, cfg, input_shape)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/keypoint_head.py:161
↓ 1 callers
Method
from_config
(cls, cfg, input_shape)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/mask_head.py:180
↓ 1 callers
Method
from_config
(cls, cfg, input_shape: Dict[str, ShapeSpec])
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/fpn.py:126
↓ 1 callers
Method
from_ssa
(ssa)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:821
↓ 1 callers
Method
fromstring
Generate config from config str. Args: cfg_str (str): Config str. file_format (str): Config file format corresponding
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/config.py:338
↓ 1 callers
Function
fspecial_gaussian
(hsize, sigma)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan_light.py:186
↓ 1 callers
Function
fspecial_gaussian
(hsize, sigma)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan.py:187
↓ 1 callers
Function
fspecial_laplacian
(alpha)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan_light.py:200
↓ 1 callers
Function
fspecial_laplacian
(alpha)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan.py:201
↓ 1 callers
Function
fuse_alias_placeholder
Remove AliasWithName placeholder and rename the input/output of it
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:604
↓ 1 callers
Function
fuse_copy_between_cpu_and_gpu
In-place fuse extra copy ops between cpu/gpu for the following case: a -CopyAToB-> b -CopyBToA> c1 -NextOp1-> d1
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:957
↓ 1 callers
Function
fused_bias_leakyrelu
Fused bias leaky ReLU function. This function is introduced in the StyleGAN2: http://arxiv.org/abs/1912.04958 The bias term comes from t
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/fused_bias_leakyrelu.py:225
↓ 1 callers
Function
gap2d
Helper for building a global average pooling layer.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:35
↓ 1 callers
Function
gaussian_blur1d
Modulate simcc distribution with Gaussian. Note: - num_keypoints: K - simcc length: Wx Args: simcc (np.ndarray[K, Wx
mmpose/mmpose/codecs/utils/post_processing.py:174
↓ 1 callers
Function
gen_color
()
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/colormap.py:99
↓ 1 callers
Function
gen_packages_items
()
mmpose/setup.py:107
↓ 1 callers
Method
generate_annotations
Generate annotations for training and testing data.
mmpose/tools/dataset_converters/preprocess_h36m.py:118
↓ 1 callers
Method
generate_cameras_file
Generate cameras.pkl which contains camera parameters for 11 subjects each with 4 cameras.
mmpose/tools/dataset_converters/preprocess_h36m.py:104
↓ 1 callers
Method
generate_cell_anchors
Generate a tensor storing canonical anchor boxes, which are all anchor boxes of different sizes and aspect_ratios centered at (0, 0).
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/anchor_generator.py:181
↓ 1 callers
Method
generate_cell_anchors
Generate a tensor storing canonical anchor boxes, which are all anchor boxes of different sizes, aspect_ratios, angles centered at (0
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/anchor_generator.py:329
↓ 1 callers
Function
generate_displacement_heatmap
Generate displacement heatmaps of keypoints, where each keypoint is represented by 3 maps: one pixel-level class label map (1 for keypoint and
mmpose/mmpose/codecs/utils/offset_heatmap.py:67
↓ 1 callers
Function
generate_dup_file_name
Automatically rename out_file when duplicated file exists. This case occurs when there is multiple instances on one image.
mmpose/tools/misc/browse_dataset.py:62
↓ 1 callers
Function
generate_grid
Generate regular square grid of points in [0, 1] x [0, 1] coordinate space. Args: num_grid (int): The number of grids to sample, one
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/point_sample.py:116
↓ 1 callers
Function
generate_offset_heatmap
Generate offset heatmaps of keypoints, where each keypoint is represented by 3 maps: one pixel-level class label map (1 for keypoint and 0 for
mmpose/mmpose/codecs/utils/offset_heatmap.py:8
↓ 1 callers
Method
generate_offset_map
(self, heatmap_size: Tuple[int, int], keypoints: np.ndarray)
mmpose/projects/skps/custom_codecs/skps_heatmap.py:103
↓ 1 callers
Method
generate_regnet
Generates per block width from RegNet parameters. Args: initial_width ([int]): Initial width of the backbone width_sl
mmpose/mmpose/models/backbones/regnet.py:228
↓ 1 callers
Function
generate_regnet_parameters
Generates per stage widths and depths from RegNet parameters.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:369
↓ 1 callers
Method
get
(self, filepath)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:694
↓ 1 callers
Method
getCameraId
()
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:195
↓ 1 callers
Method
getImageSizeX
Get the image size along the x axis.
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:300
↓ 1 callers
Method
getImageSizeY
Get the image size along the y axis.
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:305
↓ 1 callers
Method
getLabelPath
Gets the name of the label file stored in Assets.
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:362
↓ 1 callers
Method
getModelPath
Gets the name of the model file stored in Assets.
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:359
↓ 1 callers
Method
getOrientation
(int cameraOrientation)
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:263
↓ 1 callers
Method
getPostprocessNormalizeOp
Gets the TensorOperator to dequantize the output probability in post processing. <p>For quantized model, we need de-quantize the prediction with Norm
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:375
↓ 1 callers
Method
getPreprocessNormalizeOp
Gets the TensorOperator to nomalize the input image in preprocessing.
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:365
↓ 1 callers
Method
getRecognitions
Converts a list of {@link Classifications} objects into a list of {@link Recognition} objects to match the interface of other inference method, such a
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:250
↓ 1 callers
Method
getRgbBytes
()
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:208
↓ 1 callers
Method
getScreenOrientation
()
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:518
↓ 1 callers
Function
get_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/pos_embed.py:35
↓ 1 callers
Method
get_all_paths
(self, s, d)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:800
↓ 1 callers
Method
get_ann_info
Get annotation by index. Args: idx (int): Index of data. Returns: dict: Annotation info of specified index.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/custom.py:158
↓ 1 callers
Function
get_area
(results)
mmpose/demo/body3d_pose_lifter_demo.py:131
↓ 1 callers
Method
get_best_param_group_id
(optimizer)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:338
↓ 1 callers
Function
get_bn_args_tf
()
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/efficientnet_builder.py:30
↓ 1 callers
Function
get_build_config
()
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/parrots_wrapper.py:33
↓ 1 callers
Method
get_caffe2_inputs
Convert pytorch-style structured inputs to caffe2-style inputs that are tuples of tensors. Args: batched_inputs
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_modeling.py:154
↓ 1 callers
Method
get_camera_param
Get camera parameters of a frame by its image name. Override this method to specify how to get camera parameters.
mmpose/mmpose/datasets/datasets/base/base_mocap_dataset.py:321
↓ 1 callers
Method
get_camera_param
Get camera parameters of a frame by its image name.
mmpose/tests/test_codecs/test_video_pose_lifting.py:14
↓ 1 callers
Function
get_cityscapes_panoptic_files
(image_dir, gt_dir, json_info)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/datasets/cityscapes_panoptic.py:18
← previous
next →
2,201–2,300 of 7,103, ranked by callers