MCPcopy Create free account

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

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

↓ 1 callersMethodcompute_peaks_from_heatmaps
(self, heatmaps)
imagdressing/preprocess/openpose/annotator/openpose/face.py:353
↓ 1 callersFunctionconstruct_init_net_from_params
Construct the init_net from params dictionary
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:290
↓ 1 callersFunctioncontain_targets
(op_ssa)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:701
↓ 1 callersMethodcontext_to_image_bgr
(self, context)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/densepose.py:95
↓ 1 callersFunctionconv_1x1_bn
(inp, oup)
imagdressing/preprocess/humanparsing/networks/backbone/mobilenetv2.py:33
↓ 1 callersFunctionconv_bn
(inp, oup, stride)
imagdressing/preprocess/humanparsing/networks/backbone/mobilenetv2.py:25
↓ 1 callersFunctionconvert_PIL_to_numpy
Convert PIL image to numpy array of target format. Args: image (PIL.Image): a PIL image format (str): the format of output i
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/detection_utils.py:41
↓ 1 callersFunctionconvert_basic_c2_names
Apply some basic name conversion to names in C2 weights. It only deals with typical backbone models. Args: original_keys (list[s
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/checkpoint/c2_model_loading.py:12
↓ 1 callersFunctionconvert_boxes_to_pooler_format
Convert all boxes in `box_lists` to the low-level format used by ROI pooling ops (see description under Returns). Args: box_list
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/poolers.py:47
↓ 1 callersFunctionconvert_c2_detectron_names
Map Caffe2 Detectron weight names to Detectron2 names. Args: weights (dict): name -> tensor Returns: dict: detectron2 n
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/checkpoint/c2_model_loading.py:68
↓ 1 callersFunctionconvert_to_coco_json
Converts dataset into COCO format and saves it to a json file. dataset_name must be registered in DatasetCatalog and in detectron2's standard
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/datasets/coco.py:404
↓ 1 callersFunctioncreate_argument_parser
()
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/apply_net.py:295
↓ 1 callersFunctioncreate_argument_parser
()
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/query_db.py:227
↓ 1 callersMethodcreate_complex_model
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/test_checkpoint.py:15
↓ 1 callersFunctioncreate_const_fill_op
Given a blob object, return the Caffe2 operator that creates this blob as constant. Currently support NumPy tensor and Caffe2 Int8Tensor.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:265
↓ 1 callersMethodcreate_context
(cls: type, args: argparse.Namespace)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/apply_net.py:167
↓ 1 callersMethodcreate_context
(cls: type, args: argparse.Namespace)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/query_db.py:184
↓ 1 callersFunctioncreate_extractor
Create an extractor for the provided visualizer
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/extractor.py:32
↓ 1 callersMethodcreate_from
(self, module)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/patcher.py:35
↓ 1 callersFunctioncreate_instances
(predictions, image_size)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tools/visualize_json_results.py:19
↓ 1 callersMethodcreate_visualization_context
(self, image_bgr: Image)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/densepose.py:76
↓ 1 callersFunctioncrop_transform
Find a cropping window such that no single category occupies more than `single_category_max_area` in `sem_seg`. The function retries rand
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/PointRend/point_rend/dataset_mapper.py:100
↓ 1 callersFunctiondataset_id_map
(ds_id)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tools/visualize_json_results.py:64
↓ 1 callersFunctiondensepose_inference
Infer dense pose estimate based on outputs from the DensePose head and detections. The estimate for each detection instance is stored in its
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/densepose_head.py:519
↓ 1 callersMethoddevice
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/meta_arch/retinanet.py:112
↓ 1 callersMethoddevice
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/keypoints.py:40
↓ 1 callersMethoddevice
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/rotated_boxes.py:456
↓ 1 callersFunctiondo_train
(cfg, model, resume=False)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tools/plain_train_net.py:126
↓ 1 callersMethoddowngrade
(cls, cfg: CN)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/config/compat.py:222
↓ 1 callersMethoddraw_and_connect_keypoints
Draws keypoints of an instance and follows the rules for keypoint connections to draw lines between appropriate keypoints. This follo
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:703
↓ 1 callersMethoddraw_box
Args: box_coord (tuple): a tuple containing x0, y0, x1, y1 coordinates, where x0 and y0 are the coordinates of th
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:812
↓ 1 callersMethoddraw_circle
Args: circle_coord (list(int) or tuple(int)): contains the x and y coordinates of the center of the circle.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:899
↓ 1 callersFunctiondraw_pose
(pose, H, W, draw_body=True, draw_hand=True, draw_face=True)
imagdressing/preprocess/openpose/annotator/openpose/__init__.py:25
↓ 1 callersMethoddraw_rotated_box_with_label
Args: rotated_box (tuple): a tuple containing (cnt_x, cnt_y, w, h, angle), where cnt_x and cnt_y are the center c
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:846
↓ 1 callersFunctionedz_eydz_cpu
imagdressing/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:66
↓ 1 callersFunctionelu_backward_cpu
imagdressing/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:103
↓ 1 callersMethodencode_additional_info
Save extra metadata that will be used by inference in the output protobuf.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/caffe2_modeling.py:180
↓ 1 callersMethodencode_json_sem_seg
Convert semantic segmentation to COCO stuff format with segments encoded as RLEs. See http://cocodataset.org/#format-results
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/sem_seg_evaluation.py:148
↓ 1 callersMethodencode_png_data
Encode array data as a PNG image using the highest compression rate @param arr [in] Data stored in an array of size (3, M, N) of type
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/structures.py:473
↓ 1 callersMethodevaluate
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/evaluator.py:88
↓ 1 callersMethodevaluate
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/coco_evaluation.py:118
↓ 1 callersMethodexecute_on_outputs
( cls: type, context: Dict[str, Any], entry: Dict[str, Any], outputs: Instances )
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/apply_net.py:149
↓ 1 callersFunctionexport_caffe2_detection_model
Export a caffe2-compatible Detectron2 model to caffe2 format via ONNX. Arg: model: a caffe2-compatible version of detectron2 model,
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/caffe2_export.py:129
↓ 1 callersFunctionexport_caffe2_model
Export a detectron2 model to caffe2 format. Args: cfg (CfgNode): a detectron2 config, with extra export-related options
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/api.py:138
↓ 1 callersFunctionexport_onnx_model
Trace and export a model to onnx format. Args: model (nn.Module): inputs (tuple[args]): the model will be called by `model(*
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/caffe2_export.py:33
↓ 1 callersMethodexport_torchscript
Export the model to a `torch.jit.TracedModule` by tracing. The returned object can be saved to a file by ".save()". Returns:
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/api.py:123
↓ 1 callersFunctionextend
imagdressing/preprocess/humanparsing/mhp_extension/logits_fusion.py:48
↓ 1 callersMethodextract_segmentation_mask
(annotation)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/structures.py:105
↓ 1 callersFunctionfast_rcnn_inference_rotated
Call `fast_rcnn_inference_single_image_rotated` for all images. Args: boxes (list[Tensor]): A list of Tensors of predicted class-spe
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/rotated_fast_rcnn.py:46
↓ 1 callersFunctionfast_rcnn_inference_single_image_rotated
Single-image inference. Return rotated bounding-box detection results by thresholding on scores and applying rotated non-maximum suppression
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/rotated_fast_rcnn.py:83
↓ 1 callersFunctionfetch_any_blob
(name)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:152
↓ 1 callersFunctionfilter_images_with_only_crowd_annotations
Filter out images with none annotations or only crowd annotations (i.e., images without non-crowd annotations). A common training-time pr
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/build.py:38
↓ 1 callersMethodfindAllClosestVerts
(self, gt, U_points, V_points, Index_points)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/densepose_coco_evaluation.py:1012
↓ 1 callersFunctionfind_top_rrpn_proposals
For each feature map, select the `pre_nms_topk` highest scoring proposals, apply NMS, clip proposals, and remove small boxes. Return the `pos
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/proposal_generator/rrpn.py:19
↓ 1 callersFunctionflatten_probas
Flattens predictions in the batch.
imagdressing/preprocess/humanparsing/utils/kl_loss.py:18
↓ 1 callersFunctionflatten_results_dict
Expand a hierarchical dict of scalars into a flat dict of scalars. If results[k1][k2][k3] = v, the returned dict will have the entry {"k1
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/testing.py:61
↓ 1 callersFunctionfmt_box_list
(box_tensor, batch_index)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/poolers.py:71
↓ 1 callersMethodforward
(ctx, x, weight, bias, running_mean, running_var, training=True, momentum=0.1, eps=1e-05, acti
imagdressing/preprocess/humanparsing/modules/functions.py:80
↓ 1 callersMethodforward
(ctx, input)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/batch_norm.py:157
↓ 1 callersMethodforward
(self, images, features, gt_instances=None)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/c10.py:161
↓ 1 callersMethodforward
See :class:`Res5ROIHeads.forward`.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TridentNet/tridentnet/trident_rcnn.py:60
↓ 1 callersMethodforward
(self, X)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TensorMask/tensormask/layers/swap_align2nat.py:53
↓ 1 callersMethodforward
(self, features)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/roi_head.py:73
↓ 1 callersMethodforward
(self, x)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/densepose_head.py:193
↓ 1 callersFunctionforward_cpu
imagdressing/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:54
↓ 1 callersMethodforward_with_given_boxes
Use the given boxes in `instances` to produce other (non-box) per-ROI outputs. This is useful for downstream tasks where a box is kn
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/roi_heads.py:679
↓ 1 callersFunctionfpn_map
Look for keys with the following patterns: 1) Starts with "fpn.inner." Example: "fpn.inner.res2.2.sum.lateral.weight"
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/checkpoint/c2_model_loading.py:132
↓ 1 callersMethodfreeze
Freeze the first several stages of the ResNet. Commonly used in fine-tuning. Layers that produce the same feature map spatia
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/backbone/resnet.py:482
↓ 1 callersMethodfrom_config
(cls, cfg, input_shape)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/keypoint_head.py:144
↓ 1 callersMethodfrom_config
(cls, cfg)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/roi_heads.py:166
↓ 1 callersMethodfrom_config
(cls, cfg, input_shape)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/mask_head.py:163
↓ 1 callersMethodfrom_ssa
(ssa)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:816
↓ 1 callersMethodfrom_string
(spec: str)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/utils/dbhelper.py:11
↓ 1 callersFunctionfuse_alias_placeholder
Remove AliasWithName placeholder and rename the input/output of it
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:599
↓ 1 callersFunctionfuse_copy_between_cpu_and_gpu
In-place fuse extra copy ops between cpu/gpu for the following case: a -CopyAToB-> b -CopyBToA> c1 -NextOp1-> d1
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:952
↓ 1 callersMethodgenerate_cell_anchors
Generate a tensor storing canonical anchor boxes, which are all anchor boxes of different sizes and aspect_ratios centered at (0, 0).
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/anchor_generator.py:177
↓ 1 callersMethodgenerate_cell_anchors
Generate a tensor storing canonical anchor boxes, which are all anchor boxes of different sizes, aspect_ratios, angles centered at (0
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/anchor_generator.py:325
↓ 1 callersFunctiongenerate_regular_grid_point_coords
Generate regular square grid of points in [0, 1] x [0, 1] coordinate space. Args: R (int): The number of grids to sample, one for ea
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/PointRend/point_rend/point_features.py:45
↓ 1 callersMethodget
Returns the field called `name`.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/instances.py:89
↓ 1 callersMethodgetDensePoseMask
(self, polys)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/densepose_coco_evaluation.py:329
↓ 1 callersMethodgetDistances
(self, cVertsGT, cVerts)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/densepose_coco_evaluation.py:1045
↓ 1 callersMethodget_all_paths
(self, s, d)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:795
↓ 1 callersFunctionget_arguments
()
imagdressing/preprocess/humanparsing/mhp_extension/logits_fusion.py:291
↓ 1 callersFunctionget_arguments
()
imagdressing/preprocess/humanparsing/mhp_extension/make_crop_and_mask_w_mask_nms.py:98
↓ 1 callersFunctionget_arguments
Parse all the arguments provided from the CLI. Returns: A list of parsed arguments.
imagdressing/preprocess/humanparsing/mhp_extension/global_local_parsing/global_local_train.py:35
↓ 1 callersFunctionget_arguments
Parse all the arguments provided from the CLI. Returns: A list of parsed arguments.
imagdressing/preprocess/humanparsing/mhp_extension/global_local_parsing/global_local_evaluate.py:32
↓ 1 callersFunctionget_arguments
()
imagdressing/preprocess/humanparsing/mhp_extension/coco_style_annotation_creator/human_to_coco.py:11
↓ 1 callersFunctionget_arguments
()
imagdressing/preprocess/humanparsing/mhp_extension/coco_style_annotation_creator/test_human2coco_format.py:10
↓ 1 callersMethodget_bounding_boxes
(self)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/masks.py:202
↓ 1 callersMethodget_caffe2_inputs
Convert pytorch-style structured inputs to caffe2-style inputs that are tuples of tensors. Args: batched_inputs
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/caffe2_modeling.py:156
↓ 1 callersFunctionget_checkpoint_url
Returns the URL to the model trained using the given config Args: config_path (str): config file name relative to detectron2's "conf
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/model_zoo/model_zoo.py:83
↓ 1 callersFunctionget_config_file
Returns path to a builtin config file. Args: config_path (str): config file name relative to detectron2's "configs/" dir
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/model_zoo/model_zoo.py:101
↓ 1 callersFunctionget_config_files
Get all the configuration files (relative to the base configuration directory)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/tests/common.py:60
↓ 1 callersMethodget_deltas
Get box regression transformation deltas (dx, dy, dw, dh, da) that can be used to transform the `src_boxes` into the `target_boxes`.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/box_regression.py:165
↓ 1 callersFunctionget_dir
(src_point, rot_rad)
imagdressing/preprocess/humanparsing/utils/transforms.py:149
↓ 1 callersFunctionget_env_module
()
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/collect_env.py:29
↓ 1 callersFunctionget_evaluator
Create evaluator(s) for a given dataset. This uses the special metadata "evaluator_type" associated with each builtin dataset. For your o
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tools/plain_train_net.py:61
↓ 1 callersFunctionget_evolution_config_files
Get all the evolution configuration files (relative to the base configuration directory)
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/tests/common.py:67
↓ 1 callersFunctionget_extensions
()
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/setup.py:40
↓ 1 callersFunctionget_extensions
()
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TensorMask/setup.py:11
← previousnext →701–800 of 2,064, ranked by callers