MCPcopy Create free account

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

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

↓ 1 callersFunctionfix_one
(qualname, name, obj)
detectron2/utils/env.py:146
↓ 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
detectron2/evaluation/testing.py:68
↓ 1 callersMethodforward
(self, x)
detectron2/layers/aspp.py:129
↓ 1 callersMethodforward
(self, x)
detectron2/layers/batch_norm.py:348
↓ 1 callersMethodforward
(self, inputs)
densepose/modeling/hrfpn.py:137
↓ 1 callersMethodforward
(self, features: List[torch.Tensor])
densepose/modeling/roi_heads/roi_head.py:76
↓ 1 callersMethodforward
(self, x)
densepose/modeling/roi_heads/deeplab.py:137
↓ 1 callersMethodforward_training
(self, images, features, predictions, gt_instances)
detectron2/modeling/meta_arch/dense_detector.py:120
↓ 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
detectron2/modeling/roi_heads/roi_heads.py:753
↓ 1 callersFunctionfpn_map
Look for keys with the following patterns: 1) Starts with "fpn.inner." Example: "fpn.inner.res2.2.sum.lateral.weight"
detectron2/checkpoint/c2_model_loading.py:129
↓ 1 callersMethodfreeze
Freeze the first several stages of the ResNet. Commonly used in fine-tuning. Layers that produce the same feature map spatia
detectron2/modeling/backbone/resnet.py:468
↓ 1 callersMethodfreeze
Freeze the first several stages of the model. Commonly used in fine-tuning. Layers that produce the same feature map spatial size ar
detectron2/modeling/backbone/regnet.py:332
↓ 1 callersFunctionfreeze_training_mode
A context manager that annotates the "training" attribute of every submodule to constant, so that the training codepath in these modules can
detectron2/export/torchscript_patch.py:392
↓ 1 callersMethodfrom_config
(cls, cfg, input_shape)
detectron2/modeling/roi_heads/keypoint_head.py:161
↓ 1 callersMethodfrom_config
(cls, cfg, input_shape)
detectron2/modeling/roi_heads/mask_head.py:180
↓ 1 callersMethodfrom_ssa
(ssa)
detectron2/export/shared.py:822
↓ 1 callersFunctionfuse_alias_placeholder
Remove AliasWithName placeholder and rename the input/output of it
detectron2/export/shared.py:605
↓ 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
detectron2/export/shared.py:958
↓ 1 callersFunctiongap2d
Helper for building a global average pooling layer.
detectron2/modeling/backbone/regnet.py:35
↓ 1 callersFunctiongc
(c,l)
resource/js/fontawesome.all.min.js:5
↓ 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).
detectron2/modeling/anchor_generator.py:181
↓ 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
detectron2/modeling/anchor_generator.py:333
↓ 1 callersMethodgenerate_image_with_texture
(self, bbox_image_bgr, uv_array, mask, mesh_name)
densepose/vis/densepose_outputs_vertex.py:219
↓ 1 callersMethodgenerate_image_with_texture
(self, texture_image, alpha, bbox_image_bgr, iuv_array)
densepose/vis/densepose_results_textures.py:78
↓ 1 callersFunctiongenerate_regnet_parameters
Generates per stage widths and depths from RegNet parameters.
detectron2/modeling/backbone/regnet.py:369
↓ 1 callersMethodgetDensePoseMask
(self, polys)
densepose/evaluation/densepose_coco_evaluation.py:353
↓ 1 callersMethodgetDistancesCse
(self, cVertsGT, cVerts, mesh_name)
densepose/evaluation/densepose_coco_evaluation.py:1214
↓ 1 callersMethodgetDistancesUV
(self, cVertsGT, cVerts)
densepose/evaluation/densepose_coco_evaluation.py:1221
↓ 1 callersMethodget_all_paths
(self, s, d)
detectron2/export/shared.py:801
↓ 1 callersMethodget_best_param_group_id
(optimizer)
detectron2/engine/hooks.py:338
↓ 1 callersMethodget_bounding_boxes
Returns: Boxes: tight bounding boxes around bitmasks. If a mask is empty, it's bounding box will be all zero.
detectron2/structures/masks.py:224
↓ 1 callersMethodget_caffe2_inputs
Convert pytorch-style structured inputs to caffe2-style inputs that are tuples of tensors. Args: batched_inputs
detectron2/export/caffe2_modeling.py:154
↓ 1 callersFunctionget_category_to_class_mapping
(dataset_cfg: CfgNode)
densepose/data/utils.py:36
↓ 1 callersFunctionget_cityscapes_panoptic_files
(image_dir, gt_dir, json_info)
detectron2/data/datasets/cityscapes_panoptic.py:18
↓ 1 callersFunctionget_config_file
Returns path to a builtin config file. Args: config_path (str): config file name relative to detectron2's "configs/" dir
detectron2/model_zoo/model_zoo.py:128
↓ 1 callersFunctionget_dir
(src_point, rot_rad)
model/SCHP/utils/transforms.py:149
↓ 1 callersFunctionget_env_module
()
detectron2/utils/collect_env.py:29
↓ 1 callersMethodget_fed_loss_classes
Args: gt_classes: a long tensor of shape R that contains the gt class label of each proposal. num_fed_loss_classes: m
detectron2/modeling/roi_heads/fast_rcnn.py:356
↓ 1 callersFunctionget_file_name
(img_root, img_dict)
detectron2/data/datasets/lvis.py:120
↓ 1 callersFunctionget_file_name
(img_root, img_dict)
densepose/data/datasets/lvis.py:137
↓ 1 callersMethodget_lr
(self)
detectron2/solver/lr_scheduler.py:166
↓ 1 callersMethodget_lr
(self)
detectron2/solver/lr_scheduler.py:199
↓ 1 callersMethodget_mesh_id
(self, shape_name: str)
densepose/data/meshes/catalog.py:44
↓ 1 callersMethodget_num_inchannels
(self)
densepose/modeling/hrnet.py:249
↓ 1 callersMethodget_output_shape
Compute the output size given input size and target short edge length.
detectron2/data/transforms/augmentation_impl.py:181
↓ 1 callersMethodget_outputs_converter
Creates a function that converts outputs of the caffe2 model to detectron2's standard format. The function uses information i
detectron2/export/caffe2_modeling.py:217
↓ 1 callersFunctionget_palette
Returns the color map for visualizing the segmentation mask. Args: num_cls: Number of classes Returns: The color map
model/SCHP/__init__.py:11
↓ 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
detectron2/export/shared.py:345
↓ 1 callersFunctionget_pb_arg_floats
(pb, arg_name, default_val)
detectron2/export/shared.py:184
↓ 1 callersMethodget_text_size_wh
(self, txt)
densepose/vis/base.py:169
↓ 1 callersMethodget_texture
(self)
densepose/vis/densepose_results_textures.py:61
↓ 1 callersFunctionget_texture_atlas
(path: Optional[str])
densepose/vis/densepose_results_textures.py:15
↓ 1 callersFunctionget_trainable_module
(unet, trainable_module_name)
model/utils.py:61
↓ 1 callersMethodget_transform
Execute the policy based on input data, and decide what transform to apply to inputs. Args: args: Any fixed-length posit
detectron2/data/transforms/augmentation.py:115
↓ 1 callersFunctionget_xyz_vertex_embedding
(mesh_name: str, device: torch.device)
densepose/vis/densepose_outputs_vertex.py:24
↓ 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
detectron2/export/shared.py:569
↓ 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.
detectron2/config/compat.py:82
↓ 1 callersFunctionhas_annotations
(instance: Instance)
densepose/data/build.py:153
↓ 1 callersMethodhas_embeddings
(self, mesh_name: str)
densepose/modeling/cse/embedder.py:129
↓ 1 callersFunctionhas_inference_based_loaders
Returns True, if at least one inferense-based loader must be instantiated for training
densepose/data/build.py:683
↓ 1 callersFunctionhas_only_crowd_anotations
(instance: Instance)
densepose/data/build.py:156
↓ 1 callersFunctionheatmaps_to_keypoints
Extract predicted keypoint locations from heatmaps. Args: maps (Tensor): (#ROIs, #keypoints, POOL_H, POOL_W). The predicted heatmap
detectron2/structures/keypoints.py:165
↓ 1 callersFunctionhull_mask
(mask_area: np.ndarray)
model/cloth_masker.py:145
↓ 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 -
detectron2/export/shared.py:861
↓ 1 callersFunctionindent
(level, s)
detectron2/export/torchscript_patch.py:105
↓ 1 callersMethodinference
Run inference on the given inputs. Args: batched_inputs (list[dict]): same as in :meth:`forward` do_postproc
detectron2/modeling/meta_arch/panoptic_fpn.py:140
↓ 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
detectron2/evaluation/evaluator.py:222
↓ 1 callersMethodinference_single_image
Identical to :meth:`RetinaNet.inference_single_image.
detectron2/modeling/meta_arch/fcos.py:279
↓ 1 callersMethodinference_single_image
Single-image inference. Return bounding-box detection results by thresholding on scores and applying non-maximum suppression (NMS).
detectron2/modeling/meta_arch/retinanet.py:275
↓ 1 callersFunctioninit_adapter
(unet, cross_attn_cls=SkipAttnProcessor, self_attn_cls=None,
model/utils.py:7
↓ 1 callersFunctioninitialize_pretrained_model
(model, settings, pretrained='./models/resnet101-imagenet.pth')
model/SCHP/networks/AugmentCE2P.py:341
↓ 1 callersMethodinside_box
Args: box_size (height, width): Size of the reference box. boundary_threshold (int): Boxes that extend beyond the ref
detectron2/structures/boxes.py:245
↓ 1 callersMethodinstances_to_json
(self, instances, img_id)
detectron2/evaluation/rotated_coco_evaluation.py:126
↓ 1 callersFunctionisHTML5
(unknown)
resource/js/bulma-carousel.js:255
↓ 1 callersFunctionisString
(unknown)
resource/js/bulma-slider.js:98
↓ 1 callersFunctionisVimeo
(unknown)
resource/js/bulma-carousel.js:264
↓ 1 callersFunctionisYoutube
(unknown)
resource/js/bulma-carousel.js:261
↓ 1 callersFunctionis_aten_to_device_only
(args)
detectron2/utils/testing.py:313
↓ 1 callersFunctionis_fx_tracing_legacy
Returns a bool indicating whether torch.fx is currently symbolically tracing a module. Can be useful for gating module logic that is incompat
detectron2/utils/tracing.py:22
↓ 1 callersFunctionis_relative_local_path
(path: str)
densepose/data/utils.py:11
↓ 1 callersFunctioniter_benchmark
Benchmark an iterator/iterable for `num_iter` iterations with an extra `warmup` iterations of warmup. End early if `max_time_seconds` tim
detectron2/data/benchmark.py:35
↓ 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
detectron2/modeling/roi_heads/keypoint_head.py:99
↓ 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
detectron2/modeling/roi_heads/keypoint_head.py:40
↓ 1 callersFunctionl
(t)
resource/js/bulma-slider.min.js:1
↓ 1 callersMethodlabel_anchors
Same interface as :meth:`RetinaNet.label_anchors`, but implemented with FCOS anchor matching rule. Unlike RetinaNet, there a
detectron2/modeling/meta_arch/fcos.py:154
↓ 1 callersMethodlabel_anchors
Args: anchors (list[Boxes]): A list of #feature level Boxes. The Boxes contains anchors of this image on the spec
detectron2/modeling/meta_arch/retinanet.py:213
↓ 1 callersMethodlabel_and_sample_anchors
Args: anchors (list[Boxes]): anchors for each feature map. gt_instances: the ground-truth instances for each image.
detectron2/modeling/proposal_generator/rpn.py:307
↓ 1 callersMethodlayers
Neural network layers that makes predictions from regional input features.
detectron2/modeling/roi_heads/keypoint_head.py:207
↓ 1 callersMethodlayers
Neural network layers that makes predictions from input features.
detectron2/modeling/roi_heads/mask_head.py:204
↓ 1 callersMethodlayers
(self, features)
detectron2/modeling/meta_arch/semantic_seg.py:246
↓ 1 callersFunctionlist_keyframes
Traverses all keyframes of a video file. Returns a list of keyframe timestamps. Timestamps are counts in timebase units. Args: vi
densepose/data/video/video_keyframe_dataset.py:23
↓ 1 callersFunctionload_cityscapes_panoptic
Args: image_dir (str): path to the raw dataset. e.g., "~/cityscapes/leftImg8bit/train". gt_dir (str): path to the raw annotations
detectron2/data/datasets/cityscapes_panoptic.py:51
↓ 1 callersMethodload_ckpt
(self, ckpt_path)
model/SCHP/__init__.py:83
↓ 1 callersFunctionload_coco_json
Loads a JSON file with annotations in COCO instances format. Replaces `detectron2.data.datasets.coco.load_coco_json` to handle metadata i
densepose/data/datasets/coco.py:349
↓ 1 callersMethodload_data
(self)
inference.py:20
↓ 1 callersFunctionload_for_dataset
(dataset_name)
densepose/utils/transform.py:10
↓ 1 callersFunctionload_from_cfg
(cfg)
densepose/utils/transform.py:16
↓ 1 callersMethodload_from_model_checkpoint
(self, fpath: str, prefix: Optional[str] = None)
densepose/modeling/cse/embedder.py:95
↓ 1 callersFunctionload_lvis_json
Loads a JSON file with annotations in LVIS instances format. Replaces `detectron2.data.datasets.coco.load_lvis_json` to handle metadata i
densepose/data/datasets/lvis.py:170
↓ 1 callersFunctionload_voc_instances
Load Pascal VOC detection annotations to Detectron2 format. Args: dirname: Contain "Annotations", "ImageSets", "JPEGImages"
detectron2/data/datasets/pascal_voc.py:25
← previousnext →901–1,000 of 2,283, ranked by callers