MCPcopy Create free account

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

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

Methodresults2json
Dump the keypoint detection results into a json file. Args: keypoints (Dict[int, list]): Keypoint detection results
mmpose/mmpose/evaluation/metrics/posetrack18_metric.py:100
Methodresume
Resume model from checkpoint. Args: checkpoint (str): Checkpoint to resume from. resume_optimizer (bool, optional): W
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/iter_based_runner.py:140
Methodresume_or_load
If `resume==True` and `cfg.OUTPUT_DIR` contains the last checkpoint (defined by a `last_checkpoint` file), resume from the file. Resu
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/defaults.py:398
Functionrgb2gray
Convert a RGB image to grayscale image. Args: img (ndarray): The input image. keepdim (bool): If False (by default), then return
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/colorspace.py:39
Functionrgb2ycbcr
Convert a RGB image to YCbCr image. This function produces the same results as Matlab's `rgb2ycbcr` function. It implements the ITU-R BT.601
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/colorspace.py:143
Functionrgb2ycbcr
same as matlab rgb2ycbcr only_y: only return Y channel Input: uint8, [0, 255] float, [0, 1]
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:529
Functionrot6d_to_rotmat
Convert 6D rotation representation to 3x3 rotation matrix. Based on Zhou et al., "On the Continuity of Rotation Representations in Neural Net
mmpose/mmpose/models/utils/geometry.py:6
Functionrotated_boxes_intersection
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:315
Methodrun
Start running. Args: data_loaders (list[:obj:`DataLoader`]): Dataloaders for training and validation.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/epoch_based_runner.py:72
Methodrun
Start running. Args: data_loaders (list[:obj:`DataLoader`]): Dataloaders for training and validation.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/iter_based_runner.py:87
Methodrun
()
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:274
Methodrun
()
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:107
Methodrun_on_image
Args: image (np.ndarray): an image of shape (H, W, C) (in BGR order). This is the format used by OpenCV.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/predictor.py:43
Methodrun_step
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/defaults.py:492
Methodrun_step
Implement the standard training logic described above.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/train_loop.py:272
Methodrun_step
Implement the AMP training logic.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/train_loop.py:428
Methodsafe_update
(cfg, key, value)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/lazy.py:331
Methodsample
Placeholder for sample function.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/core/seg/sampler/base_pixel_sampler.py:11
Methodsample
(self)
ControlNet-v1-1-nightly/ldm/modules/distributions/distributions.py:6
Methodsample
(self)
ControlNet-v1-1-nightly/ldm/modules/distributions/distributions.py:35
Methodsample
(self, S, batch_size, shape, conditioning=None,
ControlNet-v1-1-nightly/ldm/models/diffusion/plms.py:59
Methodsample
(self, S, batch_size, shape, conditioning=None,
ControlNet-v1-1-nightly/ldm/models/diffusion/dpm_solver/sampler.py:27
Functionsave_args
(args, filename)
ControlNet-v1-1-nightly/annotator/normalbae/utils/utils.py:24
Functionsave_checkpoint
Save checkpoint to file. The checkpoint will have 3 fields: ``meta``, ``state_dict`` and ``optimizer``. By default ``meta`` will contain vers
ControlNet-v1-1-nightly/annotator/uniformer/mmcv_custom/checkpoint.py:438
Methodsave_checkpoint
Save the checkpoint. Args: out_dir (str): The directory that checkpoints are saved. filename_tmpl (str, optional): Th
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/epoch_based_runner.py:132
Methodsave_checkpoint
Save checkpoint to file. Args: out_dir (str): Directory to save checkpoint files. filename_tmpl (str, optional): Chec
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/iter_based_runner.py:179
Methodsave_graph
Save the graph as SVG format. Args: output_file (str): a SVG file inputs: optional inputs given to the model
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/api.py:175
Methodsave_protobuf
Save the model as caffe2's protobuf format. It saves the following files: * "model.pb": definition of the graph. Can be
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/api.py:149
Functionsave_raw_16bit
(depth, fpath="raw.png")
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/utils/misc.py:358
Methodscale
Scale the rotated box with horizontal and vertical scaling factors Note: when scale_factor_x != scale_factor_y, the rotated b
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/rotated_boxes.py:393
Functionscale_boxes
Args: boxes (tensor): A tensor of shape (B, 4) representing B boxes with 4 coords representing the corners x0, y0, x1, y1,
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/mask_ops.py:237
Functionscale_module
Scale the parameters of a module and return it.
ControlNet-v1-1-nightly/ldm/modules/diffusionmodules/util.py:186
Methodscheduler
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:362
Methodscope
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/registry.py:175
Functionscripting_with_instances
Run :func:`torch.jit.script` on a model that uses the :class:`Instances` class. Since attributes of :class:`Instances` are "dynamically" adde
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript.py:13
Methodsemantic_inference
(self, mask_cls, mask_pred)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/oneformer_model.py:356
Functionsemnasnet_050
MNASNet A1 (w/ SE), depth multiplier of 0.5
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:740
Functionsemnasnet_075
MNASNet A1 (w/ SE), depth multiplier of 0.75.
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:746
Functionsemnasnet_140
MNASNet A1 (w/ SE), depth multiplier of 1.4.
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:763
MethodsetLocation
(RectF location)
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:139
MethodsetLocation
(RectF location)
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:174
MethodsetResults
(final List<Recognition> results)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/customview/RecognitionScoreView.java:47
MethodsetResults
(final List<Recognition> results)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/customview/ResultsView.java:22
MethodsetUp
(self)
mmpose/tests/test_engine/test_hooks/test_visualization_hook.py:29
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_evaluation/test_metrics/test_keypoint_partition_metric.py:19
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_evaluation/test_metrics/test_keypoint_partition_metric.py:277
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_evaluation/test_metrics/test_keypoint_partition_metric.py:378
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_evaluation/test_metrics/test_keypoint_partition_metric.py:454
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_evaluation/test_metrics/test_coco_metric.py:18
MethodsetUp
Setup variables used in every test method.
mmpose/tests/test_evaluation/test_metrics/test_keypoint_3d_metrics.py:13
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_evaluation/test_metrics/test_coco_wholebody_metric.py:18
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_evaluation/test_metrics/test_keypoint_2d_metrics.py:14
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_evaluation/test_metrics/test_keypoint_2d_metrics.py:85
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_evaluation/test_metrics/test_keypoint_2d_metrics.py:148
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_evaluation/test_metrics/test_keypoint_2d_metrics.py:226
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_evaluation/test_metrics/test_posetrack18_metric.py:16
MethodsetUp
(self)
mmpose/tests/test_models/test_pose_estimators/test_bottomup.py:21
MethodsetUp
(self)
mmpose/tests/test_models/test_pose_estimators/test_topdown.py:26
MethodsetUp
(self)
mmpose/tests/test_codecs/test_integral_regression_label.py:13
MethodsetUp
(self)
mmpose/tests/test_codecs/test_video_pose_lifting.py:26
MethodsetUp
(self)
mmpose/tests/test_codecs/test_udp_heatmap.py:12
MethodsetUp
(self)
mmpose/tests/test_codecs/test_associative_embedding.py:16
MethodsetUp
(self)
mmpose/tests/test_codecs/test_msra_heatmap.py:12
MethodsetUp
(self)
mmpose/tests/test_codecs/test_regression_label.py:13
MethodsetUp
(self)
mmpose/tests/test_codecs/test_image_pose_lifting.py:12
MethodsetUp
(self)
mmpose/tests/test_codecs/test_spr.py:14
MethodsetUp
(self)
mmpose/tests/test_codecs/test_decoupled_heatmap.py:13
MethodsetUp
(self)
mmpose/tests/test_codecs/test_megvii_heatmap.py:12
MethodsetUp
(self)
mmpose/tests/test_codecs/test_simcc_label.py:13
MethodsetUp
(self)
mmpose/tests/test_apis/test_inference.py:21
MethodsetUp
(self)
mmpose/tests/test_visualization/test_pose_visualizer.py:16
MethodsetUp
(self)
mmpose/tests/test_visualization/test_fast_visualizer.py:11
MethodsetUp
(self)
mmpose/tests/test_datasets/test_transforms/test_topdown_transforms.py:11
MethodsetUp
(self)
mmpose/tests/test_datasets/test_transforms/test_pose3d_transforms.py:82
MethodsetUp
(self)
mmpose/tests/test_datasets/test_transforms/test_common_transforms.py:21
MethodsetUp
(self)
mmpose/tests/test_datasets/test_transforms/test_common_transforms.py:61
MethodsetUp
(self)
mmpose/tests/test_datasets/test_transforms/test_common_transforms.py:176
MethodsetUp
(self)
mmpose/tests/test_datasets/test_transforms/test_common_transforms.py:276
MethodsetUp
Setup the valiables which are used in each test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown()
mmpose/tests/test_datasets/test_transforms/test_common_transforms.py:398
MethodsetUp
Setup the valiables which are used in each test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown()
mmpose/tests/test_datasets/test_transforms/test_common_transforms.py:432
MethodsetUp
(self)
mmpose/tests/test_datasets/test_transforms/test_common_transforms.py:460
MethodsetUp
(self)
mmpose/tests/test_datasets/test_transforms/test_bottomup_transforms.py:16
MethodsetUp
(self)
mmpose/tests/test_datasets/test_transforms/test_bottomup_transforms.py:42
MethodsetUp
(self)
mmpose/tests/test_datasets/test_transforms/test_bottomup_transforms.py:100
MethodsetUp
Setup some variables which are used in every test method. TestCase calls functions in this order: setUp() -> testMethod() -> tearDown
mmpose/tests/test_datasets/test_transforms/test_formatting.py:15
MethodsetUp
(self)
mmpose/tests/test_datasets/test_transforms/test_converting.py:10
Functionset_default
Set default json values for non-serializable values. It helps convert ``set``, ``range`` and ``np.ndarray`` data types to list. It also conve
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/handlers/json_handler.py:9
Functionset_default_dataset_from_list_serialize_method
Context manager for using custom serialize function when creating DatasetFromList
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/common.py:163
Functionset_global_cfg
Let the global config point to the given cfg. Assume that the given "cfg" has the key "KEY", after calling `set_global_cfg(cfg)`, the ke
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/config.py:111
Functionset_random_seed
Set random seed. Args: seed (int): Seed to be used. deterministic (bool): Whether to set the deterministic option for
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/apis/train.py:14
Functionset_random_seed
Set random seed. Args: seed (int): Seed to be used. deterministic (bool): Whether to set the deterministic option for
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/utils.py:70
Functionsetup
(app)
mmpose/docs/zh_cn/conf.py:107
Functionsetup_multi_processes
Setup multi-processing environment variables.
mmpose/mmpose/utils/setup_env.py:12
Functionsetup_wandb
(cfg, args)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/events.py:7
Functionshared_random_seed
Returns: int: a random number that is the same across all workers. If workers need a shared RNG, they can use this shared seed to
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/comm.py:195
Methodshared_step
(self, batch, **kwargs)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:834
Functionshave
(img_in, border=0)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/utils_image.py:510
Methodshow
* @brief Display network input and output parameters */
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/rtmdet.cpp:59
Methodshow
* @brief Display network input and output parameters */
mmpose/projects/rtmpose/examples/RTMPose-Deploy/Windows/TensorRT/src/RTMPoseTensorRT/rtmpose.cpp:60
MethodshowResultsInBottomSheet
(List<Recognition> results)
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:587
← previousnext →6,301–6,400 of 7,103, ranked by callers