MCPcopy Create free account

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

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

Method__init__
(self, ignore_label=-1, top_k_percent_pixels=1.0, weight=None)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/projects/deeplab/loss.py:20
Method__init__
NOTE: this interface is experimental. Args: input_shape: shape of the input features. They will be ordered by stride
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/projects/deeplab/semantic_seg.py:22
Method__init__
( self, optimizer: torch.optim.Optimizer, max_iters: int, warmup_factor: float
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/projects/deeplab/lr_scheduler.py:25
Method__init__
Args: norm (str or callable): norm after the first conv layer. See :func:`layers.get_norm` for supported format.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/projects/deeplab/resnet.py:20
Method__init__
Args: norm1, norm2 (str or callable): normalization for the two conv layers. activation1, activation2 (callable(Tenso
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/blocks.py:66
Method__init__
Args: in_channels (int): number of input channels for ASPP. out_channels (int): number of output channels.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/aspp.py:19
Method__init__
Args: output_size (tuple): h, w spatial_scale (float): scale the input boxes by this number sampling_rati
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/roi_align.py:8
Method__init__
Modulated deformable convolution from :paper:`deformconv2`. Arguments are similar to :class:`Conv2D`. Extra arguments: Args
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/deform_conv.py:414
Method__init__
(self, num_features, eps=1e-5)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/batch_norm.py:35
Method__init__
(self, *args, stats_mode="", **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/batch_norm.py:180
Method__init__
Args: length: number of BatchNorm layers to cycle. bn_class: the BatchNorm class to use kwargs: arguments
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/batch_norm.py:249
Method__init__
Args: output_size (tuple): h, w spatial_scale (float): scale the input boxes by this number sampling_rati
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/roi_align_rotated.py:49
Method__init__
Extra keyword arguments supported in addition to those in `torch.nn.Conv2d`: Args: norm (nn.Module, optional): a normali
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/layers/wrappers.py:92
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/iou_weighted_hungarian_bbox_iou_tracker.py:22
Method__init__
(self, **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/base_tracker.py:21
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/vanilla_hungarian_bbox_iou_tracker.py:24
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/hungarian_tracker.py:22
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/tracking/bbox_iou_tracker.py:23
Method__init__
Args: dataset_name (str): the name of the dataset. It must have the following metadata associated with it:
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/cityscapes_evaluation.py:23
Method__init__
Args: evaluators (list): the evaluators to combine.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/evaluator.py:74
Method__init__
Args: dataset_name (str): name of the dataset, e.g., "voc_2007_test"
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/pascal_voc_evaluation.py:31
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. It must have either the following corresponding me
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/coco_evaluation.py:47
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. It must have the following corresponding metadata:
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/lvis_evaluation.py:28
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. distributed (bool): if True, will collect results from
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/sem_seg_evaluation.py:42
Method__init__
Args: dataset_name: name of the dataset output_dir: output directory to save results for evaluation.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/evaluation/panoptic_evaluation.py:32
Method__init__
(self, target)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/config/lazy.py:41
Method__init__
Args: predict_net, init_net (core.Net): caffe2 nets convert_outptus (callable): a function that converts caffe2
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_inference.py:131
Method__init__
(self, name, type_)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/torchscript_patch.py:97
Method__init__
(self, cfg, torch_model)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_modeling.py:246
Method__init__
(self, cfg, torch_model)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_modeling.py:290
Method__init__
Args: cfg (CfgNode): a detectron2 config used to construct caffe2-compatible model. model (nn.Module): An original py
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/api.py:45
Method__init__
(self, predict_net, init_net)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/api.py:126
Method__init__
(self, ws_name, is_reset, is_cleanup=False)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:135
Method__init__
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/shared.py:790
Method__init__
(self, tensor)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/c10.py:30
Method__init__
(self, im_info, indices, extra_fields=None)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/c10.py:49
Method__init__
(self, tensor_mode)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/c10.py:380
Method__init__
(self, use_heatmap_max_keypoint)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/c10.py:538
Method__init__
(self, replaceCls)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_patch.py:32
Method__init__
(self, heads, use_heatmap_max_keypoint)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/caffe2_patch.py:115
Method__init__
Args: model: an nn.Module inputs: An input argument or a tuple of input arguments used to call model.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/export/flatten.py:225
Method__init__
Args: backbone: a backbone module, must follow detectron2's backbone interface sem_seg_head: a module that predicts s
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/oneformer_model.py:33
Method__init__
Creates the matcher Params: cost_class: This is the relative weight of the classification error in the matching cost
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/matcher.py:101
Method__init__
( self, d_model, nhead, dropout=0.1, )
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/text_transformer.py:68
Method__init__
(self, transformer_width=256, transformer_heads=4, transfor
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/text_transformer.py:100
Method__init__
(self, d_model: int, n_head: int, attn_mask: torch.Tensor = None)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/text_transformer.py:160
Method__init__
(self, width: int, layers: int, heads: int, attn_mask: torch.Tensor = None, use_checkpoint=False)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/text_transformer.py:182
Method__init__
( self, context_length: int, width: int, layers: int, vocab_size,
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/text_transformer.py:209
Method__init__
(self, encoder_layer, num_layers, norm=None)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/transformer.py:86
Method__init__
(self, decoder_layer, num_layers, norm=None, return_intermediate=False)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/transformer.py:113
Method__init__
( self, d_model, nhead, dim_feedforward=2048, dropout=0.1, act
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/transformer.py:162
Method__init__
( self, d_model, nhead, dim_feedforward=2048, dropout=0.1, act
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/transformer.py:238
Method__init__
(self, d_model, nhead, dropout=0.0, activation="relu", normalize_before=False)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:38
Method__init__
(self, d_model, nhead, dropout=0.0, activation="relu", normalize_before=False)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:96
Method__init__
(self, d_model, dim_feedforward=2048, dropout=0.0, activation="relu", normalize_before=False)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:159
Method__init__
NOTE: this interface is experimental. Args: in_channels: channels of the input features mask_classification:
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:255
Method__init__
(self, num_pos_feats=64, temperature=10000, normalize=False, scale=None)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/transformer_decoder/position_encoding.py:21
Method__init__
( self, dim, num_heads, kernel_size, dilation=1, bias=True,
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:19
Method__init__
(self, in_chans=3, embed_dim=96, norm_layer=None)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:46
Method__init__
(self, dim, norm_layer=nn.LayerNorm)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:65
Method__init__
(self, dim, num_heads, kernel_size=7, dilation=None, mlp_ratio=4., qkv_bias=True, qk_scale=No
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:96
Method__init__
(self, dim, depth, num_heads, kernel_size, dilations=None, downsample=True,
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:136
Method__init__
(self, embed_dim, mlp_ratio, depths, num_h
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:168
Method__init__
(self, cfg, input_shape)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/dinat.py:260
Method__init__
( self, dim, window_size, num_heads, qkv_bias=True, qk_scale=N
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/swin.py:88
Method__init__
( self, dim, num_heads, window_size=7, shift_size=0, mlp_ratio
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/swin.py:192
Method__init__
(self, dim, norm_layer=nn.LayerNorm)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/swin.py:306
Method__init__
( self, dim, depth, num_heads, window_size=7, mlp_ratio=4.0,
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/swin.py:359
Method__init__
(self, patch_size=4, in_chans=3, embed_dim=96, norm_layer=None)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/swin.py:466
Method__init__
( self, pretrain_img_size=224, patch_size=4, in_chans=3, embed_dim=96,
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/swin.py:527
Method__init__
(self, cfg, input_shape)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/backbone/swin.py:689
Method__init__
NOTE: this interface is experimental. Args: input_shape: shapes (channels and stride) of the input features n
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/meta_arch/oneformer_head.py:50
Method__init__
( self, d_model=512, nhead=8, num_encoder_layers=6, dim_feedforward=20
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/fpn.py:163
Method__init__
NOTE: this interface is experimental. Args: input_shape: shapes (channels and stride) of the input features t
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/fpn.py:207
Method__init__
(self, d_model=256, nhead=8, num_encoder_layers=6, dim_feedforward=1024, dropout=0.1,
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/msdeformattn.py:24
Method__init__
(self, d_model=256, d_ffn=1024, dropout=0.1, activation="relu",
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/msdeformattn.py:93
Method__init__
(self, encoder_layer, num_layers)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/msdeformattn.py:135
Method__init__
Multi-Scale Deformable Attention Module :param d_model hidden dimension :param n_levels number of feature levels
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/modeling/pixel_decoder/ops/modules/ms_deform_attn.py:35
Method__init__
(self, tensors, mask: Optional[Tensor])
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/misc.py:112
Method__init__
(self, keyword: str)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/events.py:38
Method__init__
(self, keyword: str)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/events.py:46
Method__init__
Args: log_dir (str): the directory to save the output events kwargs: other arguments passed to `torch.utils.tensorboa
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/utils/events.py:58
Method__init__
(self, tokenizer, max_seq_len=77, truncate=True)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/tokenizer.py:88
Method__init__
(self, bpe_path: str = default_bpe())
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/tokenizer.py:121
Method__init__
NOTE: this interface is experimental. Args: is_train: for training or inference augmentations: a list of augm
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/dataset_mappers/oneformer_unified_dataset_mapper.py:40
Method__init__
NOTE: this interface is experimental. Args: is_train: whether it's used in training or inference augmentatio
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/dataset_mappers/dataset_mapper.py:39
Method__init__
NOTE: this interface is experimental. Args: is_train: for training or inference augmentations: a list of augm
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/data/dataset_mappers/coco_unified_new_baseline_dataset_mapper.py:72
Method__init__
Args: cfg (CfgNode): instance_mode (ColorMode): parallel (bool): whether to run the model in different pr
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/predictor.py:18
Method__init__
(self, cfg, task_queue, result_queue)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/predictor.py:113
Method__init__
(self, mask_or_polygons, height, width)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:80
Method__init__
(self, panoptic_seg, segments_info, metadata=None)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:173
Method__init__
Args: img (ndarray): an RGB image of shape (H, W, 3) in range [0, 255]. scale (float): scale the input image
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:270
Method__init__
Args: img_rgb: a numpy array of shape (H, W, C), where H and W correspond to the height and width of the image re
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/visualizer.py:364
Method__init__
(self, cfg)
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/demo/defaults.py:38
Method__init__
Args: dataset_name (str): the name of the dataset. It must have the following metadata associated with it:
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/cityscapes_evaluation.py:27
Method__init__
Args: evaluators (list): the evaluators to combine.
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/evaluator.py:78
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. It must have either the following corresponding me
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/detection_coco_evaluator.py:51
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. It must have either the following corresponding me
ControlNet-v1-1-nightly/annotator/oneformer/oneformer/evaluation/coco_evaluator.py:51
Method__init__
(self)
ControlNet-v1-1-nightly/annotator/normalbae/__init__.py:17
Method__init__
args.loss_fn can be one of following: - L1 - L1 loss (no uncertainty) - L2 - L2 loss (no uncertainty)
ControlNet-v1-1-nightly/annotator/normalbae/utils/losses.py:9
← previousnext →3,801–3,900 of 7,103, ranked by callers