MCPcopy Create free account

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

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

↓ 7 callersMethodsample
(self)
ControlNet-v1-1-nightly/ldm/modules/distributions/distributions.py:17
↓ 7 callersMethodscatter
(self, inputs, kwargs, device_ids)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/parallel/data_parallel.py:44
↓ 7 callersFunctionsplit_instances
Convert instances into a list where each element is a dict that contains information about one instance.
mmpose/mmpose/structures/utils.py:118
↓ 7 callersMethodstart
Start the timer.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/timer.py:57
↓ 7 callersMethodtoString
()
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:178
↓ 7 callersMethodtrain
(self, mode=True)
mmpose/mmpose/models/backbones/vipnas_mbv3.py:167
↓ 6 callersMethod__init__
(self, in_channels, out_channels, num_steps=4,
mmpose/mmpose/models/backbones/rsn.py:37
↓ 6 callersMethod__init__
(self, unit_channels=256, num_stages=4, num_units=4,
mmpose/mmpose/models/backbones/mspn.py:450
↓ 6 callersMethod__init__
(self, in_c1, in_c2, out_c1, out_c2, upscale = True)
ControlNet-v1-1-nightly/annotator/mlsd/models/mbv2_mlsd_tiny.py:10
↓ 6 callersMethod__init__
(self, in_c1, in_c2, out_c1, out_c2, upscale = True)
ControlNet-v1-1-nightly/annotator/mlsd/models/mbv2_mlsd_large.py:10
↓ 6 callersMethod__init__
(self, channels)
ControlNet-v1-1-nightly/annotator/pidinet/model.py:358
↓ 6 callersMethod__init__
( self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.0 )
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/swin.py:29
↓ 6 callersMethod__init__
(self, dim_in, dim_out)
ControlNet-v1-1-nightly/ldm/modules/attention.py:50
↓ 6 callersMethod_change_color_brightness
Depending on the brightness_factor, gives a lighter or darker color i.e. a color with less or more saturation than the original color
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:1266
↓ 6 callersFunction_gen_efficientnet_condconv
Creates an efficientnet-condconv model.
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:573
↓ 6 callersFunction_gen_efficientnet_edge
(variant, channel_multiplier=1.0, depth_multiplier=1.0, pretrained=False, **kwargs)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:548
↓ 6 callersFunction_gen_mixnet_m
Creates a MixNet Medium-Large model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/mnasnet/mixnet Paper: https://ar
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:676
↓ 6 callersFunction_get_bases_name
(m)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/weight_init.py:128
↓ 6 callersMethod_get_denoise_row_from_list
(self, samples, desc='', force_no_decoder_quantization=False)
ControlNet-v1-1-nightly/ldm/models/diffusion/ddpm.py:643
↓ 6 callersFunctionadd_JPEG_noise
(img)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan.py:418
↓ 6 callersFunctionadd_blur
(img, sf=4)
ControlNet-v1-1-nightly/ldm/modules/image_degradation/bsrgan.py:325
↓ 6 callersMethodattention
(self, x: torch.Tensor, key_padding_mask: torch.Tensor)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/text_transformer.py:171
↓ 6 callersMethodbuild
(midas_model_type="DPT_BEiT_L_384", train_midas=False, use_pretrained_midas=True, fetch_features=False, freeze
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas.py:334
↓ 6 callersFunctioncheck_and_update_config
Check and update the configuration of the head and neck components. Args: neck (Optional[ConfigType]): Configuration for the neck componen
mmpose/mmpose/models/utils/check_and_update_config.py:94
↓ 6 callersMethodclip_grads
(self, params)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/optimizer.py:27
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/data/transforms.py:202
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas.py:101
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/transforms.py:94
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/transforms.py:94
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
ControlNet-v1-1-nightly/annotator/midas/midas/transforms.py:94
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
ControlNet-v1-1-nightly/ldm/modules/midas/midas/transforms.py:94
↓ 6 callersFunctionconvert_color_factory
(src, dst)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/image/colorspace.py:275
↓ 6 callersMethodcreate
Creates a classifier with the provided configuration. @param activity The current Activity. @param model The model to use for classification. @param
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:116
↓ 6 callersFunctiondefault
(val, d)
ControlNet-v1-1-nightly/ldm/modules/attention.py:31
↓ 6 callersFunctiondetector_postprocess
Resize the output instances. The input images are often resized when entering an object detector. As a result, we often need the outputs
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/postprocessing.py:9
↓ 6 callersMethodencode
Encode keypoints into heatmaps. Args: keypoints (np.ndarray): Keypoint coordinates in shape (N, K, D) keypoints_visib
mmpose/mmpose/codecs/decoupled_heatmap.py:133
↓ 6 callersMethodencode
Encode keypoints into heatmaps and position indices. Note that the original keypoint coordinates should be in the input image space.
mmpose/mmpose/codecs/associative_embedding.py:240
↓ 6 callersFunctionformat_param
(name, optim, param)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:659
↓ 6 callersMethodforward
(self, x)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/wrappers.py:44
↓ 6 callersMethodforward_plugin
Forward function for plugins.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/resnet.py:242
↓ 6 callersFunctiongenerate_gaussian_heatmaps
Generate gaussian heatmaps of keypoints. Args: heatmap_size (Tuple[int, int]): Heatmap size in [W, H] keypoints (np.ndarray): Key
mmpose/mmpose/codecs/utils/gaussian_heatmap.py:8
↓ 6 callersMethodget
(name)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/checkpoint/catalog.py:58
↓ 6 callersFunctionget_activation
(name, bank)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/models/base_models/midas.py:45
↓ 6 callersMethodget_fields
like `get_fields` in the Instances object, but return each field in tensor representations
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/c10.py:59
↓ 6 callersMethodget_loggable_tags
(self, runner, allow_scalar=True,
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/logger/base.py:112
↓ 6 callersFunctionget_pb_arg_vals
(pb, arg_name, default_val)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:199
↓ 6 callersFunctionget_pose_estimator_cfg
Load model config from a config file.
mmpose/mmpose/testing/_utils.py:243
↓ 6 callersFunctionhas_method
Check whether the object has a method. Args: method (str): The method name to check. obj (object): The object to check. Retu
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/misc.py:367
↓ 6 callersMethodhistory
Returns: HistoryBuffer: the scalar history for name
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:406
↓ 6 callersMethodis_norm
Check if is one of the norms.
mmpose/tests/test_models/test_backbones/test_shufflenet_v2.py:22
↓ 6 callersFunctionis_supported_instance
(module)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:540
↓ 6 callersFunctionkeypoint_mpjpe
Calculate the mean per-joint position error (MPJPE) and the error after rigid alignment with the ground truth (P-MPJPE). Note: - batc
mmpose/mmpose/evaluation/functional/keypoint_eval.py:324
↓ 6 callersMethodlatest
Returns: dict[str -> (float, int)]: mapping from the name of each scalar to the most recent value and the iterati
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:423
↓ 6 callersFunctionmake_divisible
Make divisible function. This function rounds the channel number down to the nearest value that can be divisible by the divisor. Args:
mmpose/mmpose/models/backbones/utils/make_divisible.py:2
↓ 6 callersFunctionmkdir_or_exist
(dir_name, mode=0o777)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/utils/path.py:26
↓ 6 callersFunctionnearby_joints_nms
Nearby joints NMS implementations. Instances with non-maximum scores will be suppressed if they have too much closed joints with other instanc
mmpose/mmpose/evaluation/functional/nms.py:255
↓ 6 callersMethodnonempty
Find boxes that are non-empty. A box is considered empty, if either of its side is no larger than threshold. Returns:
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/boxes.py:199
↓ 6 callersFunctionnonzero_tuple
A 'as_tuple=True' version of torch.nonzero to support torchscript. because of https://github.com/pytorch/pytorch/issues/38718
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/wrappers.py:143
↓ 6 callersMethodpredict
Predict results from features.
mmpose/mmpose/models/heads/base_head.py:27
↓ 6 callersMethodpredict
Predict results from multi-stage feature maps. Args: feats (Sequence[Sequence[Tensor]]): Multi-stage multi-unit f
mmpose/mmpose/models/heads/heatmap_heads/mspn_head.py:307
↓ 6 callersFunctionremove_leading_slash
(s)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/data/data_mono.py:241
↓ 6 callersMethodscale
Scale the box with horizontal and vertical scaling factors
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/boxes.py:271
↓ 6 callersMethodto
Apply same name function to all tensors in data_fields.
mmpose/mmpose/structures/multilevel_pixel_data.py:265
↓ 6 callersMethodto_tensor
Convert all tensor to np.narray in data.
mmpose/mmpose/structures/multilevel_pixel_data.py:259
↓ 6 callersMethodtrain
Convert the model into training mode.
mmpose/mmpose/models/backbones/vipnas_resnet.py:588
↓ 6 callersMethodtrain
Args: start_iter, max_iter (int): See docs above
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/train_loop.py:139
↓ 6 callersMethodupdate
(self, new_dict)
ControlNet-v1-1-nightly/annotator/zoe/zoedepth/utils/misc.py:79
↓ 6 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/swin.py:49
↓ 6 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/transformer.py:265
↓ 5 callersMethod__init__
(self, input_channels, output_channels, mid_channels=32,
mmpose/mmpose/models/backbones/v2v_net.py:249
↓ 5 callersMethod__init__
(self, embed_dims, feedforward_channels, act_cfg=dict(type=
mmpose/mmpose/models/backbones/pvt.py:46
↓ 5 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None
mmpose/mmpose/models/backbones/hrformer.py:275
↓ 5 callersMethod__init__
(self, in_channels: Union[int, Sequence[int]], gfd_channels: int,
mmpose/mmpose/models/heads/heatmap_heads/cid_head.py:414
↓ 5 callersMethod__init__
(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0.)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/text_transformer.py:33
↓ 5 callersMethod__init__
(self, in_chs, out_chs, kernel_size, stride=1, pad_type='', act_layer=nn.ReLU, norm_layer=nn.
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/efficientnet_builder.py:123
↓ 5 callersMethod__init__
(self, inplace: bool = False)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations.py:37
↓ 5 callersMethod__init__
(self, embed_dim, n_classes=1000, key='class', ucg_rate=0.1)
ControlNet-v1-1-nightly/ldm/modules/encoders/modules.py:26
↓ 5 callersMethod_benchmark
(self, iterator, num_iter, warmup, msg=None)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/benchmark.py:100
↓ 5 callersFunction_broadcast_params
If one size (or aspect ratio) is specified and there are multiple feature maps, we "broadcast" anchors of that single size (or aspect ratio)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/anchor_generator.py:58
↓ 5 callersMethod_change_color_brightness
Depending on the brightness_factor, gives a lighter or darker color i.e. a color with less or more saturation than the original color
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:1180
↓ 5 callersMethod_convert
Convert data items with the given function. Args: apply_to (Type): The type of data items to apply the conversion fun
mmpose/mmpose/structures/multilevel_pixel_data.py:222
↓ 5 callersFunction_get_builtin_metadata
(dataset_name)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/datasets/builtin_meta.py:283
↓ 5 callersMethod_get_feats
( self, batch_size: int = 2, feat_shapes: List[Tuple[int, int, int]] = [(32, 8, 6)],
mmpose/tests/test_models/test_heads/test_hybrid_heads/test_vis_head.py:16
↓ 5 callersMethod_get_feats
(self, batch_size: int = 2, feat_shapes: List[Tuple[int, int, int]] = [(
mmpose/tests/test_models/test_heads/test_heatmap_heads/test_heatmap_head.py:16
↓ 5 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
ControlNet-v1-1-nightly/annotator/midas/midas/blocks.py:49
↓ 5 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
ControlNet-v1-1-nightly/ldm/modules/midas/midas/blocks.py:49
↓ 5 callersFunction_parse_ksize
(ss)
ControlNet-v1-1-nightly/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/efficientnet_builder.py:456
↓ 5 callersMethod_set_lr
(self, runner, lr_groups)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:58
↓ 5 callersMethod_set_momentum
(self, runner, momentum_groups)
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:35
↓ 5 callersFunctionannealing_cos
Calculate annealing cos learning rate. Cosine anneal from `weight * start + (1 - weight) * end` to `end` as percentage goes from 0.0 to 1.0.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:627
↓ 5 callersMethodapply_model
(self, x_noisy, t, cond, *args, **kwargs)
ControlNet-v1-1-nightly/cldm/cldm.py:329
↓ 5 callersMethodapply_segmentation
(self, segmentation)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/transform.py:278
↓ 5 callersMethodaverage
Average latest n values or all values.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/runner/log_buffer.py:33
↓ 5 callersFunctionbbox_cs2xyxy
Transform the bbox format from (center, scale) to (x1,y1,x2,y2). Args: center (ndarray): BBox center (x, y) in shape (2,) or (n, 2)
mmpose/mmpose/structures/bbox/transforms.py:111
↓ 5 callersFunctionbuild_backbone
Build a backbone from `cfg.MODEL.BACKBONE.NAME`. Returns: an instance of :class:`Backbone`
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/build.py:20
↓ 5 callersFunctionbuild_dropout
Builder for drop out layers.
ControlNet-v1-1-nightly/annotator/uniformer/mmcv/cnn/bricks/drop.py:63
↓ 5 callersFunctionbuild_model
Build the whole model architecture, defined by ``cfg.MODEL.META_ARCHITECTURE``. Note that it does not load any weights from ``cfg``.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/build.py:16
↓ 5 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_body_datasets/test_coco_dataset.py:24
↓ 5 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_body_datasets/test_crowdpose_dataset.py:24
↓ 5 callersMethodcheck_data_info_keys
(self, data_info: dict, data_mode: str = 'topdown')
mmpose/tests/test_datasets/test_datasets/test_body_datasets/test_humanart_dataset.py:24
← previousnext →301–400 of 7,103, ranked by callers