MCPcopy Create free account

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

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

Methodprepare_data
(self, idx)
mmpose/projects/yolox_pose/datasets/coco_dataset.py:14
Functionprepare_fpn
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript_patch.py:365
Functionprepare_resnet
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript_patch.py:356
Methodpreprocess
(self, data)
mmpose/tools/torchserve/mmpose_handler.py:36
Methodpreprocess
Process the inputs into a model-feedable format. Args: inputs (InputsType): Inputs given by user. batch_size (int): b
mmpose/mmpose/apis/inferencers/base_mmpose_inferencer.py:237
Methodpreprocess
* @brief Network preprocessing function * @param image Input image * @return Processed Tensor */
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/rtmdet.cpp:88
Methodpreprocess
* @brief Network preprocessing function * @param image Input image * @return Processed Tensor */
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/rtmpose.cpp:89
Methodpreprocess_single
Process a single input into a model-feedable format. Args: input (InputType): Input given by user. index (int): index
mmpose/mmpose/apis/inferencers/pose2d_inferencer.py:157
Methodpretty_text
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/config.py:407
Functionprintc
(text, color)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/utils/misc.py:337
Methodprior
The prior distribution.
mmpose/mmpose/models/utils/realnvp.py:35
Functionprocess
(det, input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, detect_resolution, ddim_steps, s
ControlNet-v1-1-nightly/gradio_lineart_anime.py:33
Functionprocess
(det, input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, strength, scale, see
ControlNet-v1-1-nightly/gradio_shuffle.py:28
Functionprocess
(input_image_and_mask, prompt, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, guess_mode, stre
ControlNet-v1-1-nightly/gradio_inpaint.py:25
Functionprocess
(input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, guess_mode, strength, sca
ControlNet-v1-1-nightly/gradio_ip2p.py:25
Functionprocess
(input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, guess_mode, strength, sca
ControlNet-v1-1-nightly/gradio_tile.py:25
Functionprocess
(det, input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, detect_resolution, ddim_steps, g
ControlNet-v1-1-nightly/gradio_normalbae.py:28
Functionprocess
(det, input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, detect_resolution, ddim_steps, g
ControlNet-v1-1-nightly/gradio_softedge.py:29
Functionprocess
(det, input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, detect_resolution, ddim_steps, g
ControlNet-v1-1-nightly/gradio_mlsd.py:28
Functionprocess
(det, input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, detect_resolution, ddim_steps, g
ControlNet-v1-1-nightly/gradio_depth.py:29
Functionprocess
(det, input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, detect_resolution, ddim_steps, g
ControlNet-v1-1-nightly/gradio_lineart.py:28
Functionprocess
(det, input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, detect_resolution, ddim_steps, g
ControlNet-v1-1-nightly/gradio_canny.py:28
Functionprocess
(det, pose, input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, detect_resolution, ddim_st
ControlNet-v1-1-nightly/gradio_dw_open_pose.py:30
Functionprocess
(input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, guess_mode, strength, sca
ControlNet-v1-1-nightly/gradio_scribble_interactive.py:26
Functionprocess
(det, input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, detect_resolution, ddim_steps, g
ControlNet-v1-1-nightly/gradio_scribble.py:30
Functionprocess
(det, input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, detect_resolution, ddim_steps, g
ControlNet-v1-1-nightly/gradio_seg.py:29
Methodprocess
(self, inputs, outputs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/cityscapes_evaluation.py:60
Methodprocess
(self, inputs, outputs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/cityscapes_evaluation.py:142
Methodprocess
(self, inputs, outputs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/pascal_voc_evaluation.py:54
Methodprocess
Args: inputs: the inputs to a COCO model (e.g., GeneralizedRCNN). It is a list of dict. Each dict corresponds to
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/coco_evaluation.py:157
Methodprocess
Args: inputs: the inputs to a LVIS model (e.g., GeneralizedRCNN). It is a list of dict. Each dict corresponds to
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/lvis_evaluation.py:80
Methodprocess
Args: inputs: the inputs to a COCO model (e.g., GeneralizedRCNN). It is a list of dict. Each dict corresponds to
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/rotated_coco_evaluation.py:104
Methodprocess
Args: inputs: the inputs to a model. It is a list of dicts. Each dict corresponds to an image and
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/sem_seg_evaluation.py:120
Methodprocess
(self, inputs, outputs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/panoptic_evaluation.py:68
Methodprocess
(self, inputs, outputs)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/cityscapes_evaluation.py:64
Methodprocess
(self, inputs, outputs)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/cityscapes_evaluation.py:146
Methodprocess
Args: inputs: the inputs to a COCO model (e.g., GeneralizedRCNN). It is a list of dict. Each dict corresponds to
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/detection_coco_evaluator.py:161
Methodprocess
Args: inputs: the inputs to a COCO model (e.g., GeneralizedRCNN). It is a list of dict. Each dict corresponds to
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/coco_evaluator.py:161
MethodprocessImage
()
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/ClassifierActivity.java:100
Methodprocess_polygons
( polygons_per_instance: List[Union[torch.Tensor, np.ndarray]] )
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/masks.py:294
Methodproject_
Geometrically transform bounding boxes and keypoints in-place using a homography matrix. Args: homography_matrix (Tensor
mmpose/projects/yolox_pose/datasets/bbox_keypoint_structure.py:147
Methodput
Write data to a given ``filepath`` with 'wb' mode. Note: ``put`` will create a directory if the directory of ``filepath``
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:538
Methodput_histogram
Create a histogram from a tensor. Args: hist_name (str): The name of the histogram to put into tensorboard.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:376
Methodput_text
Save data to a given ``filepath``. Args: obj (str): Data to be written. filepath (str or Path): Path to write data.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:190
Methodput_text
Write data to a given ``filepath`` with 'w' mode. Note: ``put_text`` will create a directory if the directory of ``fi
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:553
Functionrandom_boxes
Create a random Nx4 boxes tensor, with coordinates < max_coord.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:42
Functionrandom_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/oneformer/demo/colormap.py:141
Methodrank
int: Rank of current process. (distributed training)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_runner.py:144
Functionread_image
Read image and output RGB image (0-1). Args: path (str): path to file Returns: array: RGB image (0-1)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/utils.py:98
Functionread_image
Read image and output RGB image (0-1). Args: path (str): path to file Returns: array: RGB image (0-1)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/utils.py:43
Functionread_image
Read image and output RGB image (0-1). Args: path (str): path to file Returns: array: RGB image (0-1)
ControlNet-v1-1-nightly/annotator/midas/utils.py:97
Functionread_image
Read image and output RGB image (0-1). Args: path (str): path to file Returns: array: RGB image (0-1)
ControlNet-v1-1-nightly/ldm/modules/midas/utils.py:97
Functionread_img
(path)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:220
Functionread_pfm
Read pfm file. Args: path (str): path to file Returns: tuple: (data, scale)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/utils.py:10
Functionread_pfm
Read pfm file. Args: path (str): path to file Returns: tuple: (data, scale)
ControlNet-v1-1-nightly/annotator/midas/utils.py:9
Functionread_pfm
Read pfm file. Args: path (str): path to file Returns: tuple: (data, scale)
ControlNet-v1-1-nightly/ldm/modules/midas/utils.py:9
MethodrecognizeImage
Runs inference and returns the classification results.
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:190
Functionreduce_dict
Reduce the values in the dictionary from all processes so that process with rank 0 has the reduced results. Args: input_dict (di
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/comm.py:209
Methodregister_backend
Register a backend to FileClient. This method can be used as a normal class method or a decorator. .. code-block:: python
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:922
Functionregister_custom_op_onnx_export
Register `symbolic_fn` as PyTorch's symbolic `opname`-`opset_version` for ONNX export. The registration is performed only when current PyTorc
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:194
Functionregister_handler
(file_formats, **kwargs)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/io.py:145
Methodregister_profiler_hook
(self, profiler_config)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/base_runner.py:493
Methodregister_schedule
(self, given_betas=None, beta_schedule="linear", timesteps=1000,
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:606
Methodregister_scheme
Register a loader to CheckpointLoader. This method can be used as a normal class method or a decorator. Args: prefixes (
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/checkpoint.py:185
Methodregister_training_hooks
Register default hooks for iter-based training. Checkpoint hook, optimizer stepper hook and logger hooks will be set to `by_epoch=Fal
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/iter_based_runner.py:224
Functionreload_lazy_config
Save an object by LazyConfig.save and load it back. This is used to test that a config still works the same after serialization/deseriali
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:153
Functionreload_script_model
Save a jit module and load it back. Similar to the `getExportImportCopy` function in torch/testing/
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:142
Functionrelu_flops_counter_hook
(module, input, output)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:413
Methodremove
Remove a file. Args: filepath (str or Path): Path to be removed.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:204
Methodremove
Remove a file. Args: filepath (str or Path): Path to be removed.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/file_client.py:573
Methodremove
Alias of ``pop``.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/catalog.py:218
Functionremove_flops_counter_hook_function
(module)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:546
Methodreport_strings
Report timing information in texture strings. Returns: list(str): Each element is the information string of a timed \
mmpose/mmpose/utils/timer.py:99
Functionrequires_executable
A decorator to check if some executable files are installed. Example: >>> @requires_executable('ffmpeg') >>> func(arg1, args):
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/misc.py:276
Functionrequires_package
A decorator to check if some python packages are installed. Example: >>> @requires_package('numpy') >>> func(arg1, args):
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/misc.py:260
Methodrescale_
Rescale boxes & keypoints w.r.t. rescale_factor in-place. Note: Both ``rescale_`` and ``resize_`` will enlarge or shrink boxes
mmpose/projects/yolox_pose/datasets/bbox_keypoint_structure.py:109
Methodreset
(self)
mmpose/mmpose/utils/timer.py:115
Methodreset
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/cityscapes_evaluation.py:34
Methodreset
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/pascal_voc_evaluation.py:51
Methodreset
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/coco_evaluation.py:154
Methodreset
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/lvis_evaluation.py:77
Methodreset
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/sem_seg_evaluation.py:113
Methodreset
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/panoptic_evaluation.py:50
Methodreset
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/cityscapes_evaluation.py:38
Methodreset
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/detection_coco_evaluator.py:158
Methodreset
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/coco_evaluator.py:158
Methodreset_classifier
(self, num_classes, global_pool='')
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/uniformer.py:379
Methodreset_data_loader
Delete and replace the current data loader with a new one, which will be created by calling `data_loader_builder` (without argument).
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/train_loop.py:319
Functionreset_flops_count
Reset statistics computed so far. A method to Reset computed statistics, which will be available after `add_flops_counting_methods()` is call
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:389
Functionresize
(input, size=None, scale_factor=None, mode='nearest', align_corner
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/misc.py:79
Functionresize_depth
Resize depth map and bring to CPU (numpy). Args: depth (tensor): depth width (int): image width height (int): image heigh
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/utils.py:147
Functionresize_depth
Resize depth map and bring to CPU (numpy). Args: depth (tensor): depth width (int): image width height (int): image heigh
ControlNet-v1-1-nightly/annotator/midas/utils.py:146
Functionresize_depth
Resize depth map and bring to CPU (numpy). Args: depth (tensor): depth width (int): image width height (int): image heigh
ControlNet-v1-1-nightly/ldm/modules/midas/utils.py:146
Functionresize_image
Resize image and make it fit for network. Args: img (array): image Returns: tensor: data ready for network
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/utils.py:117
Functionresize_image
Resize image and make it fit for network. Args: img (array): image Returns: tensor: data ready for network
ControlNet-v1-1-nightly/annotator/midas/utils.py:116
Functionresize_image
Resize image and make it fit for network. Args: img (array): image Returns: tensor: data ready for network
ControlNet-v1-1-nightly/ldm/modules/midas/utils.py:116
Methodresize_to_target
(self, prediction, target)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/trainers/base_trainer.py:64
Functionresize_video
Resize a video. Args: in_file (str): Input video filename. out_file (str): Output video filename. size (tuple): Expected
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/processing.py:55
Methodresolution
tuple: Video resolution (width, height).
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/video/io.py:100
Methodresults2json
Dump the keypoint detection results to a COCO style json file. Args: keypoints (Dict[int, list]): Keypoint detection results
mmpose/mmpose/evaluation/metrics/coco_wholebody_metric.py:176
← previousnext →6,201–6,300 of 7,103, ranked by callers