MCPcopy Create free account

hub / github.com/AIFSH/IMAGDressing-ComfyUI / functions

Functions2,064 in github.com/AIFSH/IMAGDressing-ComfyUI

↓ 2 callersFunctionrandom_rotated_boxes
(mean_box, std_length, std_angle, N)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/modeling/test_box2box_transform.py:33
↓ 2 callersMethodrun_on_video
Visualizes predictions on frames of the input video. Args: video (cv2.VideoCapture): a :class:`VideoCapture` object, who
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/demo/predictor.py:76
↓ 2 callersMethodsaturation
(self, img)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/PointRend/point_rend/color_augmentation.py:82
↓ 2 callersMethodsave_graph
Save the graph as SVG format. Args: output_file (str): a SVG file inputs: optional inputs given to the model
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/api.py:225
↓ 2 callersMethodsave_protobuf
Save the model as caffe2's protobuf format. Args: output_dir (str): the output directory to save protobuf files.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/api.py:207
↓ 2 callersFunctionseed_all_rng
Set the random seed for the RNG in torch, numpy and python. Args: seed (int): if None, will use a strong random seed.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/env.py:15
↓ 2 callersMethodsemantic_masks
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:178
↓ 2 callersMethodset_ipa_scale
(self, ipa_scale, lora_scale)
imagdressing/dressing_sd/pipelines/IMAGDressing_v1_pipeline_ipa_controlnet.py:387
↓ 2 callersMethodset_scale
(self, scale, lora_scale)
imagdressing/dressing_sd/pipelines/IMAGDressing_v1_pipeline_ipa_controlnet.py:380
↓ 2 callersFunctionsetup
Create configs and perform basic setups.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TensorMask/train_net.py:29
↓ 2 callersFunctionsubsample_labels
Return `num_samples` (or fewer, if not enough found) random samples from `labels` which is a mixture of positives & negatives. It will tr
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/sampling.py:7
↓ 2 callersFunctionsynchronize
Helper function to synchronize (barrier) among all processes when using distributed training
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/comm.py:67
↓ 2 callersMethodtest_with_TTA
(cls, cfg, model)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tools/train_net.py:103
↓ 2 callersMethodtest_with_TTA
(cls, cfg, model)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tools/finetune_net.py:115
↓ 2 callersMethodtest_with_TTA
(cls, cfg: CfgNode, model)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/train_net.py:54
↓ 2 callersMethodto_d2_instances_list
Convert InstancesList to List[Instances]. The input `instances_list` can also be a List[Instances], in this case this method is a non
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/c10.py:107
↓ 2 callersFunctionto_one_hot
(tensor, num_cls, dim=1, ignore_index=255)
imagdressing/preprocess/humanparsing/utils/criterion.py:137
↓ 2 callersFunctiontransform_parsing
(pred, center, scale, width, height, input_size)
imagdressing/preprocess/humanparsing/utils/transforms.py:68
↓ 2 callersFunctiontversky_loss
Tversky loss function. probas: [P, C] Variable, class probabilities at each prediction (between 0 and 1) labels: [P] Tensor, grou
imagdressing/preprocess/humanparsing/utils/soft_dice_loss.py:26
↓ 2 callersFunctionupgrade_config
Upgrade a config from its current version to a newer version. Args: cfg (CfgNode): to_version (int): defaults to the latest
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/config/compat.py:33
↓ 2 callersFunctionverbosity_to_level
(verbosity)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/utils/logger.py:5
↓ 2 callersMethodvisualize
(self, image_bgr, boxes_xywh)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/bounding_box.py:9
↓ 1 callersFunctionBilinearInterpolation
(tensor_in, up_scale)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:48
↓ 1 callersFunctionHWC3
(x)
imagdressing/preprocess/openpose/annotator/util.py:13
↓ 1 callersFunctionROIAlignRotated_backward_cpu
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp:466
↓ 1 callersFunctionROIAlignRotated_forward_cpu
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp:418
↓ 1 callersFunctionROIAlign_backward_cpu
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/csrc/ROIAlign/ROIAlign_cpu.cpp:450
↓ 1 callersFunctionROIAlign_forward_cpu
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/csrc/ROIAlign/ROIAlign_cpu.cpp:401
↓ 1 callersMethod__enter__
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:136
↓ 1 callersMethod__exit__
(self, *args)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:145
↓ 1 callersMethod__init__
(self, face_model_path, inference_size=None, gaussian_sigma=None,
imagdressing/preprocess/openpose/annotator/openpose/face.py:317
↓ 1 callersMethod__init__
(self)
imagdressing/preprocess/openpose/annotator/openpose/model.py:25
↓ 1 callersMethod__init__
(self, module)
imagdressing/preprocess/humanparsing/modules/misc.py:15
↓ 1 callersMethod__init__
(self, in_channels, channels, stride=1, di
imagdressing/preprocess/humanparsing/modules/residual.py:33
↓ 1 callersMethod__init__
Creates an Activated Batch Normalization module Parameters ---------- num_features : int Number of feature channe
imagdressing/preprocess/humanparsing/modules/bn.py:19
↓ 1 callersMethod__init__
(self, ignore_index=255)
imagdressing/preprocess/humanparsing/utils/soft_dice_loss.py:95
↓ 1 callersMethod__init__
(self, optimizer, total_epoch=150, start_cyclical=100, cyclical_base_lr=7e-4, cyclical_epoch=10, eta_min=0, wa
imagdressing/preprocess/humanparsing/utils/warmup_scheduler.py:40
↓ 1 callersMethod__init__
(self)
imagdressing/preprocess/humanparsing/utils/lovasz_softmax.py:141
↓ 1 callersMethod__init__
(self, block, layers, groups=32, num_classes=1000)
imagdressing/preprocess/humanparsing/networks/backbone/resnext.py:77
↓ 1 callersMethod__init__
(self, n_class=1000, input_size=224, width_mult=1.)
imagdressing/preprocess/humanparsing/networks/backbone/mobilenetv2.py:83
↓ 1 callersMethod__init__
(self, cfg)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/test_time_augmentation.py:30
↓ 1 callersMethod__init__
NOTE: this interface is experimental. Args: num_keypoints (int): number of keypoints to predict loss_weight
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/keypoint_head.py:125
↓ 1 callersMethod__init__
Args: box2box_transform (Box2BoxTransform/Box2BoxTransformRotated): box2box transform instance for proposal-to-de
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/fast_rcnn.py:136
↓ 1 callersMethod__init__
NOTE: this interface is experimental. Args: vis_period (int): visualization period
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/mask_head.py:152
↓ 1 callersMethod__init__
(self, cfg)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/meta_arch/rcnn.py:29
↓ 1 callersMethod__init__
(self, cfg, input_shape: Dict[str, ShapeSpec])
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/meta_arch/semantic_seg.py:110
↓ 1 callersMethod__init__
(self, cfg)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/meta_arch/retinanet.py:64
↓ 1 callersMethod__init__
(self, cfg, input_shape: Dict[str, ShapeSpec])
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/proposal_generator/rpn.py:119
↓ 1 callersMethod__init__
( self, optimizer: torch.optim.Optimizer, max_iters: int, warmup_factor: float
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/solver/lr_scheduler.py:53
↓ 1 callersMethod__init__
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/engine/train_loop.py:95
↓ 1 callersMethod__init__
Deformable convolution from :paper:`deformconv`. Arguments are similar to :class:`Conv2D`. Extra arguments: Args:
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/deform_conv.py:309
↓ 1 callersMethod__init__
(self, num_features, eps=1e-5)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/batch_norm.py:38
↓ 1 callersMethod__init__
(self, predict_net, init_net)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/caffe2_inference.py:23
↓ 1 callersMethod__init__
(self, cfg, input_shape)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TridentNet/tridentnet/trident_rcnn.py:54
↓ 1 callersMethod__init__
(self, cfg)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TensorMask/tensormask/arch.py:294
↓ 1 callersMethod__init__
(self, cfg, input_shape: Dict[str, ShapeSpec], in_features)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/roi_head.py:32
↓ 1 callersMethod__init__
Args: cfg (CfgNode): num_gpus (int): if 0, will run on CPU
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/demo/predictor.py:160
↓ 1 callersMethod__new__
(cls, *, channels=None, height=None, width=None, stride=None)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/shape_spec.py:19
↓ 1 callersFunction_add_categories_metadata
(dataset_name: str, categories: Dict[str, Any])
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/datasets/coco.py:139
↓ 1 callersFunction_add_category_id_to_contiguous_id_maps_to_metadata
(dataset_names: Iterable[str])
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/build.py:57
↓ 1 callersFunction_assert_strides_are_log2_contiguous
Assert that each stride is 2x times its preceding stride, i.e. "contiguous in log2".
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/backbone/fpn.py:155
↓ 1 callersFunction_assign_device_option
ONNX exported network doesn't have concept of device, assign necessary device option for each op in order to make it runable on GPU runtime.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/caffe2_export.py:83
↓ 1 callersFunction_assignment_rule
Given two lists of boxes of N ground truth boxes and M anchor boxes, compute the assignment between the two, following the assignment rules i
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TensorMask/tensormask/arch.py:28
↓ 1 callersMethod_bin_code_2_lines
(self, arr, v, bin_code, multi_idx, Nw, Nh, offset)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/densepose.py:231
↓ 1 callersMethod_box2cs
(self, box)
imagdressing/preprocess/humanparsing/datasets/datasets.py:45
↓ 1 callersMethod_box2cs
(self, box)
imagdressing/preprocess/humanparsing/datasets/datasets.py:152
↓ 1 callersMethod_box2cs
(self, box)
imagdressing/preprocess/humanparsing/datasets/simple_extractor_dataset.py:44
↓ 1 callersMethod_box2cs
(self, box)
imagdressing/preprocess/humanparsing/mhp_extension/global_local_parsing/global_local_datasets.py:45
↓ 1 callersMethod_box2cs
(self, box)
imagdressing/preprocess/humanparsing/mhp_extension/global_local_parsing/global_local_datasets.py:151
↓ 1 callersMethod_build_res5_block
(self, cfg)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/roi_heads.py:383
↓ 1 callersFunction_cached_log_stream
(filename)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/logger.py:100
↓ 1 callersMethod_calculate_anchors
(self, sizes, aspect_ratios)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/anchor_generator.py:136
↓ 1 callersMethod_calculate_anchors
(self, sizes, aspect_ratios, angles)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/anchor_generator.py:285
↓ 1 callersFunction_called_with_cfg
Returns: bool: whether the arguments contain CfgNode and should be considered forwarded to from_config.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/config/config.py:190
↓ 1 callersMethod_cat_each
(self, feat1, feat2, feat3, feat4, feat5)
imagdressing/preprocess/humanparsing/networks/context_encoding/ocnet.py:198
↓ 1 callersFunction_check_and_update
(key, value)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:404
↓ 1 callersFunction_check_bn
(module, flag)
imagdressing/preprocess/humanparsing/utils/schp.py:24
↓ 1 callersMethod_check_image
(self, image_rgb)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/base.py:66
↓ 1 callersMethod_check_mask_matrix
(self, mask, matrix)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/base.py:71
↓ 1 callersMethod_check_output_dims
(self, S, I, U, V)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/structures.py:222
↓ 1 callersFunction_check_size_scale_factor
(dim)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/wrappers.py:190
↓ 1 callersFunction_combine_images_with_annotations
( dataset_name: str, image_root: str, img_datas: Iterable[Dict[str, Any]], ann_datas: Iterable
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/datasets/coco.py:197
↓ 1 callersFunction_compute_num_images_per_worker
(cfg: CfgNode)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/build.py:33
↓ 1 callersFunction_configure_libraries
Configurations for some libraries.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/env.py:45
↓ 1 callersMethod_convert_boxes
Convert different format of boxes to an NxB array, where B = 4 or 5 is the box dimension.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:1099
↓ 1 callersMethod_convert_category_id
(self, segment_info)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/panoptic_evaluation.py:49
↓ 1 callersMethod_convert_inputs
(self, batched_inputs)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/caffe2_inference.py:112
↓ 1 callersMethod_convert_keypoints
(self, keypoints)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:1131
↓ 1 callersMethod_convert_masks
Convert different format of masks or polygons to a tuple of masks and polygons. Returns: list[GenericMask]:
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:1108
↓ 1 callersFunction_count_samples
(x)
imagdressing/preprocess/humanparsing/modules/functions.py:52
↓ 1 callersFunction_create_const_fill_op_from_c2_int8_tensor
(name, int8_tensor)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:243
↓ 1 callersFunction_create_const_fill_op_from_numpy
(name, tensor, device_option=None)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:222
↓ 1 callersFunction_create_gradient_clipper
Creates gradient clipping closure to clip by value or by norm, according to the provided config.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/solver/build.py:19
↓ 1 callersMethod_create_proposals_from_boxes
Args: boxes (list[Tensor]): per-image predicted boxes, each of shape Ri x 4 image_sizes (list[tuple]): list of image
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/cascade_rcnn.py:277
↓ 1 callersFunction_criterion_parallel_apply
(modules, inputs, targets, kwargs_tup=None, devices=None)
imagdressing/preprocess/humanparsing/utils/encoding.py:135
↓ 1 callersFunction_del
(key_seq: List[str])
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/config/compat.py:134
↓ 1 callersMethod_detect_anomaly
(self, losses, loss_dict)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/engine/train_loop.py:236
↓ 1 callersMethod_do_eval
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/engine/hooks.py:323
↓ 1 callersFunction_do_paste_mask
Args: masks: N, 1, H, W boxes: N, 4 img_h, img_w (int): skip_empty (bool): only paste masks within the region tha
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/mask_ops.py:16
↓ 1 callersMethod_draw_line
( self, image_bgr, arr, mask, v, color_bgr, linewidth,
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/densepose.py:205
← previousnext →401–500 of 2,064, ranked by callers