Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zheng-Chong/CatVTON
/ functions
Functions
2,283 in github.com/Zheng-Chong/CatVTON
⨍
Functions
2,283
◇
Types & classes
416
↓ 1 callers
Function
_patch_import
Enhance relative import statements in config files, so that they: 1. locate files purely based on relative location, regardless of packages.
detectron2/config/lazy.py:103
↓ 1 callers
Function
_pooled_next
(iterator: Iterator[Any], pool: Deque[Any])
densepose/data/combined_loader.py:12
↓ 1 callers
Function
_possibleConstructorReturn
(self, call)
resource/js/bulma-slider.js:92
↓ 1 callers
Method
_print_mesh_alignment_results
(self, results: Dict[str, float], mesh_names: Iterable[str])
densepose/evaluation/evaluator.py:182
↓ 1 callers
Method
_process_matched_idx
( self, instances: Instances, matched_idx: np.ndarray, matched_prev_idx: np.ndarray )
detectron2/tracking/hungarian_tracker.py:97
↓ 1 callers
Method
_process_unmatched_idx
(self, instances: Instances, matched_idx: np.ndarray)
detectron2/tracking/hungarian_tracker.py:109
↓ 1 callers
Method
_process_unmatched_prev_idx
( self, instances: Instances, matched_prev_idx: np.ndarray )
detectron2/tracking/hungarian_tracker.py:118
↓ 1 callers
Method
_produce_data
Produce batches of data from images Args: images_and_categories (List[Tuple[torch.Tensor, Optional[str]]]): li
densepose/data/inference_based_loader.py:123
↓ 1 callers
Method
_produce_labels_and_results
Method to get labels and DensePose results from an instance Args: instance (Instances): an instance of `DensePoseChartPr
densepose/data/samplers/densepose_base.py:113
↓ 1 callers
Method
_produce_mask_and_results
Method to get labels and DensePose results from an instance Args: instance (Instances): an instance of `DensePoseEmbeddi
densepose/data/samplers/densepose_cse_base.py:93
↓ 1 callers
Function
_ram_storage_gather
( storage: SingleProcessRamTensorStorage, dst_rank: int = 0 )
densepose/evaluation/tensor_storage.py:207
↓ 1 callers
Method
_reduce_pred_densepose
(self, outputs, tfms)
densepose/modeling/test_time_augmentation.py:116
↓ 1 callers
Function
_rename_HRNet_weights
(weights)
densepose/modeling/densepose_checkpoint.py:9
↓ 1 callers
Method
_resample_mask
Convert DensePose predictor output to segmentation annotation - tensors of size (256, 256) and type `int64`. Args:
densepose/data/samplers/densepose_base.py:129
↓ 1 callers
Method
_reset_fields
Before each uodate call, reset fields first
detectron2/tracking/bbox_iou_tracker.py:174
↓ 1 callers
Method
_resize
(self, mask, matrix, w, h)
densepose/vis/base.py:61
↓ 1 callers
Function
_roundrobin
roundrobin('ABC', 'D', 'EF') --> A D E B F C
detectron2/data/common.py:22
↓ 1 callers
Method
_run_stage
Args: features (list[Tensor]): #lvl input features to ROIHeads proposals (list[Instances]): #image Instances, with th
detectron2/modeling/roi_heads/cascade_rcnn.py:258
↓ 1 callers
Method
_sample
Sample DensPoseDataRelative from estimation results
densepose/data/samplers/densepose_base.py:51
↓ 1 callers
Function
_sample_fg_pixels_randperm
(fg_mask: torch.Tensor, sample_size: int)
densepose/modeling/losses/cycle_pix2shape.py:32
↓ 1 callers
Method
_sample_random_pair
Produce a random pair of different mesh names Return: tuple(str, str): a pair of different mesh names
densepose/modeling/losses/cycle_shape2shape.py:39
↓ 1 callers
Function
_set
(key_seq: List[str], val: str)
detectron2/config/compat.py:120
↓ 1 callers
Method
_setup_figure
Args: Same as in :meth:`__init__()`. Returns: fig (matplotlib.pyplot.figure): top level container for all th
detectron2/utils/visualizer.py:269
↓ 1 callers
Function
_shard_iterator_dataloader_worker
(iterable, chunk_size=1)
detectron2/data/common.py:37
↓ 1 callers
Method
_split
(values, sizes)
detectron2/export/flatten.py:54
↓ 1 callers
Function
_submodule_name
(key)
detectron2/checkpoint/c2_model_loading.py:343
↓ 1 callers
Method
_tasks_from_predictions
Get COCO API "tasks" (i.e. iou_type) from COCO-format predictions.
detectron2/evaluation/coco_evaluation.py:210
↓ 1 callers
Method
_tasks_from_predictions
(self, predictions)
detectron2/evaluation/lvis_evaluation.py:128
↓ 1 callers
Method
_torch_load
(self, f)
detectron2/checkpoint/detection_checkpoint.py:113
↓ 1 callers
Method
_transform_annotations
(self, dataset_dict, transforms, image_shape)
detectron2/data/dataset_mapper.py:115
↓ 1 callers
Method
_transform_densepose
(self, annotation, transforms)
densepose/data/dataset_mapper.py:128
↓ 1 callers
Method
_transform_pts
(self, transforms, dp_transform_data)
densepose/structures/data_relative.py:179
↓ 1 callers
Method
_transform_segm
(self, transforms, dp_transform_data)
densepose/structures/data_relative.py:222
↓ 1 callers
Method
_transform_segm_rotation
(self, rotation)
densepose/structures/data_relative.py:242
↓ 1 callers
Method
_unpack_latents
(latents, height, width, vae_scale_factor)
model/flux/pipeline_flux_tryon.py:221
↓ 1 callers
Function
_unregister_custom_op_symbolic
(symbolic_name, opset_version)
detectron2/utils/testing.py:222
↓ 1 callers
Function
_unregister_op
(opname: str, domain: str, version: int)
detectron2/utils/testing.py:248
↓ 1 callers
Function
_verify_annotations_have_unique_ids
(json_file: str, anns: List[List[Dict[str, Any]]])
densepose/data/datasets/lvis.py:82
↓ 1 callers
Function
_verify_annotations_have_unique_ids
(json_file: str, anns: List[List[Dict[str, Any]]])
densepose/data/datasets/coco.py:185
↓ 1 callers
Function
_visit_dict_config
Apply func recursively to all DictConfig in cfg.
detectron2/config/lazy.py:61
↓ 1 callers
Function
_warn_if_merged_different_categories
(merged_categories: _MergedCategoriesT)
densepose/data/build.py:355
↓ 1 callers
Function
_wrapper_count_operators
( model: nn.Module, inputs: list, mode: str, **kwargs )
detectron2/utils/analysis.py:128
↓ 1 callers
Method
_xywh2cs
(self, x, y, w, h)
model/SCHP/__init__.py:110
↓ 1 callers
Function
a
(t)
resource/js/bulma-carousel.min.js:1
↓ 1 callers
Method
accumulate
Accumulate instances data for one image Args: instances_one_image (Instances): instances data to accumulate
densepose/modeling/losses/utils.py:247
↓ 1 callers
Method
accumulate
Accumulate per image evaluation results and store the result in self.eval :param p: input params for evaluation :return: None
densepose/evaluation/densepose_coco_evaluation.py:926
↓ 1 callers
Function
add_bootstrap_config
densepose/config.py:50
↓ 1 callers
Function
add_dataset_category_config
Add config for additional category-related dataset options - category whitelisting - category mapping
densepose/config.py:8
↓ 1 callers
Function
add_densepose_config
(cfg: CN)
densepose/config.py:272
↓ 1 callers
Function
add_densepose_head_config
Add config for densepose head.
densepose/config.py:158
↓ 1 callers
Function
add_densepose_head_cse_config
Add configuration options for Continuous Surface Embeddings (CSE)
densepose/config.py:105
↓ 1 callers
Method
add_edge
(self, u, v)
detectron2/export/shared.py:795
↓ 1 callers
Function
add_evaluation_config
(cfg: CN)
densepose/config.py:21
↓ 1 callers
Function
add_ground_truth_to_proposals_single_image
Augment `proposals` with `gt`. Args: Same as `add_ground_truth_to_proposals`, but with gt and proposals per image. Retu
detectron2/modeling/proposal_generator/proposal_utils.py:167
↓ 1 callers
Function
add_hrnet_config
Add config for HRNet backbone.
densepose/config.py:237
↓ 1 callers
Function
adjust_block_compatibility
Adjusts the compatibility of widths, bottlenecks, and groups.
detectron2/modeling/backbone/regnet.py:356
↓ 1 callers
Function
affine_transform
(pt, t)
model/SCHP/utils/transforms.py:138
↓ 1 callers
Method
after_step
Called after each iteration.
detectron2/engine/train_loop.py:80
↓ 1 callers
Method
after_step
(self)
detectron2/engine/train_loop.py:188
↓ 1 callers
Method
after_train
(self)
detectron2/engine/train_loop.py:171
↓ 1 callers
Function
align_and_update_state_dicts
Match names between the two state-dict, and returns a new chkpt_state_dict with names converted to match model_state_dict with heuristics. Th
detectron2/checkpoint/c2_model_loading.py:208
↓ 1 callers
Function
app_gradio
()
app_p2p.py:309
↓ 1 callers
Function
app_gradio
()
app_flux.py:153
↓ 1 callers
Function
app_gradio
()
app.py:236
↓ 1 callers
Function
apply_augmentations
Use ``T.AugmentationList(augmentations)(inputs)`` instead.
detectron2/data/transforms/augmentation.py:353
↓ 1 callers
Method
apply_augmentations
Equivalent of ``AugmentationList(augmentations)(self)``
detectron2/data/transforms/augmentation.py:344
↓ 1 callers
Method
apply_image
(self, img, interp=None)
detectron2/data/transforms/transform.py:57
↓ 1 callers
Method
apply_image
(self, img, interp=None)
detectron2/data/transforms/transform.py:112
↓ 1 callers
Method
apply_image
img should be a numpy array, formatted as Height * Width * Nchannels
detectron2/data/transforms/transform.py:200
↓ 1 callers
Method
apply_transform
(self, transforms, densepose_transform_data)
densepose/structures/data_relative.py:174
↓ 1 callers
Method
area
Computes area of the mask. Only works with Polygons, using the shoelace formula: https://stackoverflow.com/questions/24467972
detectron2/structures/masks.py:426
↓ 1 callers
Method
as_dict
Returns all the metadata as a dict. Note that modifications to the returned dict will not reflect on the Metadata object.
detectron2/data/catalog.py:155
↓ 1 callers
Function
assemble_rcnn_outputs_by_name
A function to assemble caffe2 model's outputs (i.e. Dict[str, Tensor]) to detectron2's format (i.e. list of Instances instance). This onl
detectron2/export/caffe2_modeling.py:27
↓ 1 callers
Function
assign_boxes_to_levels
Map each box in `box_lists` to a feature map level index and return the assignment vector. Args: box_lists (list[Boxes] | list[R
detectron2/modeling/poolers.py:23
↓ 1 callers
Method
assign_cost_matrix_values
Based on IoU for each pair of bbox, assign the associated value in cost matrix Args: cost_matrix: np.ndarray, initialize
detectron2/tracking/vanilla_hungarian_bbox_iou_tracker.py:116
↓ 1 callers
Method
auto_attn_ckpt_load
(self, attn_ckpt, version)
model/pipeline.py:58
↓ 1 callers
Method
auto_scale_workers
When the config is defined for certain number of workers (according to ``cfg.SOLVER.REFERENCE_WORLD_SIZE``) that's different from the
detectron2/engine/defaults.py:637
↓ 1 callers
Method
bbox
(self)
detectron2/utils/visualizer.py:146
↓ 1 callers
Method
before_step
Called before each iteration.
detectron2/engine/train_loop.py:68
↓ 1 callers
Method
before_step
(self)
detectron2/engine/train_loop.py:176
↓ 1 callers
Method
before_train
Called before the first iteration.
detectron2/engine/train_loop.py:56
↓ 1 callers
Method
before_train
(self)
detectron2/engine/train_loop.py:167
↓ 1 callers
Method
box_reg_loss
Args: proposal_boxes/gt_boxes are tensors with the same shape (R, 4 or 5). pred_deltas has shape (R, 4 or 5), or (R,
detectron2/modeling/roi_heads/fast_rcnn.py:424
↓ 1 callers
Function
build_augmentation
(cfg, is_train)
densepose/data/dataset_mapper.py:21
↓ 1 callers
Function
build_bootstrap_dataset
Build dataset that provides data to bootstrap on Args: dataset_name (str): Name of the dataset, needs to have associated metadata
densepose/data/build.py:529
↓ 1 callers
Function
build_combined_loader
(cfg: CfgNode, loaders: Collection[Loader], ratios: Sequence[float])
densepose/data/build.py:524
↓ 1 callers
Method
build_cost_matrix
(self, instances: Instances, prev_instances: Instances)
detectron2/tracking/hungarian_tracker.py:57
↓ 1 callers
Function
build_data_filter
(cfg: CfgNode)
densepose/data/build.py:644
↓ 1 callers
Function
build_data_sampler
(cfg: CfgNode, sampler_cfg: CfgNode, embedder: Optional[torch.nn.Module])
densepose/data/build.py:553
↓ 1 callers
Function
build_densepose_data_filter
Build DensePose data filter which selects data for training Args: cfg (CfgNode): configuration options Return: Callable
densepose/modeling/build.py:30
↓ 1 callers
Function
build_densepose_evaluator_storage
(cfg: CfgNode, output_folder: str)
densepose/evaluation/evaluator.py:388
↓ 1 callers
Function
build_densepose_head
Build DensePose head based on configurations options Args: cfg (CfgNode): configuration options input_channels (int): input
densepose/modeling/build.py:46
↓ 1 callers
Function
build_densepose_losses
Build DensePose loss based on configurations options Args: cfg (CfgNode): configuration options Return: An instance of D
densepose/modeling/build.py:62
↓ 1 callers
Function
build_densepose_predictor
Create an instance of DensePose predictor based on configuration options. Args: cfg (CfgNode): configuration options input_c
densepose/modeling/build.py:14
↓ 1 callers
Function
build_detection_test_loader
Similar to `build_detection_train_loader`, with default batch size = 1, and sampler = :class:`InferenceSampler`. This sampler coordinates all
detectron2/data/build.py:621
↓ 1 callers
Function
build_detection_test_loader
Similar to `build_detection_train_loader`. But this function uses the given `dataset_name` argument (instead of the names in cfg), and us
densepose/data/build.py:464
↓ 1 callers
Function
build_detection_train_loader
Build a dataloader for object detection with some default features. Args: dataset (list or torch.utils.data.Dataset): a list of data
detectron2/data/build.py:521
↓ 1 callers
Function
build_detection_train_loader
A data loader is created in a way similar to that of Detectron2. The main differences are: - it allows to combine datasets with differen
densepose/data/build.py:428
↓ 1 callers
Method
build_evaluator
Returns: DatasetEvaluator or None It is not implemented by default.
detectron2/engine/defaults.py:565
↓ 1 callers
Function
build_frame_selector
(cfg: CfgNode)
densepose/data/build.py:503
← previous
next →
701–800 of 2,283, ranked by callers