MCPcopy Create free account

hub / github.com/Zheng-Chong/CatVTON / functions

Functions2,283 in github.com/Zheng-Chong/CatVTON

↓ 1 callersMethodbuild_hooks
Build a list of default hooks, including timing, evaluation, checkpointing, lr scheduling, precise BN, writing events. Retur
detectron2/engine/defaults.py:420
↓ 1 callersFunctionbuild_inference_based_loader
Constructs data loader based on inference results of a model.
densepose/data/build.py:651
↓ 1 callersFunctionbuild_inference_based_loaders
( cfg: CfgNode, model: torch.nn.Module )
densepose/data/build.py:691
↓ 1 callersFunctionbuild_keypoint_head
Build a keypoint head from `cfg.MODEL.ROI_KEYPOINT_HEAD.NAME`.
detectron2/modeling/roi_heads/keypoint_head.py:32
↓ 1 callersFunctionbuild_lr_scheduler
Build a LR scheduler from config.
detectron2/solver/build.py:283
↓ 1 callersMethodbuild_lr_scheduler
It now calls :func:`detectron2.solver.build_lr_scheduler`. Overwrite it if you'd like a different scheduler.
detectron2/engine/defaults.py:535
↓ 1 callersFunctionbuild_optimizer
Build an optimizer from config.
detectron2/solver/build.py:119
↓ 1 callersMethodbuild_optimizer
Returns: torch.optim.Optimizer: It now calls :func:`detectron2.solver.build_optimizer`. Overwrite it if you'd li
detectron2/engine/defaults.py:524
↓ 1 callersFunctionbuild_pose_hrnet_backbone
(cfg, input_shape: ShapeSpec)
densepose/modeling/hrnet.py:474
↓ 1 callersFunctionbuild_roi_heads
Build ROIHeads defined by `cfg.MODEL.ROI_HEADS.NAME`.
detectron2/modeling/roi_heads/roi_heads.py:38
↓ 1 callersFunctionbuild_rpn_head
Build an RPN head defined by `cfg.MODEL.RPN.HEAD_NAME`.
detectron2/modeling/proposal_generator/rpn.py:58
↓ 1 callersMethodbuild_test_loader
Returns: iterable It now calls :func:`detectron2.data.build_detection_test_loader`. Overwrite it if you'd like a
detectron2/engine/defaults.py:554
↓ 1 callersMethodbuild_test_loader
(cls, cfg: CfgNode, dataset_name)
densepose/engine/trainer.py:219
↓ 1 callersFunctionbuild_transform
(cfg: CfgNode, data_type: str)
densepose/data/build.py:517
↓ 1 callersMethodbuild_writers
Build a list of writers to be used using :func:`default_writers()`. If you'd like a different list of writers, you can overwrite it i
detectron2/engine/defaults.py:470
↓ 1 callersMethodc2_postprocess
(im_info, rpn_rois, rpn_roi_probs, tensor_mode)
detectron2/export/c10.py:271
↓ 1 callersMethodc2_preprocess
(box_lists)
detectron2/export/c10.py:289
↓ 1 callersMethodcat
Concatenates a list of RotatedBoxes into a single RotatedBoxes Arguments: boxes_list (list[RotatedBoxes]) Retur
detectron2/structures/rotated_boxes.py:459
↓ 1 callersMethodcat
Concatenates a list of BitMasks into a single BitMasks Arguments: bitmasks_list (list[BitMasks]) Returns:
detectron2/structures/masks.py:243
↓ 1 callersFunctioncheck_if_dynamo_compiling
()
detectron2/layers/wrappers.py:42
↓ 1 callersMethodcheck_inputs
(self, image, condition_image, mask, width, height)
model/pipeline.py:81
↓ 1 callersMethodcheck_inputs
(self, image, condition_image, width, height)
model/pipeline.py:228
↓ 1 callersMethodcheck_inputs
( self, height, width, callback_on_step_end_tensor_inputs=None, max_se
model/flux/pipeline_flux_tryon.py:158
↓ 1 callersFunctionciou_loss
Complete Intersection over Union Loss (Zhaohui Zheng et. al) https://arxiv.org/abs/1911.08287 Args: boxes1, boxes2 (Tensor): box
detectron2/layers/losses.py:66
↓ 1 callersMethodclear_histograms
Delete all the stored histograms for visualization. This should be called after histograms are written to tensorboard.
detectron2/utils/events.py:552
↓ 1 callersMethodclear_images
Delete all the stored images for visualization. This should be called after images are written to tensorboard.
detectron2/utils/events.py:545
↓ 1 callersMethodcloth_agnostic_mask
( densepose_mask: Image.Image, schp_lip_mask: Image.Image, schp_atr_mask: Image.Image,
model/cloth_masker.py:188
↓ 1 callersFunctioncollect_torch_env
()
detectron2/utils/collect_env.py:17
↓ 1 callersFunctioncombine_semantic_and_instance_outputs
Implement a simple combining logic following "combine_semantic_and_instance_predictions.py" in panopticapi to produce panoptic segmentati
detectron2/modeling/meta_arch/panoptic_fpn.py:184
↓ 1 callersMethodcomputeDPIoU
(self, imgId, catId)
densepose/evaluation/densepose_coco_evaluation.py:379
↓ 1 callersMethodcomputeOgps_single_pair
(self, dt, gt, py, px, pt_mask)
densepose/evaluation/densepose_coco_evaluation.py:619
↓ 1 callersMethodcompute_ctrness_targets
(self, anchors: List[Boxes], gt_boxes: List[torch.Tensor])
detectron2/modeling/meta_arch/fcos.py:240
↓ 1 callersMethodcompute_iou_dt_gt
(self, dt, gt, is_crowd)
detectron2/evaluation/rotated_coco_evaluation.py:57
↓ 1 callersFunctionconstruct_init_net_from_params
Construct the init_net from params dictionary
detectron2/export/shared.py:295
↓ 1 callersFunctioncontain_targets
(op_ssa)
detectron2/export/shared.py:707
↓ 1 callersMethodcontext_to_image_bgr
(self, context)
densepose/vis/densepose_results.py:42
↓ 1 callersMethodconvert
Convert DensePose predictor outputs to DensePoseResult using some registered converter. Does recursive lookup for base classes, so th
densepose/converters/to_chart_result.py:25
↓ 1 callersMethodconvert
Convert DensePose predictor outputs to DensePoseResult with confidences using some registered converter. Does recursive lookup for ba
densepose/converters/to_chart_result.py:54
↓ 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
detectron2/data/detection_utils.py:60
↓ 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
detectron2/checkpoint/c2_model_loading.py:9
↓ 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
detectron2/modeling/poolers.py:72
↓ 1 callersFunctionconvert_c2_detectron_names
Map Caffe2 Detectron weight names to Detectron2 names. Args: weights (dict): name -> tensor Returns: dict: detectron2 n
detectron2/checkpoint/c2_model_loading.py:65
↓ 1 callersMethodconvert_frozen_batchnorm
Convert all BatchNorm/SyncBatchNorm in module into FrozenBatchNorm. Args: module (torch.nn.Module): Returns:
detectron2/layers/batch_norm.py:102
↓ 1 callersFunctionconvert_to_coco_dict
Convert an instance detection/segmentation or keypoint detection dataset in detectron2's standard format into COCO json format. Generic
detectron2/data/datasets/coco.py:311
↓ 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
detectron2/data/datasets/coco.py:455
↓ 1 callersFunctioncopy_resize_gt
(gt_folder, height)
eval.py:67
↓ 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.
detectron2/export/shared.py:270
↓ 1 callersMethodcreate_context
(self, cfg, output_path)
model/DensePose/__init__.py:65
↓ 1 callersFunctioncreate_ddp_model
Create a DistributedDataParallel model if there are >1 processes. Args: model: a torch.nn.Module fp16_compression: add fp16
detectron2/engine/defaults.py:60
↓ 1 callersMethodcreate_embed_loss
(cls, cfg: CfgNode)
densepose/modeling/losses/cse.py:51
↓ 1 callersFunctioncreate_embedder
Create an embedder based on the provided configuration Args: embedder_spec (CfgNode): embedder configuration embedder_dim (i
densepose/modeling/cse/embedder.py:31
↓ 1 callersFunctioncreate_extractor
Create an extractor for the provided visualizer
densepose/vis/extractor.py:41
↓ 1 callersMethodcreate_from
(self, module)
detectron2/export/caffe2_patch.py:38
↓ 1 callersFunctioncreate_keypoint_hflip_indices
Args: dataset_names: list of dataset names Returns: list[int]: a list of size=#keypoints, storing the horizontally-f
detectron2/data/detection_utils.py:524
↓ 1 callersFunctioncreate_prediction_pairs
Args: instances: predictions from current frame prev_instances: predictions from previous frame iou_all: 2D numpy array c
detectron2/tracking/utils.py:8
↓ 1 callersFunctioncreate_video_frame_mapping
(dataset_name, dataset_dicts)
densepose/data/datasets/coco.py:339
↓ 1 callersMethodcreate_visualization_context
(self, image_bgr: Image)
densepose/vis/densepose_results.py:36
↓ 1 callersFunctiondecorate_cse_predictor_output_class_with_confidences
Create a new output class from an existing one by adding new attributes related to confidence estimation: - coarse_segm_confidence (tenso
densepose/structures/cse_confidence.py:12
↓ 1 callersFunctiondecorate_predictor_output_class_with_confidences
Create a new output class from an existing one by adding new attributes related to confidence estimation: - sigma_1 (tensor) - sigma_
densepose/structures/chart_confidence.py:12
↓ 1 callersFunctiondefault_writers
Build a list of :class:`EventWriter` to be used. It now consists of a :class:`CommonMetricPrinter`, :class:`TensorboardXWriter` and :clas
detectron2/engine/defaults.py:230
↓ 1 callersFunctiondensepose_chart_predictions_to_dict
(instances)
densepose/evaluation/evaluator.py:237
↓ 1 callersFunctiondensepose_chart_predictions_to_storage_dict
(instances)
densepose/evaluation/evaluator.py:263
↓ 1 callersFunctiondensepose_cse_predictions_to_dict
(instances, embedder, class_to_mesh_name, use_storage)
densepose/evaluation/evaluator.py:277
↓ 1 callersFunctiondensepose_inference
Splits DensePose predictor outputs into chunks, each chunk corresponds to detections on one image. Predictor output chunks are stored in `pre
densepose/modeling/inference.py:11
↓ 1 callersMethoddevice
(self)
detectron2/modeling/meta_arch/rcnn.py:85
↓ 1 callersMethoddevice
(self)
detectron2/structures/keypoints.py:40
↓ 1 callersMethoddevice
(self)
detectron2/structures/rotated_boxes.py:479
↓ 1 callersFunctiondiou_loss
Distance Intersection over Union Loss (Zhaohui Zheng et. al) https://arxiv.org/abs/1911.08287 Args: boxes1, boxes2 (Tensor): box
detectron2/layers/losses.py:5
↓ 1 callersMethoddowngrade
(cls, cfg: CN)
detectron2/config/compat.py:222
↓ 1 callersFunctiondowngrade_config
Downgrade a config from its current version to an older version. Args: cfg (CfgNode): to_version (int): Note: A
detectron2/config/compat.py:55
↓ 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
detectron2/utils/visualizer.py:801
↓ 1 callersMethoddraw_box
Args: box_coord (tuple): a tuple containing x0, y0, x1, y1 coordinates, where x0 and y0 are the coordinates of th
detectron2/utils/visualizer.py:911
↓ 1 callersMethoddraw_circle
Args: circle_coord (list(int) or tuple(int)): contains the x and y coordinates of the center of the circle.
detectron2/utils/visualizer.py:1000
↓ 1 callersMethoddraw_panoptic_seg
Draw panoptic prediction annotations or results. Args: panoptic_seg (Tensor): of shape (height, width) where the values
detectron2/utils/visualizer.py:484
↓ 1 callersMethoddraw_rotated_box_with_label
Draw a rotated box with label on its top-left corner. Args: rotated_box (tuple): a tuple containing (cnt_x, cnt_y, w, h,
detectron2/utils/visualizer.py:945
↓ 1 callersFunctiondump_code
(prefix, mod)
detectron2/export/torchscript.py:95
↓ 1 callersFunctionempty_input_loss_func_wrapper
(loss_func)
detectron2/layers/wrappers.py:75
↓ 1 callersMethodencode_additional_info
Save extra metadata that will be used by inference in the output protobuf.
detectron2/export/caffe2_modeling.py:178
↓ 1 callersMethodencode_json_sem_seg
Convert semantic segmentation to COCO stuff format with segments encoded as RLEs. See http://cocodataset.org/#format-results
detectron2/evaluation/sem_seg_evaluation.py:232
↓ 1 callersMethodevaluate
(self)
detectron2/evaluation/evaluator.py:90
↓ 1 callersMethodevaluate
Args: img_ids: a list of image IDs to evaluate on. Default to None for the whole dataset
detectron2/evaluation/coco_evaluation.py:177
↓ 1 callersMethodexecute_on_outputs
(self, context, entry, outputs)
model/DensePose/__init__.py:90
↓ 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,
detectron2/export/caffe2_export.py:125
↓ 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(*
detectron2/export/caffe2_export.py:34
↓ 1 callersMethodextract_embedder_from_model
(cls, model: nn.Module)
densepose/engine/trainer.py:78
↓ 1 callersMethodextract_iuv_from_quantized
(self, dt, gt, py, px, pt_mask)
densepose/evaluation/densepose_coco_evaluation.py:654
↓ 1 callersMethodextract_segmentation_mask
(annotation)
densepose/structures/data_relative.py:92
↓ 1 callersMethodfake_value
Fake segmentation loss used when no suitable ground truth data was found in a batch. The loss has a value 0 and is primarily used to
densepose/modeling/losses/segm.py:71
↓ 1 callersMethodfake_values
(self, densepose_predictor_outputs: Any, embedder: nn.Module)
densepose/modeling/losses/embed.py:114
↓ 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
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
detectron2/modeling/roi_heads/rotated_fast_rcnn.py:84
↓ 1 callersFunctionfetch_any_blob
(name)
detectron2/export/shared.py:157
↓ 1 callersFunctionfilter_images_with_few_keypoints
Filter out images with too few number of keypoints. Args: dataset_dicts (list[dict]): annotations in Detectron2 Dataset format.
detectron2/data/build.py:77
↓ 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
detectron2/data/build.py:46
↓ 1 callersMethodfindAllClosestVertsGT
(self, gt)
densepose/evaluation/densepose_coco_evaluation.py:1193
↓ 1 callersMethodfindAllClosestVertsUV
(self, U_points, V_points, Index_points)
densepose/evaluation/densepose_coco_evaluation.py:1166
↓ 1 callersMethodfindClosestVertsCse
(self, embedding, py, px, mask, mesh_name)
densepose/evaluation/densepose_coco_evaluation.py:1184
↓ 1 callersFunctionfind_relative_file
(original_file, relative_import_path, level)
detectron2/config/lazy.py:114
↓ 1 callersFunctionfind_top_rpn_proposals
For each feature map, select the `pre_nms_topk` highest scoring proposals, apply NMS, clip proposals, and remove small boxes. Return the `pos
detectron2/modeling/proposal_generator/proposal_utils.py:22
↓ 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
detectron2/modeling/proposal_generator/rrpn.py:20
← previousnext →801–900 of 2,283, ranked by callers