MCPcopy Create free account

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

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

↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:321
↓ 1 callersMethod_pad_seg
Pad masks according to ``results['pad_shape']``.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:334
↓ 1 callersFunction_parse_h36m_imgname
Parse imgname to get information of subject, action and camera. A typical h36m image filename is like: S1_Directions_1.54138969_00000
mmpose/tests/test_datasets/test_transforms/test_pose3d_transforms.py:14
↓ 1 callersMethod_parse_int_float_bool
(val)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/config.py:607
↓ 1 callersMethod_parse_iterable
Parse iterable values in the string. All elements inside '()' or '[]' are treated as iterable values. Args: val (str): V
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/config.py:621
↓ 1 callersFunction_parse_losses
(losses: Dict[str, Tensor])
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/mmdet_wrapper.py:258
↓ 1 callersMethod_parse_losses
Parse the raw outputs (losses) of the network. Args: losses (dict): Raw output of the network, which usually contain
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/segmentors/base.py:173
↓ 1 callersFunction_parse_model_doc_path
Parse doc file path. Typical path would be like: configs/<task>/<algorithm>/<dataset>/<setting>.md An example is: "configs
mmpose/docs/zh_cn/collect_modelzoo.py:26
↓ 1 callersFunction_parse_model_doc_path
Parse doc file path. Typical path would be like: configs/<task>/<algorithm>/<dataset>/<setting>.md An example is: "configs
mmpose/docs/en/collect_modelzoo.py:26
↓ 1 callersFunction_parse_paper_ref
Get paper name and indicator pattern from a paper reference file. Returns: tuple: - paper_name (str) - paper_indicator (s
mmpose/docs/zh_cn/collect_modelzoo.py:84
↓ 1 callersFunction_parse_paper_ref
Get paper name and indicator pattern from a paper reference file. Returns: tuple: - paper_name (str) - paper_indicator (s
mmpose/docs/en/collect_modelzoo.py:84
↓ 1 callersFunction_parse_project_doc_path
Get project name and banner from a project reference file. Returns: tuple: - project_name (str) - project_banner (str)
mmpose/docs/zh_cn/collect_projects.py:25
↓ 1 callersFunction_parse_project_doc_path
Get project name and banner from a project reference file. Returns: tuple: - project_name (str) - project_banner (str)
mmpose/docs/en/collect_projects.py:25
↓ 1 callersFunction_patch_import
Enhance relative import statements in config files, so that they: 1. locate files purely based on relative location, regardless of packages.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/lazy.py:102
↓ 1 callersFunction_pil_interp
(method)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/data/transforms.py:104
↓ 1 callersMethod_pos_embeding
Positiong embeding method. Resize the pos_embed, if the input image size doesn't match the training size. Args:
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/vit.py:359
↓ 1 callersMethod_pre_substitute_base_vars
Substitute base variable placehoders to string, so that parsing would work.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/config.py:128
↓ 1 callersMethod_process_matched_idx
( self, instances: Instances, matched_idx: np.ndarray, matched_prev_idx: np.ndarray )
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/hungarian_tracker.py:97
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/checkpoint.py:151
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv_custom/checkpoint.py:214
↓ 1 callersMethod_process_unmatched_idx
(self, instances: Instances, matched_idx: np.ndarray)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/hungarian_tracker.py:109
↓ 1 callersMethod_process_unmatched_prev_idx
( self, instances: Instances, matched_prev_idx: np.ndarray )
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/hungarian_tracker.py:118
↓ 1 callersFunction_rand_poses
(num_boxes, h, w)
mmpose/tests/test_engine/test_hooks/test_visualization_hook.py:16
↓ 1 callersMethod_random_flags
Generate the random flags for subsequent transforms. Returns: Sequence[Number]: a sequence of numbers that indicate whether to
mmpose/mmpose/datasets/transforms/common_transforms.py:744
↓ 1 callersMethod_random_scale
Randomly sample an img_scale according to ``ratio_range`` and ``multiscale_mode``. If ``ratio_range`` is specified, a ratio will be s
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:139
↓ 1 callersMethod_random_select_half_body
Randomly determine whether applying half-body transform and get the half-body keyponit indices of each instances. Args: k
mmpose/mmpose/datasets/transforms/common_transforms.py:334
↓ 1 callersMethod_reduce_pred_masks
(self, outputs, tfms)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/test_time_augmentation.py:298
↓ 1 callersFunction_register_handler
Register a handler for some file extensions. Args: handler (:obj:`BaseFileHandler`): Handler to be registered. file_formats (str
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/fileio/io.py:126
↓ 1 callersMethod_rescale
(self, inputs: Sequence[Tensor])
mmpose/mmpose/models/necks/fmap_proc_neck.py:92
↓ 1 callersMethod_rescale_detected_boxes
(self, augmented_inputs, merged_instances, tfms)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/test_time_augmentation.py:282
↓ 1 callersFunction_rescore
Rescoring mechanism gaussian or linear. Args: overlap (np.ndarray): The calculated oks ious. scores (np.ndarray): target scores.
mmpose/mmpose/evaluation/functional/nms.py:164
↓ 1 callersMethod_reset_fields
Before each uodate call, reset fields first
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/bbox_iou_tracker.py:174
↓ 1 callersMethod_reset_parameters
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/transformer.py:59
↓ 1 callersMethod_reset_parameters
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:51
↓ 1 callersMethod_reset_parameters
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:109
↓ 1 callersMethod_reset_parameters
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:174
↓ 1 callersMethod_reset_parameters
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/fpn.py:186
↓ 1 callersMethod_reset_parameters
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/msdeformattn.py:43
↓ 1 callersMethod_reset_parameters
(self)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/ops/modules/ms_deform_attn.py:66
↓ 1 callersMethod_resize_img
Resize images with ``results['scale']``.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:177
↓ 1 callersMethod_resize_seg
Resize semantic segmentation map with ``results['scale']``.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:199
↓ 1 callersFunction_rotate_point
Rotate a point by an angle. Args: pt (np.ndarray): 2D point coordinates (x, y) in shape (2, ) angle_rad (float): rotation angle i
mmpose/mmpose/structures/bbox/transforms.py:329
↓ 1 callersFunction_rotate_point
Rotate a point by an angle. Args: pt (np.ndarray): 2D point coordinates (x, y) in shape (2, ) angle_rad (float): rotation angle i
mmpose/projects/rtmpose/examples/onnxruntime/main.py:248
↓ 1 callersFunction_rotate_point
Rotate a point by an angle. Args: pt (np.ndarray): 2D point coordinates (x, y) in shape (2, ) angle_rad (float): rotation angle i
ControlNet-v1-1-nightly/annotator/dwpose/onnxpose.py:167
↓ 1 callersMethod_round_float
(self, items)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/text.py:196
↓ 1 callersMethod_run_stage
Args: features (list[Tensor]): #lvl input features to ROIHeads proposals (list[Instances]): #image Instances, with th
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/cascade_rcnn.py:258
↓ 1 callersFunction_same_pad_arg
(input_size, kernel_size, stride, dilation)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/conv2d_layers.py:50
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/checkpoint.py:570
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
ControlNet-v1-1-nightly/annotator/uniformer/mmcv_custom/checkpoint.py:374
↓ 1 callersFunction_scandir
(dir_path, suffix, recursive, case_sensitive)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/path.py:68
↓ 1 callersMethod_segs_to_mask
Calculate mask from object segmentations. Args: segs (List): The object segmentation annotations in COCO format img_s
mmpose/mmpose/datasets/transforms/bottomup_transforms.py:34
↓ 1 callersFunction_set
(key_seq: List[str], val: str)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/compat.py:120
↓ 1 callersMethod_set_aux_loss
(self, outputs_class, outputs_seg_masks)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:516
↓ 1 callersMethod_setup_figure
Args: Same as in :meth:`__init__()`. Returns: fig (matplotlib.pyplot.figure): top level container for all th
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:269
↓ 1 callersMethod_setup_figure
Args: Same as in :meth:`__init__()`. Returns: fig (matplotlib.pyplot.figure): top level container for all the
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:281
↓ 1 callersFunction_shard_iterator_dataloader_worker
(iterable)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/common.py:21
↓ 1 callersMethod_sort_and_unique_bboxes
Sort keypoint detection results in each image and remove the duplicate ones. Usually performed in multi-batch testing. Args:
mmpose/mmpose/evaluation/metrics/coco_metric.py:521
↓ 1 callersMethod_split
(values, sizes)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/flatten.py:54
↓ 1 callersFunction_submodule_name
(key)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/checkpoint/c2_model_loading.py:349
↓ 1 callersMethod_substitute_base_vars
Substitute variable strings to their actual values.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/config.py:147
↓ 1 callersMethod_substitute_predefined_vars
(filename, temp_config_name)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/config.py:107
↓ 1 callersMethod_tasks_from_predictions
Get COCO API "tasks" (i.e. iou_type) from COCO-format predictions.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/coco_evaluation.py:210
↓ 1 callersMethod_tasks_from_predictions
(self, predictions)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/lvis_evaluation.py:128
↓ 1 callersMethod_tasks_from_predictions
Get COCO API "tasks" (i.e. iou_type) from COCO-format predictions.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/detection_coco_evaluator.py:214
↓ 1 callersMethod_test_custom_arch
(self, arch_name, arch, out_channels)
mmpose/tests/test_models/test_backbones/test_regnet.py:72
↓ 1 callersMethod_test_regnet_backbone
(self, arch_name, arch, out_channels)
mmpose/tests/test_models/test_backbones/test_regnet.py:38
↓ 1 callersMethod_torch_load
(self, f)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/checkpoint/detection_checkpoint.py:115
↓ 1 callersMethod_transform_annotations
(self, dataset_dict, transforms, image_shape)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/dataset_mapper.py:115
↓ 1 callersMethod_transform_annotations
(self, dataset_dict, transforms, image_shape)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/dataset_mappers/dataset_mapper.py:124
↓ 1 callersMethod_turn_off_roi_heads
Open a context where some heads in `model.roi_heads` are temporarily turned off. Args: attr (list[str]): the attribute in
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/test_time_augmentation.py:137
↓ 1 callersFunction_unregister_custom_op_symbolic
(symbolic_name, opset_version)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:222
↓ 1 callersFunction_unregister_op
(opname: str, domain: str, version: int)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/testing.py:248
↓ 1 callersMethod_validate_cfg
(self)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/optimizer/default_constructor.py:105
↓ 1 callersMethod_validate_py_syntax
(filename)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/config.py:96
↓ 1 callersFunction_visit_dict_config
Apply func recursively to all DictConfig in cfg.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/lazy.py:60
↓ 1 callersFunction_wrapper_count_operators
( model: nn.Module, inputs: list, mode: str, **kwargs )
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/analysis.py:128
↓ 1 callersFunctionabs_img_point_to_rel_img_point
Convert image based absolute point coordinates to image based relative coordinates for sampling. Args: abs_img_points (Tensor): Image
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/ops/point_sample.py:186
↓ 1 callersFunctionaccuracy
Computes the precision@k for the specified values of k
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/utils.py:22
↓ 1 callersFunctionaccuracy_np
(output, target)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/onnx_validate.py:104
↓ 1 callersFunctionaccuracy_np
(output, target)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/caffe2_validate.py:130
↓ 1 callersMethodadd_1d_heatmaps
Paste one-dimensional heatmaps onto the background in turn.
mmpose/mmpose/visualization/simcc_vis.py:108
↓ 1 callersFunctionadd_args
(parser, cfg, prefix='')
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/config.py:51
↓ 1 callersFunctionadd_batch_counter_hook_function
(module)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:516
↓ 1 callersFunctionadd_batch_counter_variables_or_reset
(module)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:511
↓ 1 callersFunctionadd_common_config
Add config for common configuration
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/config.py:8
↓ 1 callersFunctionadd_deeplab_config
Add config for DeepLab.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/projects/deeplab/config.py:5
↓ 1 callersFunctionadd_dinat_config
Add config for NAT Backbone.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/config.py:177
↓ 1 callersMethodadd_edge
(self, u, v)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:794
↓ 1 callersFunctionadd_flops_counting_methods
(net_main_module)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:320
↓ 1 callersFunctionadd_ground_truth_to_proposals_single_image
Augment `proposals` with `gt`. Args: Same as `add_ground_truth_to_proposals`, but with gt and proposals per image. Retu
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/proposal_generator/proposal_utils.py:167
↓ 1 callersFunctionadd_mim_extension
Add extra files that are required to support MIM into the package. These files will be added by creating a symlink to the originals if the pa
mmpose/setup.py:125
↓ 1 callersFunctionadd_oneformer_config
Add config for ONE_FORMER.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/config.py:99
↓ 1 callersMethodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with s
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/optimizer/default_constructor.py:137
↓ 1 callersFunctionadd_plot_parser
(subparsers)
mmpose/tools/analysis_tools/analyze_logs.py:76
↓ 1 callersMethodadd_pred_to_datasample
Add predictions into data samples. Args: batch_pred_instances (List[InstanceData]): The predicted instances of th
mmpose/mmpose/models/pose_estimators/bottomup.py:140
↓ 1 callersMethodadd_pred_to_datasample
Add predictions into data samples. Args: batch_pred_instances (List[InstanceData]): The predicted instances of th
mmpose/mmpose/models/pose_estimators/topdown.py:122
↓ 1 callersFunctionadd_sharpening
USM sharpening. borrowed from real-ESRGAN Input image: I; Blurry image: B. 1. K = I + weight * (I - B) 2. Mask = 1 if abs(I - B) > thresho
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan.py:299
↓ 1 callersFunctionadd_swin_config
Add config forSWIN Backbone.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/config.py:150
↓ 1 callersFunctionadd_time_parser
(subparsers)
mmpose/tools/analysis_tools/analyze_logs.py:104
↓ 1 callersFunctionadjust_block_compatibility
Adjusts the compatibility of widths, bottlenecks, and groups.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:356
← previousnext →1,801–1,900 of 7,103, ranked by callers