MCPcopy Create free account

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

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

↓ 2 callersFunctionwindow_unpartition
Window unpartition into original sequences and removing padding. Args: x (tensor): input tokens with [B * num_windows, window_size, w
detectron2/modeling/backbone/utils.py:40
↓ 2 callersFunctionzl
(h,c)
resource/js/fontawesome.all.min.js:5
↓ 1 callersFunctionBilinearInterpolation
(tensor_in, up_scale)
detectron2/export/shared.py:47
↓ 1 callersFunctionMl
(c)
resource/js/fontawesome.all.min.js:5
↓ 1 callersFunctionNc
(c)
resource/js/fontawesome.all.min.js:5
↓ 1 callersMethod__exit__
(self, *args)
detectron2/export/shared.py:150
↓ 1 callersMethod__init__
Args: min_sizes: list of short-edge size to resize the image to max_size: maximum height or width of resized images
detectron2/modeling/test_time_augmentation.py:39
↓ 1 callersMethod__init__
Args: backbone: either a backbone module or a mmdet config dict that defines a backbone. The backbone takes a 4D
detectron2/modeling/mmdet_wrapper.py:43
↓ 1 callersMethod__init__
NOTE: this interface is experimental. Args: num_keypoints (int): number of keypoints to predict loss_weight
detectron2/modeling/roi_heads/keypoint_head.py:142
↓ 1 callersMethod__init__
NOTE: this interface is experimental. Args: loss_weight (float): multiplier of the loss vis_period (int): vi
detectron2/modeling/roi_heads/mask_head.py:167
↓ 1 callersMethod__init__
Args: backbone: a backbone module, must follow detectron2's backbone interface proposal_generator: a module that gene
detectron2/modeling/meta_arch/rcnn.py:34
↓ 1 callersMethod__init__
Args: center_sampling_radius: radius of the "center" of a groundtruth box, within which all anchor points are lab
detectron2/modeling/meta_arch/fcos.py:30
↓ 1 callersMethod__init__
NOTE: this interface is experimental. Args: input_shape: shapes (channels and stride) of the input features
detectron2/modeling/meta_arch/semantic_seg.py:153
↓ 1 callersMethod__init__
NOTE: this interface is experimental. Args: backbone: a backbone module, must follow detectron2's backbone interface
detectron2/modeling/meta_arch/retinanet.py:35
↓ 1 callersMethod__init__
NOTE: this interface is experimental. Args: in_features (list[str]): list of names of input features to use
detectron2/modeling/proposal_generator/rpn.py:187
↓ 1 callersMethod__init__
Args: size (int): the total number of data of the underlying dataset to sample from shuffle (bool): whether to shuffl
detectron2/data/samplers/distributed_sampler.py:36
↓ 1 callersMethod__init__
Args: image (ndarray): (H,W) or (H,W,C) ndarray of type uint8 in range [0, 255], or floating point in range [0, 1
detectron2/data/transforms/augmentation.py:310
↓ 1 callersMethod__init__
Args: model, data_loader, optimizer, gather_metric_period, zero_grad_before_forward, async_write_metrics: same as
detectron2/engine/train_loop.py:443
↓ 1 callersMethod__init__
The `__init__` method of any subclass should also contain these arguments. Args: in_channels (int): out_chan
detectron2/layers/blocks.py:29
↓ 1 callersMethod__init__
Deformable convolution from :paper:`deformconv`. Arguments are similar to :class:`Conv2D`. Extra arguments: Args:
detectron2/layers/deform_conv.py:317
↓ 1 callersMethod__init__
(self, predict_net, init_net)
detectron2/export/caffe2_inference.py:26
↓ 1 callersMethod__init__
( self, hidden_size=None, cross_attention_dim=None, **kwargs )
model/attn_processor.py:24
↓ 1 callersMethod__init__
(self, cfg)
densepose/modeling/test_time_augmentation.py:18
↓ 1 callersMethod__init__
(self, cfg, input_shape: Dict[str, ShapeSpec], in_features)
densepose/modeling/roi_heads/roi_head.py:35
↓ 1 callersMethod__len__
(self)
detectron2/modeling/anchor_generator.py:32
↓ 1 callersMethod__len__
(self)
detectron2/export/c10.py:97
↓ 1 callersMethod__len__
(self)
densepose/structures/list.py:41
↓ 1 callersMethod__new__
(cls, dataset, map_func)
detectron2/data/common.py:107
↓ 1 callersFunction_add_categories_metadata
(dataset_name: str)
densepose/data/datasets/lvis.py:73
↓ 1 callersFunction_add_categories_metadata
(dataset_name: str, categories: List[Dict[str, Any]])
densepose/data/datasets/coco.py:178
↓ 1 callersFunction_add_category_id_to_contiguous_id_maps_to_metadata
( merged_categories: _MergedCategoriesT, )
densepose/data/build.py:114
↓ 1 callersFunction_add_category_info_to_bootstrapping_metadata
(dataset_name: str, dataset_cfg: CfgNode)
densepose/data/build.py:296
↓ 1 callersMethod_add_densepose_masks_as_segmentation
( self, annotations: List[Dict[str, Any]], image_shape_hw: Tuple[int, int] )
densepose/data/dataset_mapper.py:147
↓ 1 callersFunction_add_instances_conversion_methods
Add from_instances methods to the scripted Instances class.
detectron2/export/torchscript_patch.py:28
↓ 1 callersFunction_apply_exif_orientation
Applies the exif orientation correctly. This code exists per the bug: https://github.com/python-pillow/Pillow/issues/3973 with the
detectron2/data/detection_utils.py:119
↓ 1 callersMethod_assign_colors_by_id
(self, instances: Instances)
detectron2/utils/video_visualizer.py:268
↓ 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.
detectron2/export/caffe2_export.py:79
↓ 1 callersMethod_assign_new_id
For each untracked instance, assign a new id Args: instances: D2 Instances, for predictions of the current frame
detectron2/tracking/bbox_iou_tracker.py:182
↓ 1 callersMethod_bin_code_2_lines
(self, arr, v, bin_code, multi_idx, Nw, Nh, offset)
densepose/vis/densepose_results.py:241
↓ 1 callersMethod_box2cs
(self, box)
model/SCHP/__init__.py:106
↓ 1 callersMethod_build_res5_block
(cls, cfg)
detectron2/modeling/roi_heads/roi_heads.py:429
↓ 1 callersFunction_cached_log_stream
(filename)
detectron2/utils/logger.py:119
↓ 1 callersMethod_calculate_anchors
(self, sizes, aspect_ratios)
detectron2/modeling/anchor_generator.py:136
↓ 1 callersMethod_calculate_anchors
(self, sizes, aspect_ratios, angles)
detectron2/modeling/anchor_generator.py:289
↓ 1 callersFunction_calculate_record_field_sizes_b
(data_schema: Dict[str, SizeData])
densepose/evaluation/tensor_storage.py:39
↓ 1 callersFunction_calculate_record_size_b
(data_schema: Dict[str, SizeData])
densepose/evaluation/tensor_storage.py:31
↓ 1 callersFunction_check_and_update
(key, value)
detectron2/export/shared.py:410
↓ 1 callersMethod_check_branches
(self, num_branches, blocks, num_blocks, num_inchannels, num_channels)
densepose/modeling/hrnet.py:135
↓ 1 callersMethod_check_image
(self, image_rgb)
densepose/vis/base.py:68
↓ 1 callersFunction_check_img_dtype
(img)
detectron2/data/transforms/augmentation.py:27
↓ 1 callersMethod_check_mask_matrix
(self, mask, matrix)
densepose/vis/base.py:73
↓ 1 callersFunction_clear_jit_cache
()
detectron2/export/torchscript_patch.py:20
↓ 1 callersFunction_combine_images_with_annotations
( dataset_name: str, image_root: str, img_datas: Iterable[Dict[str, Any]], ann_datas: Iterable
densepose/data/datasets/lvis.py:128
↓ 1 callersFunction_combine_images_with_annotations
( dataset_name: str, image_root: str, img_datas: Iterable[Dict[str, Any]], ann_datas: Iterable
densepose/data/datasets/coco.py:236
↓ 1 callersMethod_compute_geodists
(self)
densepose/structures/mesh.py:130
↓ 1 callersFunction_compute_num_images_per_worker
(cfg: CfgNode)
densepose/data/build.py:61
↓ 1 callersMethod_concat
(values)
detectron2/export/flatten.py:44
↓ 1 callersFunction_configure_libraries
Configurations for some libraries.
detectron2/utils/env.py:59
↓ 1 callersMethod_convert_boxes
Convert different format of boxes to an NxB array, where B = 4 or 5 is the box dimension.
detectron2/utils/visualizer.py:1219
↓ 1 callersFunction_convert_boxes_to_pooler_format
(boxes: torch.Tensor, sizes: torch.Tensor)
detectron2/modeling/poolers.py:64
↓ 1 callersFunction_convert_category_id
(segment_info, meta)
detectron2/data/datasets/coco_panoptic.py:26
↓ 1 callersFunction_convert_category_id
(segment_info, meta)
detectron2/data/datasets/cityscapes_panoptic.py:68
↓ 1 callersMethod_convert_category_id
(self, segment_info)
detectron2/evaluation/panoptic_evaluation.py:53
↓ 1 callersMethod_convert_inputs
(self, batched_inputs)
detectron2/export/caffe2_inference.py:151
↓ 1 callersMethod_convert_keypoints
(self, keypoints)
detectron2/utils/visualizer.py:1269
↓ 1 callersMethod_convert_masks
Convert different format of masks or polygons to a tuple of masks and polygons. Returns: list[GenericMask]:
detectron2/utils/visualizer.py:1228
↓ 1 callersFunction_convert_mmdet_result
(result, shape: Tuple[int, int])
detectron2/modeling/mmdet_wrapper.py:230
↓ 1 callersFunction_create_const_fill_op_from_c2_int8_tensor
(name, int8_tensor)
detectron2/export/shared.py:248
↓ 1 callersFunction_create_const_fill_op_from_numpy
(name, tensor, device_option=None)
detectron2/export/shared.py:227
↓ 1 callersFunction_create_gradient_clipper
Creates gradient clipping closure to clip by value or by norm, according to the provided config.
detectron2/solver/build.py:29
↓ 1 callersMethod_create_output_instance
Create an instance of predictor outputs by copying the outputs from the base predictor and initializing confidence Args:
densepose/modeling/predictors/cse_confidence.py:97
↓ 1 callersMethod_create_output_instance
Create an instance of predictor outputs by copying the outputs from the base predictor and initializing confidence Args:
densepose/modeling/predictors/chart_confidence.py:151
↓ 1 callersFunction_create_pixel_dist_matrix
(grid_size: int)
densepose/modeling/losses/cycle_pix2shape.py:20
↓ 1 callersMethod_create_prediction_pairs
For all instances in previous and current frames, create pairs. For each pair, store index of the instance in current frame predcitio
detectron2/tracking/bbox_iou_tracker.py:124
↓ 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
detectron2/modeling/roi_heads/cascade_rcnn.py:278
↓ 1 callersMethod_decode_per_level_predictions
Decode boxes and classification predictions of one featuer level, by the following steps: 1. filter the predictions based on
detectron2/modeling/meta_arch/dense_detector.py:186
↓ 1 callersFunction_defineProperty
(obj, key, value)
resource/js/bulma-carousel.js:475
↓ 1 callersFunction_del
(key_seq: List[str])
detectron2/config/compat.py:134
↓ 1 callersFunction_derive_results_from_coco_eval
( coco_eval, eval_mode_name, metrics, class_names, min_threshold: float, img_ids )
densepose/evaluation/evaluator.py:336
↓ 1 callersMethod_do_accumulate
Accumulate instances data for one image, given that the data is not empty Args: box_xywh_gt (tensor): GT bounding box
densepose/modeling/losses/utils.py:362
↓ 1 callersMethod_do_accumulate
Accumulate instances data for one image, given that the data is not empty Args: box_xywh_gt (tensor): GT bounding box
densepose/modeling/losses/embed_utils.py:84
↓ 1 callersFunction_do_assert_fx_safe
(condition: bool, message: str)
detectron2/utils/tracing.py:60
↓ 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
detectron2/layers/mask_ops.py:17
↓ 1 callersMethod_draw_line
( self, image_bgr, arr, mask, v, color_bgr, linewidth,
densepose/vis/densepose_results.py:215
↓ 1 callersMethod_encode_anchor_generator_cfg
(self, predict_net)
detectron2/export/caffe2_modeling.py:350
↓ 1 callersMethod_eval_box_proposals
Evaluate the box proposals in predictions. Fill self._results with the metrics for "box_proposals" task.
detectron2/evaluation/coco_evaluation.py:284
↓ 1 callersMethod_eval_box_proposals
Evaluate the box proposals in predictions. Fill self._results with the metrics for "box_proposals" task.
detectron2/evaluation/lvis_evaluation.py:180
↓ 1 callersMethod_eval_predictions
Evaluate predictions. Fill self._results with the metrics of the tasks.
detectron2/evaluation/coco_evaluation.py:222
↓ 1 callersMethod_eval_predictions
Evaluate predictions. Fill self._results with the metrics of the tasks. Args: predictions (list[dict]): list of outputs
detectron2/evaluation/lvis_evaluation.py:134
↓ 1 callersMethod_eval_predictions
Evaluate predictions on densepose. Return results with the metrics of the tasks.
densepose/evaluation/evaluator.py:136
↓ 1 callersFunction_evaluate_box_proposals
Evaluate detection proposal recall metrics. This function is a much faster alternative to the official COCO API recall evaluation code. Howev
detectron2/evaluation/coco_evaluation.py:456
↓ 1 callersFunction_evaluate_box_proposals
Evaluate detection proposal recall metrics. This function is a much faster alternative to the official LVIS API recall evaluation code. Howev
detectron2/evaluation/lvis_evaluation.py:222
↓ 1 callersMethod_evaluate_mesh_alignment
(self)
densepose/evaluation/evaluator.py:167
↓ 1 callersFunction_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
detectron2/evaluation/coco_evaluation.py:567
↓ 1 callersFunction_evaluate_predictions_on_coco
( coco_gt, coco_results, multi_storage=None, embedder=None, class_names=None, min_thre
densepose/evaluation/evaluator.py:290
↓ 1 callersMethod_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
detectron2/evaluation/rotated_coco_evaluation.py:194
↓ 1 callersFunction_evaluate_predictions_on_lvis
Args: iou_type (str): max_dets_per_image (None or int): limit on maximum detections per image in evaluating AP This l
detectron2/evaluation/lvis_evaluation.py:331
↓ 1 callersFunction_expand_param_groups
(params: List[Dict[str, Any]])
detectron2/solver/build.py:238
↓ 1 callersFunction_extract_i_from_iuvarr
(iuv_arr)
densepose/vis/densepose_results.py:78
↓ 1 callersFunction_file_storage_gather
( storage: SingleProcessFileTensorStorage, dst_rank: int = 0, mode: str = "rb", )
densepose/evaluation/tensor_storage.py:221
← previousnext →501–600 of 2,283, ranked by callers