MCPcopy Create free account

hub / github.com/Zheng-Chong/CatVTON / types & classes

Types & classes416 in github.com/Zheng-Chong/CatVTON

↓ 37 callersClassConv2d
A wrapper around :class:`torch.nn.Conv2d` to support empty inputs and more features.
detectron2/layers/wrappers.py:102
↓ 27 callersClassBoxes
This structure stores a list of boxes as a Nx4 torch.Tensor. It supports some common methods about boxes (`area`, `clip`, `nonempty`, etc
detectron2/structures/boxes.py:130
↓ 23 callersClassCocoDatasetInfo
densepose/data/datasets/coco.py:29
↓ 23 callersClassInstances
This class represents a list of instances in an image. It stores the attributes of instances (e.g., boxes, masks, labels, scores) as "fields"
detectron2/structures/instances.py:8
↓ 22 callersClassShapeSpec
A simple structure that contains basic shape specification about a tensor. It is often used as the auxiliary inputs/outputs of models, to
detectron2/layers/shape_spec.py:8
↓ 14 callersClassMeshInfo
densepose/data/meshes/catalog.py:14
↓ 13 callersClassRotatedBoxes
This structure stores a list of rotated boxes as a Nx5 torch.Tensor. It supports some common methods about boxes (`area`, `clip`, `nonemp
detectron2/structures/rotated_boxes.py:11
↓ 11 callersClassVisualizer
Visualizer that draws data about detection/segmentation on images. It contains methods like `draw_{text,box,circle,line,binary_mask,polygon}
detectron2/utils/visualizer.py:331
↓ 9 callersClassBitMasks
This class stores the segmentation masks for all objects in one image, in the form of bitmaps. Attributes: tensor: bool Tensor o
detectron2/structures/masks.py:88
↓ 7 callersClassROIPooler
Region of interest feature map pooler that supports pooling from one or more feature maps.
detectron2/modeling/poolers.py:114
↓ 6 callersClassDensePoseList
densepose/structures/list.py:9
↓ 6 callersClassMapDataset
Map a function over the elements in a dataset.
detectron2/data/common.py:84
↓ 6 callersClassMaskFromDensePoseSampler
Produce mask GT from DensePose predictions This sampler simply converts DensePose predictions to BitMasks that a contain a bool tensor of
densepose/data/samplers/mask_from_densepose.py:10
↓ 6 callersClassPredictionToGroundTruthSampler
Sampler implementation that converts predictions to GT using registered samplers for different fields of `Instances`.
densepose/data/samplers/prediction_to_gt.py:29
↓ 6 callersClassResizeTransform
Resize the image to a target size.
detectron2/data/transforms/transform.py:94
↓ 6 callersClassSizeData
densepose/evaluation/tensor_storage.py:19
↓ 5 callersClassBox2BoxTransform
The box-to-box transform defined in R-CNN. The transformation is parameterized by 4 deltas: (dx, dy, dw, dh). The transformation scales the b
detectron2/modeling/box_regression.py:21
↓ 5 callersClassDetectionCheckpointer
Same as :class:`Checkpointer`, but is able to: 1. handle models in detectron & detectron2 model zoo, and apply conversions for legacy models.
detectron2/checkpoint/detection_checkpoint.py:16
↓ 4 callersClassAutoMasker
model/cloth_masker.py:155
↓ 4 callersClassDatasetMapper
A customized version of `detectron2.data.DatasetMapper`
densepose/data/dataset_mapper.py:33
↓ 4 callersClassDensePoseChartPredictorOutput
Predictor output that contains segmentation and inner coordinates predictions for predefined body parts: * coarse segmentation, a tensor
densepose/structures/chart.py:11
↓ 4 callersClassDensePoseEmbeddingPredictorOutput
Predictor output that contains embedding and coarse segmentation data: * embedding: float tensor of size [N, D, H, W], contains estimated em
densepose/structures/cse.py:11
↓ 4 callersClassImageList
Structure that holds a list of images (of possibly varying sizes) as a single tensor. This works by padding the images to the same size.
detectron2/structures/image_list.py:11
↓ 4 callersClassKeypoints
Stores keypoint **annotation** data. GT Instances have a `gt_keypoints` property containing the x,y location and visibility flag of each keyp
detectron2/structures/keypoints.py:8
↓ 4 callersClassMatcher
This class assigns to each predicted "element" (e.g., a box) a ground-truth element. Each predicted element will have exactly zero or one mat
detectron2/modeling/matcher.py:9
↓ 4 callersClassMatrixVisualizer
Base visualizer for matrix data
densepose/vis/base.py:13
↓ 4 callersClassMetadata
A class that supports simple attribute setter/getter. It is intended for storing metadata of a dataset and make it accessible globally.
detectron2/data/catalog.py:91
↓ 4 callersClassROIAlign
detectron2/layers/roi_align.py:7
↓ 4 callersClassScopedWS
detectron2/export/shared.py:134
↓ 4 callersClassTrainingSampler
In training, we only care about the "infinite stream" of training data. So this sampler produces an infinite stream of indices and all wo
detectron2/data/samplers/distributed_sampler.py:15
↓ 3 callersClassASPPConv
densepose/modeling/roi_heads/deeplab.py:83
↓ 3 callersClassAttention
Multi-head Attention block with relative position embeddings.
detectron2/modeling/backbone/vit.py:25
↓ 3 callersClassCatVTONPipeline
model/pipeline.py:23
↓ 3 callersClassCompoundExtractor
Extracts data for CompoundVisualizer
densepose/vis/extractor.py:143
↓ 3 callersClassDatasetEvaluators
Wrapper class to combine multiple :class:`DatasetEvaluator` instances. This class dispatches every evaluation call to all of its :class:
detectron2/evaluation/evaluator.py:66
↓ 3 callersClassDatasetFromList
Wrap a list to a torch Dataset. It produces elements of the list as data.
detectron2/data/common.py:205
↓ 3 callersClassDensePoseChartResultQuantized
DensePose results for chart-based methods represented by labels and quantized inner coordinates (U, V) of individual charts. Each chart is a
densepose/structures/chart_result.py:80
↓ 3 callersClassDensePoseConfidenceBasedSampler
Samples DensePose data from DensePose predictions. Samples for each class are drawn using confidence value estimates.
densepose/data/samplers/densepose_confidence_based.py:14
↓ 3 callersClassFastRCNNOutputLayers
Two linear layers for predicting Fast R-CNN outputs: 1. proposal-to-detection box regression deltas 2. classification scores
detectron2/modeling/roi_heads/fast_rcnn.py:174
↓ 3 callersClassGenericMask
Attribute: polygons (list[ndarray]): list[ndarray]: polygons for this mask. Each ndarray has format [x, y, x, y, ...]
detectron2/utils/visualizer.py:59
↓ 3 callersClassMlp
Multilayer perceptron.
detectron2/modeling/backbone/swin.py:26
↓ 3 callersClassPatchEmbed
Image to Patch Embedding Args: patch_size (int): Patch token size. Default: 4. in_chans (int): Number of input image channels. Def
detectron2/modeling/backbone/swin.py:468
↓ 3 callersClassPolygonMasks
This class stores the segmentation masks for all objects in one image, in the form of polygons. Attributes: polygons: list[list[ndar
detectron2/structures/masks.py:261
↓ 3 callersClassROIMasks
Represent masks by N smaller masks defined in some ROIs. Once ROI boxes are given, full-image bitmask can be obtained by "pasting" the mask o
detectron2/structures/masks.py:466
↓ 2 callersClassBox2BoxTransformRotated
The box-to-box transform defined in Rotated R-CNN. The transformation is parameterized by 5 deltas: (dx, dy, dw, dh, da). The transformation
detectron2/modeling/box_regression.py:120
↓ 2 callersClassBufferList
Similar to nn.ParameterList, but for buffers
detectron2/modeling/anchor_generator.py:21
↓ 2 callersClassCaffe2Boxes
Representing a list of detectron2.structures.Boxes from minibatch, each box is represented by a 5d vector (batch index + 4 coordinates), or a
detectron2/export/c10.py:23
↓ 2 callersClassCaffe2Model
A wrapper around the traced model in Caffe2's protobuf format. The exported graph has different inputs/outputs from the original Pytorch
detectron2/export/api.py:110
↓ 2 callersClassCfgNode
The same as `fvcore.common.config.CfgNode`, but different in: 1. Use unsafe yaml loading by default. Note that this may lead to arbit
detectron2/config/config.py:12
↓ 2 callersClassDatasetMapper
A callable which takes a dataset dict in Detectron2 Dataset format, and map it into a format used by the model. This is the default call
detectron2/data/dataset_mapper.py:20
↓ 2 callersClassDensePoseChartResult
DensePose results for chart-based methods represented by labels and inner coordinates (U, V) of individual charts. Each chart is a 2D manifol
densepose/structures/chart_result.py:11
↓ 2 callersClassDensePoseChartResultWithConfidences
We add confidence values to DensePoseChartResult Thus the results are represented by two tensors: - labels (tensor [H, W] of long): conta
densepose/structures/chart_result.py:37
↓ 2 callersClassDensePoseDataRelative
Dense pose relative annotations that can be applied to any bounding box: x - normalized X coordinates [0, 255] of annotated points
densepose/structures/data_relative.py:13
↓ 2 callersClassDensePoseTransformData
densepose/structures/transform_data.py:21
↓ 2 callersClassEventStorage
The user-facing class that provides metric storage functionalities. In the future we may add support for storing / logging other types of da
detectron2/utils/events.py:321
↓ 2 callersClassFPN
This module implements :paper:`FPN`. It creates pyramid features built on top of some input feature maps.
detectron2/modeling/backbone/fpn.py:17
↓ 2 callersClassFluxAttnProcessor2_0
Attention processor used typically in processing the SD3-like self-attention projections.
model/flux/transformer_flux.py:28
↓ 2 callersClassInferenceSampler
Produce indices for inference across all workers. Inference needs to run on the __exact__ set of samples, therefore when the total number
detectron2/data/samplers/distributed_sampler.py:254
↓ 2 callersClassInstancesList
Tensor representation of a list of Instances object for a batch of images. When dealing with a batch of images with Caffe2 ops, a list of bb
detectron2/export/c10.py:39
↓ 2 callersClassLRMultiplier
A LRScheduler which uses fvcore :class:`ParamScheduler` to multiply the learning rate of each param in the optimizer. Every step, the lea
detectron2/solver/lr_scheduler.py:61
↓ 2 callersClassMaskOrSegmentationLoss
Mask or segmentation loss as cross-entropy for raw unnormalized scores given ground truth labels. Ground truth labels are either defined by c
densepose/modeling/losses/mask_or_segm.py:15
↓ 2 callersClassMesh
densepose/structures/mesh.py:23
↓ 2 callersClassNaiveSyncBatchNorm
In PyTorch<=1.5, ``nn.SyncBatchNorm`` has incorrect gradient when the batch size on each worker is different. (e.g., when scale augmentat
detectron2/layers/batch_norm.py:200
↓ 2 callersClassPicklableWrapper
Wrap an object to make it more picklable, note that it uses heavy weight serialization libraries that are slower than pickle. It's best t
detectron2/utils/serialize.py:5
↓ 2 callersClassRectangleVisualizer
densepose/vis/base.py:79
↓ 2 callersClassRepeatFactorTrainingSampler
Similar to TrainingSampler, but a sample may appear more times than others based on its "repeat factor". This is suitable for training on cla
detectron2/data/samplers/distributed_sampler.py:130
↓ 2 callersClassRotationTransform
This method returns a copy of this image, rotated the given number of degrees counter clockwise around its center.
detectron2/data/transforms/transform.py:162
↓ 2 callersClassSCHP
model/SCHP/__init__.py:55
↓ 2 callersClassSingleProcessFileTensorStorage
Implementation of a single process tensor storage which stores data in a file
densepose/evaluation/tensor_storage.py:140
↓ 2 callersClassSingleProcessRamTensorStorage
Implementation of a single process tensor storage which stores data in RAM
densepose/evaluation/tensor_storage.py:159
↓ 2 callersClassTracingAdapter
A model may take rich input/output format (e.g. dict or custom classes), but `torch.jit.trace` requires tuple of tensors as input/output.
detectron2/export/flatten.py:186
↓ 2 callersClass_DetectedInstance
Used to store data about detected objects in video frame, in order to transfer color to objects in the future frames. Attributes:
detectron2/utils/video_visualizer.py:17
↓ 2 callersClass_PanopticPrediction
Unify different panoptic annotation/prediction formats
detectron2/utils/visualizer.py:155
↓ 1 callersClassASPP
densepose/modeling/roi_heads/deeplab.py:110
↓ 1 callersClassASPPPooling
densepose/modeling/roi_heads/deeplab.py:95
↓ 1 callersClassAllEntrySelector
Selector that accepts all entries
densepose/utils/dbhelper.py:19
↓ 1 callersClassAnyStage
AnyNet stage (sequence of blocks w/ the same output shape).
detectron2/modeling/backbone/regnet.py:203
↓ 1 callersClassAspectRatioGroupedDataset
Batch data that have similar aspect ratio together. In this implementation, images whose aspect ratio < (or >) 1 will be batched together
detectron2/data/common.py:302
↓ 1 callersClassAttnProcessor2_0
r""" Processor for implementing scaled dot-product attention (enabled by default if you're using PyTorch 2.0).
model/attn_processor.py:19
↓ 1 callersClassAugInput
Input that can be used with :meth:`Augmentation.__call__`. This is a standard implementation for the majority of use cases. This class pr
detectron2/data/transforms/augmentation.py:278
↓ 1 callersClassAugmentationList
Apply a sequence of augmentations. It has ``__call__`` method to apply the augmentations. Note that :meth:`get_transform` method is imp
detectron2/data/transforms/augmentation.py:244
↓ 1 callersClassBasicLayer
A basic Swin Transformer layer for one stage. Args: dim (int): Number of feature channels depth (int): Depths of this stage.
detectron2/modeling/backbone/swin.py:351
↓ 1 callersClassBasicStem
The standard ResNet stem (layers before the first residual block), with a conv, relu and max_pool.
detectron2/modeling/backbone/resnet.py:330
↓ 1 callersClassBasicTransform
Basic transformation: [3x3 conv, BN, Relu] x2.
detectron2/modeling/backbone/regnet.py:126
↓ 1 callersClassBilinearInterpolationHelper
Args: packed_annotations: object that contains packed annotations j_valid (:obj: `torch.Tensor`): uint8 tensor of size M containi
densepose/modeling/losses/utils.py:64
↓ 1 callersClassBlock
Transformer blocks with support of window attention and residual propagation blocks
detectron2/modeling/backbone/vit.py:145
↓ 1 callersClassBottleneckTransform
Bottleneck transformation: 1x1, 3x3 [+SE], 1x1.
detectron2/modeling/backbone/regnet.py:161
↓ 1 callersClassBox2BoxTransformLinear
The linear box-to-box transform defined in FCOS. The transformation is parameterized by the distance from the center of (square) src box to 4
detectron2/modeling/box_regression.py:230
↓ 1 callersClassBoxMode
Enum of different ways to represent a box.
detectron2/structures/boxes.py:13
↓ 1 callersClassCOCOevalMaxDets
Modified version of COCOeval for evaluating AP with a custom maxDets (by default for COCO, maxDets is 100)
detectron2/evaluation/coco_evaluation.py:634
↓ 1 callersClassCaffe2FastRCNNOutputsInference
detectron2/export/c10.py:519
↓ 1 callersClassCaffe2KeypointRCNNInference
detectron2/export/c10.py:564
↓ 1 callersClassCaffe2MaskRCNNInference
detectron2/export/c10.py:540
↓ 1 callersClassCatVTONPix2PixPipeline
model/pipeline.py:218
↓ 1 callersClassChartBasedAnnotationsAccumulator
Accumulates annotations by batches that correspond to objects detected on individual images. Can pack them together into single tensors.
densepose/modeling/losses/utils.py:305
↓ 1 callersClassCombinedDataLoader
Combines data loaders using the provided sampling ratios
densepose/data/combined_loader.py:18
↓ 1 callersClassCommonMetricPrinter
Print **common** metrics to the terminal, including iteration time, ETA, memory, all losses, and the learning rate. It also applies smoot
detectron2/utils/events.py:195
↓ 1 callersClassCompoundVisualizer
densepose/vis/base.py:176
↓ 1 callersClassCseAnnotationsAccumulator
Accumulates annotations by batches that correspond to objects detected on individual images. Can pack them together into single tensors.
densepose/modeling/losses/embed_utils.py:28
↓ 1 callersClassCycleBatchNormList
Implement domain-specific BatchNorm by cycling. When a BatchNorm layer is used for multiple input domains or input features, it might ne
detectron2/layers/batch_norm.py:286
next →1–100 of 416, ranked by callers