MCPcopy Create free account

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

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

↓ 1 callersMethodget_ground_truth
Args: anchors (list[Boxes]): A list of #feature level Boxes. The Boxes contains anchors of this image on the spec
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/meta_arch/retinanet.py:265
↓ 1 callersMethodget_ground_truth
Args: anchors (list[list[Boxes]]): a list of N=#image elements. Each is a list of #feature level Boxes. The Boxes
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TensorMask/tensormask/arch.py:494
↓ 1 callersMethodget_image_bgr_from_context
(self, context)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/densepose.py:46
↓ 1 callersMethodget_image_bgr_from_context
(self, context)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/densepose.py:148
↓ 1 callersMethodget_image_embeds
(self, clip_image=None, faceid_embeds=None)
imagdressing/dressing_sd/pipelines/IMAGDressing_v1_pipeline_ipa_controlnet.py:367
↓ 1 callersFunctionget_instance
imagdressing/preprocess/humanparsing/mhp_extension/logits_fusion.py:136
↓ 1 callersMethodget_lr
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/solver/lr_scheduler.py:38
↓ 1 callersMethodget_lr
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/solver/lr_scheduler.py:68
↓ 1 callersFunctionget_mask_location
(model_type, category, model_parse: Image.Image, keypoint: dict, width=384,height=512)
imagdressing/preprocess/utils_mask.py:54
↓ 1 callersFunctionget_metadata
Returns metadata associated with COCO DensePose data Args: base_path: Optional[os.PathLike] Base path used to load metadata from
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/datasets/coco.py:93
↓ 1 callersFunctionget_model
Get the model from the specified file (relative to the base configuration directory)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/tests/common.py:96
↓ 1 callersFunctionget_model_zoo_configs
Return a list of configs to include in package for model zoo. Copy over these configs inside detectron2/model_zoo.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/setup.py:89
↓ 1 callersMethodget_outputs_converter
Creates a function that converts outputs of the caffe2 model to detectron2's standard format. The function uses information i
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/caffe2_modeling.py:219
↓ 1 callersFunctionget_palette
Returns the color map for visualizing the segmentation mask. Args: num_cls: Number of classes Returns: The color map
imagdressing/preprocess/humanparsing/parsing_api.py:19
↓ 1 callersFunctionget_palette
Returns the color map for visualizing the segmentation mask. Inputs: =num_cls= Number of classes. Returns: The co
imagdressing/preprocess/humanparsing/mhp_extension/logits_fusion.py:92
↓ 1 callersFunctionget_palette
Returns the color map for visualizing the segmentation mask. Args: num_cls: Number of classes Returns: The color map
imagdressing/preprocess/humanparsing/mhp_extension/global_local_parsing/global_local_evaluate.py:61
↓ 1 callersFunctionget_params_from_init_net
Take the output blobs from init_net by running it. Outputs: params: dict from blob name to numpy array device_options: dict f
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:340
↓ 1 callersFunctionget_parser
()
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/demo/demo.py:33
↓ 1 callersFunctionget_pb_arg_floats
(pb, arg_name, default_val)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:179
↓ 1 callersFunctionget_point_coords_wrt_image
Convert box-normalized [0, 1] x [0, 1] point cooordinates to image-level coordinates. Args: boxes_coords (Tensor): A tensor of shape
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/PointRend/point_rend/point_features.py:192
↓ 1 callersFunctionget_quick_schedules_config_files
Get all the quick schedules configuration files (relative to the base configuration directory)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/tests/common.py:74
↓ 1 callersFunctionget_regular_bitmask_instances
(h, w)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/modeling/test_model_e2e.py:41
↓ 1 callersMethodget_text_size_wh
(self, txt)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/base.py:167
↓ 1 callersFunctionget_version
()
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/setup.py:17
↓ 1 callersMethodgrid_anchors_with_unit_lengths_and_indexes
(self, grid_sizes)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TensorMask/tensormask/arch.py:221
↓ 1 callersFunctiongroup_norm_replace_aten_with_caffe2
For ONNX exported model, GroupNorm will be represented as ATen op, this can be a drop in replacement from ATen to GroupNorm
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:563
↓ 1 callersFunctionguess_version
Guess the version of a partial config where the VERSION field is not specified. Returns the version, or the latest if cannot make a guess.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/config/compat.py:82
↓ 1 callersFunctionhas_annotations
(instance: Instance)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/build.py:92
↓ 1 callersFunctionhas_only_crowd_anotations
(instance: Instance)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/build.py:95
↓ 1 callersFunctionheatmaps_to_keypoints
Extract predicted keypoint locations from heatmaps. Args: maps (Tensor): (#ROIs, #keypoints, POOL_H, POOL_W). The predicted heatmap
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/keypoints.py:142
↓ 1 callersMethodhflip
Change S, I, U and V to take into account a Horizontal flip.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/structures.py:339
↓ 1 callersMethodhistories
Returns: dict[name -> HistoryBuffer]: the HistoryBuffer for all scalars
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/events.py:345
↓ 1 callersFunctionhole_fill
(img)
imagdressing/preprocess/utils_mask.py:30
↓ 1 callersFunctionhole_fill
(img)
imagdressing/preprocess/humanparsing/parsing_api.py:84
↓ 1 callersFunctionidentify_reshape_sub_graph
Idenfity the reshape sub-graph in a protobuf. The reshape sub-graph is defined as matching the following pattern: (input_blob) -> Op_1 -
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:855
↓ 1 callersMethodinference
Run inference on the given inputs. Args: batched_inputs (list[dict]): same as in :meth:`forward` detected_in
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/meta_arch/rcnn.py:141
↓ 1 callersFunctioninference_context
A context where the model is temporarily changed to eval mode, and restored to previous mode afterwards. Args: model: a torch Mo
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/evaluator.py:185
↓ 1 callersMethodinference_single_image
Single-image inference. Return bounding-box detection results by thresholding on scores and applying non-maximum suppression (NMS).
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/meta_arch/retinanet.py:346
↓ 1 callersMethodinference_single_image
Single-image inference. Return bounding-box detection results by thresholding on scores and applying non-maximum suppression (NMS).
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TensorMask/tensormask/arch.py:666
↓ 1 callersMethodinit_proj
(self)
imagdressing/dressing_sd/pipelines/IMAGDressing_v1_pipeline_ipa_controlnet.py:80
↓ 1 callersFunctioninitialize_pretrained_model
(model, settings, pretrained='./models/resnet101-imagenet.pth')
imagdressing/preprocess/humanparsing/networks/AugmentCE2P.py:367
↓ 1 callersMethodinside_box
Args: box_size (height, width): Size of the reference box. boundary_threshold (int): Boxes that extend beyond the ref
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/boxes.py:242
↓ 1 callersMethodinstances_to_json
(self, instances, img_id)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/rotated_coco_evaluation.py:124
↓ 1 callersFunctioniou_between_full_image_bit_masks
(a, b)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/layers/test_mask_ops.py:28
↓ 1 callersFunctionkeypoint_rcnn_inference
Post process each predicted keypoint heatmap in `pred_keypoint_logits` into (x, y, score) and add it to the `pred_instances` as a `pred_k
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/keypoint_head.py:90
↓ 1 callersFunctionkeypoint_rcnn_loss
Arguments: pred_keypoint_logits (Tensor): A tensor of shape (N, K, S, S) where N is the total number of instances in the batc
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/keypoint_head.py:31
↓ 1 callersMethodlabel_and_sample_anchors
Args: anchors (list[RotatedBoxes]): anchors for each feature map. gt_instances: the ground-truth instances for each i
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/proposal_generator/rrpn.py:140
↓ 1 callersMethodlabel_and_sample_anchors
Args: anchors (list[Boxes]): anchors for each feature map. gt_instances: the ground-truth instances for each image.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/proposal_generator/rpn.py:171
↓ 1 callersMethodlatest
Returns: dict[name -> number]: the scalars that's added in the current iteration.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/events.py:352
↓ 1 callersMethodlayers
Neural network layers that makes predictions from regional input features.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/keypoint_head.py:190
↓ 1 callersMethodlayers
(self, features)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/meta_arch/semantic_seg.py:169
↓ 1 callersFunctionleaky_relu_backward_cpu
imagdressing/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:85
↓ 1 callersMethodlist
List all registered data. Returns: list[str]
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/catalog.py:65
↓ 1 callersFunctionload_coco_json
Loads a JSON file with annotations in COCO instances format. Replaces `detectron2.data.data.coco.load_coco_json` to handle metadata in a
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/datasets/coco.py:229
↓ 1 callersFunctionload_for_dataset
(dataset_name)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/utils/transform.py:9
↓ 1 callersFunctionload_from_cfg
(cfg)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/utils/transform.py:15
↓ 1 callersMethodload_ip_adapter
(self)
imagdressing/dressing_sd/pipelines/IMAGDressing_v1_pipeline_ipa_controlnet.py:89
↓ 1 callersFunctionload_ipa_weights
(repo_id="SG161222/Realistic_Vision_V4.0_noVAE")
__init__.py:207
↓ 1 callersMethodload_protobuf
Args: dir (str): a directory used to save Caffe2Model with :meth:`save_protobuf`. The files "mode
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/api.py:246
↓ 1 callersFunctionload_voc_instances
Load Pascal VOC detection annotations to Detectron2 format. Args: dirname: Contain "Annotations", "ImageSets", "JPEGImages"
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/datasets/pascal_voc.py:24
↓ 1 callersFunctionload_weights
(use_case,seed,repo_id="SG161222/Realistic_Vision_V4.0_noVAE")
__init__.py:64
↓ 1 callersFunctionlog_every_n_seconds
Log no more than once per n seconds. Args: lvl (int): the logging level msg (str): n (int): name (str): name
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/logger.py:183
↓ 1 callersMethodlosses
Args: predictions: return values of :meth:`forward()`. proposals (list[Instances]): proposals that match the features
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/fast_rcnn.py:422
↓ 1 callersMethodlosses
(self, predictions, targets)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/meta_arch/semantic_seg.py:178
↓ 1 callersMethodlosses
Args: For `gt_classes` and `gt_anchors_deltas` parameters, see :meth:`RetinaNet.get_ground_truth`. Th
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/meta_arch/retinanet.py:210
↓ 1 callersFunctionmain
(args)
imagdressing/preprocess/humanparsing/mhp_extension/logits_fusion.py:282
↓ 1 callersFunctionmain
(args)
imagdressing/preprocess/humanparsing/mhp_extension/make_crop_and_mask_w_mask_nms.py:114
↓ 1 callersFunctionmain
()
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/apply_net.py:307
↓ 1 callersFunctionmain
()
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/query_db.py:239
↓ 1 callersFunctionmain
()
imagdressing/preprocess/humanparsing/mhp_extension/global_local_parsing/global_local_train.py:73
↓ 1 callersFunctionmain
Create the model and start the evaluation process.
imagdressing/preprocess/humanparsing/mhp_extension/global_local_parsing/global_local_evaluate.py:116
↓ 1 callersFunctionmain
(args)
imagdressing/preprocess/humanparsing/mhp_extension/coco_style_annotation_creator/human_to_coco.py:31
↓ 1 callersFunctionmain
(args)
imagdressing/preprocess/humanparsing/mhp_extension/coco_style_annotation_creator/test_human2coco_format.py:47
↓ 1 callersFunctionmake_crop_and_mask
(img_info, pred, file_list, crop_save_dir, mask_save_dir, args)
imagdressing/preprocess/humanparsing/mhp_extension/make_crop_and_mask_w_mask_nms.py:21
↓ 1 callersFunctionmake_dataset_dicts
Returns a list of dicts that represents a single COCO data point for object detection. The single instance given by `mask` is represented by
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/data/test_coco.py:29
↓ 1 callersFunctionmake_inpaint_condition
(image, image_mask)
__init__.py:51
↓ 1 callersFunctionmake_mask
Makes a donut shaped binary mask.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/data/test_coco.py:14
↓ 1 callersFunctionmake_model_inputs
(image, instances=None)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/tests/test_model_e2e.py:12
↓ 1 callersFunctionmake_trident_stage
Create a resnet stage by creating many blocks for TridentNet.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TridentNet/tridentnet/trident_backbone.py:119
↓ 1 callersFunctionmasked_mean
(t, *, dim, mask=None)
imagdressing/adapter/resampler.py:239
↓ 1 callersFunctionmatch
(a, b)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/checkpoint/c2_model_loading.py:239
↓ 1 callersFunctionmatched_boxlist_iou
Compute pairwise intersection over union (IOU) of two sets of matched boxes. The box order must be (xmin, ymin, xmax, ymax). Similar to b
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/boxes.py:343
↓ 1 callersFunctionmaybe_add_gradient_clipping
If gradient clipping is enabled through config options, wraps the existing optimizer instance of some type OptimizerType to become an instanc
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/solver/build.py:61
↓ 1 callersFunctionmean
nanmean compatible with generators.
imagdressing/preprocess/humanparsing/utils/soft_dice_loss.py:73
↓ 1 callersFunctionmean_var_cpu
imagdressing/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:45
↓ 1 callersFunctionmerge_to_panoptic
Create dataset dicts for panoptic segmentation, by merging two dicts using "file_name" field to match their entries. Args: detec
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/datasets/register_coco.py:107
↓ 1 callersFunctionmock_fastrcnn_outputs_inference
( tensor_mode, check=True, box_predictor_type=FastRCNNOutputLayers )
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/patcher.py:79
↓ 1 callersFunctionmock_keypoint_rcnn_inference
(tensor_mode, patched_module, use_heatmap_max_keypoint, check=True)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/patcher.py:104
↓ 1 callersFunctionmock_mask_rcnn_inference
(tensor_mode, patched_module, check=True)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/patcher.py:94
↓ 1 callersFunctionmulti_scale_testing
(model, batch_input_im, crop_size=[473, 473], flip=True, multi_scales=[1])
imagdressing/preprocess/humanparsing/mhp_extension/global_local_parsing/global_local_evaluate.py:85
↓ 1 callersMethodname_scope
Yields: A context within which all the events added to this storage will be prefixed by the name scope.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/events.py:409
↓ 1 callersFunctionnms
(x, t, s)
imagdressing/preprocess/openpose/annotator/util.py:45
↓ 1 callersFunctionnms_rotated_cpu
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:62
↓ 1 callersMethodnonempty
Find boxes that are non-empty. A box is considered empty, if either of its side is no larger than threshold. Returns:
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/rotated_boxes.py:302
↓ 1 callersFunctiononnx_inference
(session, lip_session, input_dir)
imagdressing/preprocess/humanparsing/parsing_api.py:121
↓ 1 callersMethodoverlay_rotated_instances
Args: boxes (ndarray): an Nx5 numpy array of (x_center, y_center, width, height, angle_degrees) format
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:664
↓ 1 callersFunctionpad_masks
Args: masks (tensor): A tensor of shape (B, M, M) representing B masks. padding (int): Number of cells to pad on all sides.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/mask_ops.py:207
↓ 1 callersFunctionparse_args
(in_args=None)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tools/visualize_data.py:26
↓ 1 callersFunctionparse_rec
Parse a PASCAL VOC xml file.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/pascal_voc_evaluation.py:126
↓ 1 callersMethodparsing_loss
Loss function definition. Args: preds: [[parsing result1, parsing result2],[edge result]] target: [parsing l
imagdressing/preprocess/humanparsing/utils/criterion.py:40
← previousnext →801–900 of 2,064, ranked by callers