MCPcopy Create free account

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

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

Method__init__
(self, w_in, w_out, norm, activation_class)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:63
Method__init__
(self, w_in, w_out, norm, activation_class)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:79
Method__init__
(self, w_in, w_out, stride, norm, activation_class, _params)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:111
Method__init__
(self, w_in, w_out, stride, norm, activation_class, _params)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:129
Method__init__
(self, w_in, w_out, stride, norm, activation_class, params)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:147
Method__init__
(self, w_in, w_out, stride, norm, activation_class, params)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:164
Method__init__
(self, w_in, w_out, stride, norm, activation_class, params)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:189
Method__init__
(self, w_in, w_out, stride, d, block_class, norm, activation_class, params)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:206
Method__init__
Args: stem_class (callable): A callable taking 4 arguments (channels in, channels out, normalization, callable re
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:222
Method__init__
Build a RegNet from the parameterization described in :paper:`dds` Section 3.3. Args: See :class:`AnyNet` for arguments
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/backbone/regnet.py:390
Method__init__
NOTE: this interface is experimental. Args: input_shape (ShapeSpec): shape of the input feature conv_dims: a
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/keypoint_head.py:226
Method__init__
NOTE: this interface is experimental. Args: input_shape (ShapeSpec): shape of the input feature. conv_dims (
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/box_head.py:33
Method__init__
NOTE: this interface is experimental. Args: input_shape (ShapeSpec): shape of the input feature to this module
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/fast_rcnn.py:183
Method__init__
NOTE: this interface is experimental. Args: in_features (list[str]): list of backbone feature map names to use for
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/roi_heads.py:351
Method__init__
NOTE: this interface is experimental. Args: box_in_features (list[str]): list of feature names to use for the box head.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/roi_heads.py:543
Method__init__
NOTE: this interface is experimental. Args: input_shape (ShapeSpec): shape of the input feature num_classes
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/mask_head.py:222
Method__init__
NOTE: this interface is experimental. Args: box_pooler (ROIPooler): pooler that extracts region features from given boxe
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/cascade_rcnn.py:38
Method__init__
NOTE: this interface is experimental.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/roi_heads/rotated_fast_rcnn.py:176
Method__init__
Args: backbone: a backbone module, must follow detectron2's backbone interface proposal_generator: a module that gene
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/rcnn.py:260
Method__init__
(self, *, input_shape: List[ShapeSpec], conv_dims: List[int], **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/fcos.py:309
Method__init__
Args: backbone: backbone module head: head module head_in_features: backbone features to use in head. Def
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/dense_detector.py:33
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/detectron2/modeling/meta_arch/semantic_seg.py:40
Method__init__
NOTE: this interface is experimental. Args: input_shape (List[ShapeSpec]): input shape num_classes (int): nu
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/retinanet.py:318
Method__init__
NOTE: this interface is experimental. Args: sem_seg_head: a module for the semantic segmentation head. combi
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/meta_arch/panoptic_fpn.py:27
Method__init__
(self, *args, **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/proposal_generator/rrpn.py:137
Method__init__
NOTE: this interface is experimental. Args: in_channels (int): number of input feature channels. When using multiple
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/modeling/proposal_generator/rpn.py:76
Method__init__
Args: model (nn.Module): inputs (Any): inputs of the given model. Does not have to be tuple of tensors.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/analysis.py:60
Method__init__
(self, label, bbox, mask_rle, color, ttl)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/video_visualizer.py:33
Method__init__
Args: metadata (MetadataCatalog): image metadata.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/video_visualizer.py:42
Method__init__
(self, *args, **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/develop.py:31
Method__init__
Args: json_file (str): path to the json file. New data will be appended if the file exists. window_size (int): the wi
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:94
Method__init__
Args: log_dir (str): the directory to save the output events window_size (int): the scalars will be median-smoothed b
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:136
Method__init__
Args: max_iter: the maximum number of iterations to train. Used to compute ETA. If not given, ETA will not be pri
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:191
Method__init__
Args: start_iter (int): the iteration number to start with
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/events.py:310
Method__init__
(self, mask_or_polygons, height, width)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:67
Method__init__
(self, panoptic_seg, segments_info, metadata=None)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/visualizer.py:160
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/detectron2/utils/visualizer.py:258
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/detectron2/utils/visualizer.py:357
Method__init__
(self, *args, **kwargs)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/logger.py:19
Method__init__
(self, obj)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/utils/serialize.py:15
Method__init__
Args: scheduler: warmup will be added at the beginning of this scheduler warmup_factor: the factor w.r.t the initial
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/lr_scheduler.py:27
Method__init__
( self, optimizer: torch.optim.Optimizer, milestones: List[int], gamma: float
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/lr_scheduler.py:141
Method__init__
( self, optimizer: torch.optim.Optimizer, max_iters: int, warmup_factor: float
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/solver/lr_scheduler.py:180
Method__init__
(self, dataset)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/benchmark.py:24
Method__init__
Args: max_time_seconds (int): maximum time to spent for each benchmark other args: same as in `build.py:build_detecti
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/benchmark.py:71
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/detectron2/data/dataset_mapper.py:38
Method__init__
(self, dataset, map_func)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/common.py:41
Method__init__
Args: dataset: a dataset where map function is applied. Can be either map-style or iterable dataset. When given a
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/common.py:59
Method__init__
(self, lst: list)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/common.py:129
Method__init__
Args: lst (list): a list which contains elements to produce. copy (bool): whether to deepcopy the element when produc
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/common.py:180
Method__init__
Args: dataset: an old-style dataset with ``__getitem__`` sampler: a cheap iterable that produces indices to be applie
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/common.py:227
Method__init__
Args: dataset: an iterable. Each element must be a dict with keys "width" and "height", which will be used to bat
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/common.py:277
Method__init__
Args: size (int): the total number of data of the underlying dataset to sample from subset_ratio (float): the ratio o
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/samplers/distributed_sampler.py:79
Method__init__
Args: repeat_factors (Tensor): a float vector, the repeat factor for each indice. When it's full of ones, it is e
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/samplers/distributed_sampler.py:135
Method__init__
Args: size (int): the total number of data of the underlying dataset to sample from
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/samplers/distributed_sampler.py:253
Method__init__
Args: sampler (Sampler): Base sampler. group_ids (list[int]): If the sampler produces indices in range [0, N),
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/samplers/grouped_batch_sampler.py:14
Method__init__
(self, tfm: Transform)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation.py:220
Method__init__
Args: augs (list[Augmentation or Transform]):
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation.py:256
Method__init__
Args: src_rect (x0, y0, x1, y1): src coordinates output_size (h, w): dst image size interp: PIL interpola
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/transform.py:46
Method__init__
Args: h, w (int): original image size new_h, new_w (int): new image size interp: PIL interpolation method
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/transform.py:99
Method__init__
Args: h, w (int): original image size angle (float): degrees for rotation expand (bool): choose if the im
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/transform.py:168
Method__init__
Args: op (Callable): operation to be applied to the image, which takes in a PIL Image and returns a transformed
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/transform.py:289
Method__init__
Args: tfm_or_aug (Transform, Augmentation): the transform or augmentation to be applied. It can either be a `Tran
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:53
Method__init__
Args: prob (float): probability of flip. horizontal (boolean): whether to apply horizontal flipping verti
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:87
Method__init__
Args: short_edge_length (list[int]): If ``sample_style=="range"``, a [min, max] interval from which to sample the
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:143
Method__init__
Args: min_scale: minimum image scale range. max_scale: maximum image scale range. target_height: target i
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:212
Method__init__
Args: angle (list[float]): If ``sample_style=="range"``, a [min, max] interval from which to sample the angle (in
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:259
Method__init__
Args: crop_size: target image (height, width). pad: if True, will pad images smaller than `crop_size` up to `crop_siz
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:315
Method__init__
Args: crop_type (str): one of "relative_range", "relative", "absolute", "absolute_range". crop_size (tuple[float, flo
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:378
Method__init__
Args: crop_type, crop_size: same as in :class:`RandomCrop` single_category_max_area: the maximum allowed area ratio o
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:443
Method__init__
Args: output_size (h, w): Dimensions of output image scale_range (l, h): Range of input-to-output size scaling factor
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:490
Method__init__
Args: intensity_min (float): Minimum augmentation intensity_max (float): Maximum augmentation
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:538
Method__init__
Args: intensity_min (float): Minimum augmentation intensity_max (float): Maximum augmentation
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:564
Method__init__
Args: intensity_min (float): Minimum augmentation (1 preserves input). intensity_max (float): Maximum augmentation (1
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:591
Method__init__
Args: scale (float): Standard deviation of principal component weighting.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:616
Method__init__
Args: shape_list: a list of shapes in (h, w) interp: PIL interpolation method
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:639
Method__init__
( self, min_ious=(0.1, 0.3, 0.5, 0.7, 0.9), min_crop_size=0.3, mode_trials=100
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/data/transforms/augmentation_impl.py:668
Method__init__
Each argument is a function that takes one argument: the trainer.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:55
Method__init__
Args: warmup_iter (int): the number of iterations at the beginning to exclude from timing.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:97
Method__init__
Args: writers (list[EventWriter]): a list of EventWriter objects period (int):
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:165
Method__init__
Args: eval_period (int): the period `EvalHook` is set to run. checkpointer: the checkpointer object used to save chec
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:218
Method__init__
Args: optimizer (torch.optim.Optimizer): scheduler (torch.optim.LRScheduler or fvcore.common.param_scheduler.ParamSch
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:313
Method__init__
Args: enable_predicate (callable[trainer -> bool]): a function which takes a trainer, and returns whether to enab
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:395
Method__init__
Args: enable_predicate (callable[trainer -> bool]): a function which takes a trainer, and returns whether to enab
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:480
Method__init__
Args: eval_period (int): the period to run `eval_function`. Set to 0 to not evaluate periodically (but still eval
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:509
Method__init__
Args: period (int): the period this hook is run, or 0 to not run during training. The hook will always run in the
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:577
Method__init__
Args: period (int): Output stats each 'period' iterations max_runs (int): Stop the logging after 'max_runs'
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/hooks.py:644
Method__init__
(self, cfg)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/defaults.py:280
Method__init__
Args: cfg (CfgNode):
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/defaults.py:364
Method__init__
(self)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/train_loop.py:113
Method__init__
Args: model: a torch Module. Takes a data from data_loader and returns a dict of losses. data_loader:
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/engine/train_loop.py:245
Method__init__
(self, model, save_dir="", *, save_to_disk=None, **checkpointables)
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/checkpoint/detection_checkpoint.py:23
Method__init__
Args: tensor (Tensor[float]): a Nx4 matrix. Each row is (x1, y1, x2, y2).
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/boxes.py:142
Method__init__
Arguments: tensor (Tensor): of shape (N, H, W) or (N, C_1, ..., C_K, H, W) where K >= 1 image_sizes (list[tuple[int,
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/image_list.py:23
Method__init__
Arguments: keypoints: A Tensor, numpy array, or list of the x, y, and visibility of each keypoint. The shape shou
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/keypoints.py:21
Method__init__
Args: tensor (Tensor[float]): a Nx5 matrix. Each row is (x_center, y_center, width, height, angle),
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/rotated_boxes.py:20
Method__init__
Args: image_size (height, width): the spatial size of the image. kwargs: fields to add to this `Instances`.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/instances.py:39
Method__init__
Args: tensor: bool Tensor of N,H,W, representing N instances in the image.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/masks.py:97
Method__init__
Arguments: polygons (list[list[np.ndarray]]): The first level of the list correspond to individual instances,
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/masks.py:269
Method__init__
Args: tensor: (N, M, M) mask tensor that defines the mask within each ROI.
ControlNet-v1-1-nightly/annotator/oneformer/detectron2/structures/masks.py:473
← previousnext →3,701–3,800 of 7,103, ranked by callers