MCPcopy Create free account

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

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

↓ 1 callersFunctionparse_args
()
mmpose/tools/analysis_tools/analyze_logs.py:120
↓ 1 callersFunctionparse_args
()
mmpose/tools/analysis_tools/get_flops.py:18
↓ 1 callersFunctionparse_args
()
mmpose/tools/analysis_tools/print_config.py:7
↓ 1 callersFunctionparse_args
()
mmpose/tools/misc/browse_dataset.py:18
↓ 1 callersFunctionparse_args
()
mmpose/tools/misc/publish_model.py:12
↓ 1 callersFunctionparse_args
()
mmpose/tools/dataset_converters/labelstudio2coco.py:19
↓ 1 callersFunctionparse_args
()
mmpose/tools/dataset_converters/mat2json.py:9
↓ 1 callersFunctionparse_args
()
mmpose/tools/dataset_converters/preprocess_h36m.py:374
↓ 1 callersFunctionparse_args
()
mmpose/tools/torchserve/test_torchserver.py:15
↓ 1 callersFunctionparse_args
()
mmpose/tools/torchserve/mmpose2torchserve.py:83
↓ 1 callersFunctionparse_args
()
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/python/convert_rtmdet.py:76
↓ 1 callersFunctionparse_args
()
mmpose/projects/rtmpose/examples/onnxruntime/main.py:14
↓ 1 callersFunctionparse_args
()
mmpose/demo/image_demo.py:11
↓ 1 callersFunctionparse_args
()
mmpose/demo/body3d_pose_lifter_demo.py:33
↓ 1 callersFunctionparse_args
()
mmpose/demo/inferencer_demo.py:8
↓ 1 callersFunctionparse_args
()
mmpose/demo/bottomup_demo.py:51
↓ 1 callersMethodparse_data_info
Parse raw COCO annotation of an instance. Args: raw_data_info (dict): Raw data information loaded from ``ann_file
mmpose/mmpose/datasets/datasets/base/base_coco_style_dataset.py:251
↓ 1 callersMethodparse_img_size
(config)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas.py:356
↓ 1 callersFunctionparse_line
Parse information from a line in a requirements text file.
mmpose/setup.py:56
↓ 1 callersFunctionparse_list
Parse a list of values for the key if the value is a string. The values are separated by a comma. Modifies the config in place.
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/utils/config.py:295
↓ 1 callersFunctionparse_rec
Parse a PASCAL VOC xml file.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/pascal_voc_evaluation.py:132
↓ 1 callersMethodparse_uri_prefix
Parse the prefix of a uri. Args: uri (str | Path): Uri to be parsed that contains the file prefix. Examples:
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:831
↓ 1 callersFunctionparse_version_info
Parse a version string into a tuple. Args: version_str (str): The version string. Returns: tuple[int | str]: The version info
mmpose/mmpose/version.py:7
↓ 1 callersFunctionpaste_masks_in_image
Paste a set of masks that are of a fixed resolution (e.g., 28 x 28) into an image. The location, height, and width for pasting each mask is d
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/mask_ops.py:74
↓ 1 callersFunctionpatch_builtin_len
Patch the builtin len() function of a few detectron2 modules to use __len__ instead, because __len__ does not convert values to integers
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript_patch.py:316
↓ 1 callersFunctionpatch_forward_method
Patch the forward method of a module. Args: func (callable): The original forward method. src_type (torch.dtype): Type of input a
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/fp16_utils.py:283
↓ 1 callersFunctionpatch_generalized_rcnn
(model)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_patch.py:70
↓ 1 callersFunctionpatch_instances
A contextmanager, under which the Instances class in detectron2 is replaced by a statically-typed scriptable class, defined by `fields`.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript_patch.py:51
↓ 1 callersFunctionpatch_nonscriptable_classes
Apply patches on a few nonscriptable detectron2 classes. Should not have side-effects on eager usage.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript_patch.py:342
↓ 1 callersFunctionpatch_norm_fp32
Recursively convert normalization layers from FP16 to FP32. Args: module (nn.Module): The modules to be converted in FP16. Returns:
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/fp16_utils.py:263
↓ 1 callersFunctionpatches_from_image
(img, p_size=512, p_overlap=64, p_max=800)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:93
↓ 1 callersFunctionpermute_to_N_HWA_K
Transpose/reshape a tensor from (N, (Ai x K), H, W) to (N, (HxWxAi), K)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/dense_detector.py:15
↓ 1 callersMethodplms_sampling
(self, cond, shape, x_T=None, ddim_use_original_steps=False, callb
ControlNet-v1-1-nightly/ldm/models/diffusion/plms.py:118
↓ 1 callersFunctionpolygon_area
(x, y)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/masks.py:16
↓ 1 callersMethodpolygons_to_mask
(self, polygons)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:138
↓ 1 callersMethodpolygons_to_mask
(self, polygons)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:151
↓ 1 callersFunctionpool2d
Helper for building a pool2d layer.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:40
↓ 1 callersMethodpositional_encoding_1d
Generate positional encodings Args: sequence_length (int): Sequence length embedding_dim (int): Embedding dimension
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/layers/patch_transformer.py:50
↓ 1 callersFunctionpostprocess
Postprocess for RTMPose model output. Args: outputs (np.ndarray): Output of RTMPose model. model_input_size (tuple): RTMPose mode
ControlNet-v1-1-nightly/annotator/dwpose/onnxpose.py:80
↓ 1 callersMethodpostprocess
(self, sample)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/data/data_mono.py:289
↓ 1 callersFunctionpre_calc_for_bilinear_interpolate
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp:28
↓ 1 callersFunctionpred_lines
(image, model, input_shape=[512, 512], score_thr=0.10, dist_thr=2
ControlNet-v1-1-nightly/annotator/mlsd/utils.py:47
↓ 1 callersMethodpredict
Predict results from a batch of inputs and data samples with post- processing.
mmpose/mmpose/models/pose_estimators/base.py:154
↓ 1 callersMethodpredict
(self, inputs, data_samples)
mmpose/mmpose/models/pose_estimators/distiller.py:139
↓ 1 callersMethodpredict
Predict results from features. Args: feats (Features): The features which could be in following forms: - Tuple[T
mmpose/mmpose/models/heads/heatmap_heads/ae_head.py:61
↓ 1 callersMethodpredict_boxes_for_gt_classes
Args: predictions: return values of :meth:`forward()`. proposals (list[Instances]): proposals that match the features
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/fast_rcnn.py:488
↓ 1 callersMethodpredict_proposals
Decode all the predicted box regression deltas to proposals. Find the top proposals by applying NMS and removing boxes that are too s
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/proposal_generator/rpn.py:482
↓ 1 callersMethodprepare_targets
(self, targets, images)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/oneformer_model.py:340
↓ 1 callersMethodprepare_test_img
Get testing data after pipeline. Args: idx (int): Index of data. Returns: dict: Testing data after pipeline
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/custom.py:211
↓ 1 callersMethodprepare_train_img
Get training data and annotations after pipeline. Args: idx (int): Index of data. Returns: dict: Training da
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/custom.py:194
↓ 1 callersFunctionpreprocess
(img, input_size, swap=(2, 0, 1))
ControlNet-v1-1-nightly/annotator/dwpose/onnxdet.py:80
↓ 1 callersFunctionpreprocess
Do preprocessing for RTMPose model inference. Args: img (np.ndarray): Input image in shape. input_size (tuple): Input image size
ControlNet-v1-1-nightly/annotator/dwpose/onnxpose.py:7
↓ 1 callersFunctionpreprocess_for_eval
Preprocesses the given image for evaluation. Args: image_bytes: `Tensor` representing an image binary of arbitrary size. use_bfloat16
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/data/tf_preprocessing.py:163
↓ 1 callersFunctionpreprocess_for_train
Preprocesses the given image for evaluation. Args: image_bytes: `Tensor` representing an image binary of arbitrary size. use_bfloat16
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/data/tf_preprocessing.py:142
↓ 1 callersFunctionpreprocess_image
Preprocesses the given image. Args: image_bytes: `Tensor` representing an image binary of arbitrary size. is_training: `bool` for whe
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/data/tf_preprocessing.py:183
↓ 1 callersMethodpreprocess_image
Normalize, pad and batch the input images.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/dense_detector.py:123
↓ 1 callersFunctionprint_csv_format
Print main metrics in a format similar to Detectron, so that they are easy to copypaste into a spreadsheet. Args: results (Order
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/testing.py:9
↓ 1 callersFunctionprint_instances_class_histogram
Args: dataset_dicts (list[dict]): list of dataset dicts. class_names (list[str]): list of class names (zero-indexed).
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/build.py:164
↓ 1 callersFunctionprint_model_with_flops
Print a model with FLOPs for each layer. Args: model (nn.Module): The model to be printed. total_flops (float): Total FLOPs of th
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:198
↓ 1 callersMethodprocess
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to c
mmpose/mmpose/evaluation/metrics/keypoint_2d_metrics.py:570
↓ 1 callersMethodprocess
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to c
mmpose/mmpose/evaluation/metrics/keypoint_2d_metrics.py:652
↓ 1 callersMethodprocess
Process the pair of inputs and outputs. If they contain batches, the pairs can be consumed one-by-one using `zip`: .. code-b
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/evaluator.py:33
↓ 1 callersMethodprocess
(self, inputs, outputs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/evaluator.py:86
↓ 1 callersMethodprocess
(self, inputs, outputs)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/evaluator.py:90
↓ 1 callersFunctionprocess_checkpoint
(in_file, out_file, save_keys=['meta', 'state_dict'])
mmpose/tools/misc/publish_model.py:27
↓ 1 callersFunctionprocess_extra_field
Process the extra field and update head and neck dictionaries.
mmpose/mmpose/models/utils/check_and_update_config.py:54
↓ 1 callersFunctionprocess_has_final_layer
Process the has_final_layer field and update the head dictionary.
mmpose/mmpose/models/utils/check_and_update_config.py:83
↓ 1 callersFunctionprocess_input_transform
Process the input_transform field and update head and neck dictionaries.
mmpose/mmpose/models/utils/check_and_update_config.py:11
↓ 1 callersMethodproject_joints
Project 3D joint coordinates to 2D image plane using camera intrinsic parameters. Args: x (torch.Tensor[N, K, 3]): 3D joi
mmpose/mmpose/models/losses/regression_loss.py:566
↓ 1 callersMethodpsp_forward
Forward function of PSP module.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/decode_heads/uper_head.py:76
↓ 1 callersMethodpt2np
(self, x)
ControlNet-v1-1-nightly/ldm/data/util.py:11
↓ 1 callersMethodput
Save data to a given ``filepath``. Args: obj (bytes): Data to be saved. filepath (str or Path): Path to write data.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:179
↓ 1 callersFunctionpvt_convert
(ckpt)
mmpose/mmpose/models/utils/ckpt_convert.py:12
↓ 1 callersMethodq_mean_variance
Get the distribution q(x_t | x_0). :param x_start: the [N x C x ...] tensor of noiseless inputs. :param t: the number of diff
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:272
↓ 1 callersMethodq_sample
(self, x_start, t, noise=None)
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/upscaling.py:44
↓ 1 callersFunctionquantize
Quantize an array of (-inf, inf) to [0, levels-1]. Args: arr (ndarray): Input array. min_val (scalar): Minimum value to be clippe
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/arraymisc/quantization.py:5
↓ 1 callersMethodquantize_float
Converts a float to closest non-zero int divisible by divior. Args: number (int): Original number to be quantized. di
mmpose/mmpose/models/backbones/regnet.py:260
↓ 1 callersFunctionquantize_flow
Quantize flow to [0, 255]. After this step, the size of flow will be much smaller, and can be dumped as jpeg images. Args: flow
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/optflow.py:91
↓ 1 callersFunctionquat_to_rotmat
Convert quaternion coefficients to rotation matrix. Args: quat: size = [B, 4] 4 <===>(w, x, y, z) Returns: Rotation matrix cor
mmpose/mmpose/models/utils/geometry.py:43
↓ 1 callersMethodquery
Args: config_path: relative config filename
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/model_zoo/model_zoo.py:99
↓ 1 callersMethodraise_if_nan
(self, losses)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/base_trainer.py:125
↓ 1 callersFunctionrandom_colors
Args: N (int): number of unique colors needed rgb (bool): whether to return RGB colors or BGR colors. maximum (int): eith
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/colormap.py:128
↓ 1 callersFunctionrandom_crop
(lq, hq, sf=4, lq_patchsize=64)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan_light.py:430
↓ 1 callersMethodrandom_crop
(self, img, depth, height, width)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/data/data_mono.py:444
↓ 1 callersMethodrandom_select
Randomly select an img_scale from given candidates. Args: img_scales (list[tuple]): Images scales for selection. Returns
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:68
↓ 1 callersMethodrandom_translate
(self, img, depth, max_t=20)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/data/data_mono.py:456
↓ 1 callersFunctionrasterize_polygons_within_box
Rasterize the polygons into a mask image and crop the mask content in the given box. The cropped mask is resized to (mask_size, mask_size
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/masks.py:39
↓ 1 callersFunctionreadme
()
mmpose/setup.py:16
↓ 1 callersMethodreadyForNextImage
()
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:512
↓ 1 callersFunctionrecurse
(inp)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/utils/config.py:258
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are "none", "mean" and "sum".
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/losses/utils.py:26
↓ 1 callersFunctionreduce_mean
Reduce mean when distributed training.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/decode_heads/ema_head.py:13
↓ 1 callersFunctionreduce_param_groups
(params: List[Dict[str, Any]])
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/build.py:250
↓ 1 callersFunctionrefine_keypoints_dark
Refine keypoint predictions using distribution aware coordinate decoding. See `Dark Pose`_ for details. The operation is in-place. Note:
mmpose/mmpose/codecs/utils/refinement.py:49
↓ 1 callersMethodregister
(self, module)
mmpose/mmpose/utils/hooks.py:13
↓ 1 callersMethodregister
Register the hook function to the module. Args: module (pytorch module): the module to register the hook. Returns:
mmpose/mmpose/models/utils/regularizations.py:32
↓ 1 callersFunctionregister_ade20k_panoptic
Register a "standard" version of ADE20k panoptic segmentation dataset named `name`. The dictionaries in this registered dataset follows detec
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/datasets/register_ade20k_panoptic.py:275
↓ 1 callersFunctionregister_all_ade20k
(root)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/datasets/builtin.py:231
↓ 1 callersFunctionregister_all_ade20k_instance
(root)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/datasets/register_ade20k_instance.py:44
↓ 1 callersFunctionregister_all_ade20k_panoptic
(root)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/datasets/register_ade20k_panoptic.py:374
← previousnext →2,701–2,800 of 7,103, ranked by callers