MCPcopy Create free account

hub / github.com/AIFSH/IMAGDressing-ComfyUI / types & classes

Types & classes404 in github.com/AIFSH/IMAGDressing-ComfyUI

↓ 81 callersClassConv2d
A wrapper around :class:`torch.nn.Conv2d` to support empty inputs and more features.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/wrappers.py:40
↓ 42 callersClassBoxes
This structure stores a list of boxes as a Nx4 torch.Tensor. It supports some common methods about boxes (`area`, `clip`, `nonempty`, etc
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/boxes.py:132
↓ 39 callersClassRotatedBoxes
This structure stores a list of rotated boxes as a Nx5 torch.Tensor. It supports some common methods about boxes (`area`, `clip`, `nonemp
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/rotated_boxes.py:11
↓ 36 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"
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/instances.py:7
↓ 34 callersClassInPlaceABNSync
InPlace Activated Batch Normalization with cross-GPU synchronization This assumes that it will be replicated across GPUs using the same mechanism
imagdressing/preprocess/humanparsing/modules/bn.py:113
↓ 30 callersClassBatchNorm2d
A wrapper around :class:`torch.nn.BatchNorm2d` to support zero-size tensor.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/wrappers.py:141
↓ 25 callersClassVisualizer
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:308
↓ 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
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/shape_spec.py:6
↓ 18 callersClassDetectionCheckpointer
Same as :class:`Checkpointer`, but is able to handle models in detectron & detectron2 model zoo, and apply conversions for legacy models.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/checkpoint/detection_checkpoint.py:11
↓ 10 callersClassConvTranspose2d
A wrapper around :class:`torch.nn.ConvTranspose2d` to support zero-size tensor.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/wrappers.py:105
↓ 10 callersClassEventStorage
The user-facing class that provides metric storage functionalities. In the future we may add support for storing / logging other types of da
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/events.py:232
↓ 10 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,
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/image_list.py:8
↓ 9 callersClassBitMasks
This class stores the segmentation masks for all objects in one image, in the form of bitmaps. Attributes: tensor: bool Tensor o
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/masks.py:84
↓ 9 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
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/box_regression.py:42
↓ 9 callersClassCOCOEvaluator
Evaluate object proposal, instance detection/segmentation, keypoint detection outputs using COCO's metrics and APIs.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/coco_evaluation.py:28
↓ 9 callersClassROIPooler
Region of interest feature map pooler that supports pooling from one or more feature maps.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/poolers.py:84
↓ 9 callersClassRotationTransform
This method returns a copy of this image, rotated the given number of degrees counter clockwise around its center.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/transforms/transform.py:125
↓ 8 callersClassCocoDatasetInfo
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/datasets/coco.py:21
↓ 7 callersClassDatasetEvaluators
Wrapper class to combine multiple :class:`DatasetEvaluator` instances. This class dispatches every evaluation call to all of its :class:
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/evaluator.py:64
↓ 7 callersClassROIAlign
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/roi_align.py:51
↓ 7 callersClass_TestClassD
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/test_config.py:133
↓ 6 callersClassDatasetFromList
Wrap a list to a torch Dataset. It produces elements of the list as data.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/common.py:60
↓ 6 callersClassPolygonMasks
This class stores the segmentation masks for all objects in one image, in the form of polygons. Attributes: polygons: list[list[ndar
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/masks.py:225
↓ 6 callersClass_TestClassA
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/test_config.py:63
↓ 6 callersClass_TestClassB
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/test_config.py:80
↓ 6 callersClass_TestClassC
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/test_config.py:124
↓ 5 callersClassCityscapesInstanceEvaluator
Evaluate instance segmentation results using cityscapes API. Note: * It does not work in multi-machine distributed training.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/cityscapes_evaluation.py:47
↓ 5 callersClassCityscapesSemSegEvaluator
Evaluate semantic segmentation results using cityscapes API. Note: * It does not work in multi-machine distributed training.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/cityscapes_evaluation.py:122
↓ 5 callersClassDensePoseList
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/structures.py:516
↓ 5 callersClassFastRCNNOutputLayers
Two linear layers for predicting Fast R-CNN outputs: (1) proposal-to-detection box regression deltas (2) classification scores
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/fast_rcnn.py:339
↓ 5 callersClassLVISEvaluator
Evaluate object proposal and instance detection/segmentation outputs using LVIS's metrics and evaluation API.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/lvis_evaluation.py:21
↓ 5 callersClassMatrixVisualizer
Base visualizer for matrix data
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/base.py:11
↓ 5 callersClassSemSegEvaluator
Evaluate semantic segmentation
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/sem_seg_evaluation.py:19
↓ 4 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
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/box_regression.py:140
↓ 4 callersClassDatasetMapper
A customized version of `detectron2.data.DatasetMapper`
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/dataset_mapper.py:15
↓ 4 callersClassKeypoints
Stores keypoint annotation data. GT Instances have a `gt_keypoints` property containing the x,y location and visibility flag of each keypoint
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/keypoints.py:9
↓ 4 callersClassMapDataset
Map a function over the elements in a dataset. Args: dataset: a dataset where map function is applied. map_func: a callable
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/common.py:14
↓ 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
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/matcher.py:6
↓ 4 callersClassROIAlignRotated
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/roi_align_rotated.py:49
↓ 4 callersClassScopedWS
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/shared.py:129
↓ 4 callersClassSwapAlign2Nat
The op `SwapAlign2Nat` described in https://arxiv.org/abs/1903.12174. Given an input tensor that predicts masks of shape (N, C=VxU, H
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/TensorMask/tensormask/layers/swap_align2nat.py:32
↓ 3 callersClassASPPConv
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/densepose_head.py:139
↓ 3 callersClassCOCOPanopticEvaluator
Evaluate Panoptic Quality metrics on COCO using PanopticAPI. It saves panoptic segmentation prediction in `output_dir` It contains a syn
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/panoptic_evaluation.py:22
↓ 3 callersClassCaffe2Tracer
Make a detectron2 model traceable with caffe2 style. An original detectron2 model may not be traceable, or cannot be deployed directly a
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/api.py:45
↓ 3 callersClassCommonMetricPrinter
Print **common** metrics to the terminal, including iteration time, ETA, memory, all losses, and the learning rate. To print something d
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/events.py:156
↓ 3 callersClassCompoundExtractor
Extracts data for CompoundVisualizer
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/extractor.py:94
↓ 3 callersClassDefaultPredictor
Create a simple end-to-end predictor with the given config that runs on single device for a single input image. Compared to using the mo
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/engine/defaults.py:154
↓ 3 callersClassGenericMask
Attribute: polygons (list[ndarray]): list[ndarray]: polygons for this mask. Each ndarray has format [x, y, x, y, ...]
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:58
↓ 3 callersClassLinear
A wrapper around :class:`torch.nn.Linear` to support empty inputs and more features. Because of https://github.com/pytorch/pytorch/is
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/wrappers.py:158
↓ 3 callersClassMetadata
A class that supports simple attribute setter/getter. It is intended for storing metadata of a dataset and make it accessible globally.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/catalog.py:82
↓ 3 callersClassOpenPose
imagdressing/preprocess/openpose/run_openpose.py:29
↓ 3 callersClassPascalVOCDetectionEvaluator
Evaluate Pascal VOC AP. It contains a synchronization, therefore has to be called from all ranks. Note that this is a rewrite of the off
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/evaluation/pascal_voc_evaluation.py:20
↓ 3 callersClassPerceiverAttention
imagdressing/adapter/resampler.py:34
↓ 3 callersClassPoint
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:27
↓ 3 callersClassResNet
imagdressing/preprocess/humanparsing/networks/backbone/resnet.py:109
↓ 3 callersClassResizeTransform
Resize the image to a target size.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/transforms/transform.py:71
↓ 2 callersClassAspectRatioGroupedDataset
Batch data that have similar aspect ratio together. In this implementation, images whose aspect ratio < (or >) 1 will be batched together
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/common.py:115
↓ 2 callersClassBGR2RGB_transform
imagdressing/preprocess/humanparsing/utils/transforms.py:23
↓ 2 callersClassBasicStem
The standard ResNet stem (layers before the first residual block).
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/backbone/resnet.py:366
↓ 2 callersClassBoxMode
Enum of different ways to represent a box.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/structures/boxes.py:12
↓ 2 callersClassBufferList
Similar to nn.ParameterList, but for buffers
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/anchor_generator.py:20
↓ 2 callersClassCacheAttnProcessor2_0
r""" Processor for implementing scaled dot-product attention (enabled by default if you're using PyTorch 2.0).
imagdressing/adapter/attention_processor.py:13
↓ 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
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/c10.py:22
↓ 2 callersClassCaffe2Model
A wrapper around the traced model in caffe2's pb format.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/api.py:177
↓ 2 callersClassCompoundVisualizer
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/base.py:174
↓ 2 callersClassDataParallelModel
Implements data parallelism at the module level. This container parallelizes the application of the given module by splitting the input acros
imagdressing/preprocess/humanparsing/utils/encoding.py:65
↓ 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
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/dataset_mapper.py:19
↓ 2 callersClassDatasetMapperTTA
Implement test-time augmentation for detection data. It is a callable which takes a dataset dict from a detection dataset, and returns a
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/test_time_augmentation.py:21
↓ 2 callersClassDefaultAnchorGenerator
Compute anchors in the standard ways described in "Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks".
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/anchor_generator.py:86
↓ 2 callersClassDensePoseCocoEval
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/densepose_coco_evaluation.py:53
↓ 2 callersClassDensePoseDataRelative
Dense pose relative annotations that can be applied to any bounding box: x - normalized X coordinates [0, 255] of annotated points
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/structures.py:42
↓ 2 callersClassDensePoseOutput
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/data/structures.py:205
↓ 2 callersClassFPN
This module implements :paper:`FPN`. It creates pyramid features built on top of some input feature maps.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/backbone/fpn.py:16
↓ 2 callersClassGeneralizedRCNNWithTTA
A GeneralizedRCNN with test-time augmentation enabled. Its :meth:`__call__` method has the same interface as :meth:`GeneralizedRCNN.forward`.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/test_time_augmentation.py:70
↓ 2 callersClassGroupedBatchSampler
Wraps another sampler to yield a mini-batch of indices. It enforces that the batch only contain elements from the same group. It also tri
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/data/samplers/grouped_batch_sampler.py:6
↓ 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
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/c10.py:38
↓ 2 callersClassJSONWriter
Write scalars to a json file. It saves scalars as one json per line (instead of a big json) for easy parsing. Examples parsing such a j
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/events.py:40
↓ 2 callersClassROIHeadsPatcher
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/export/patcher.py:114
↓ 2 callersClassRPNOutputs
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/proposal_generator/rpn_outputs.py:196
↓ 2 callersClassRectangleVisualizer
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/vis/base.py:77
↓ 2 callersClassResNet
Implement :paper:`ResNet`.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/backbone/resnet.py:397
↓ 2 callersClassResampler
imagdressing/adapter/resampler.py:170
↓ 2 callersClassRotatedFastRCNNOutputLayers
Two linear layers for predicting Rotated Fast R-CNN outputs.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/modeling/roi_heads/rotated_fast_rcnn.py:134
↓ 2 callersClassSGDRScheduler
Consine annealing with warm up and restarts. Proposed in `SGDR: Stochastic Gradient Descent with Warm Restarts`.
imagdressing/preprocess/humanparsing/utils/warmup_scheduler.py:36
↓ 2 callersClassSelfAttentionBlock2D
imagdressing/preprocess/humanparsing/networks/context_encoding/ocnet.py:87
↓ 2 callersClassSemSegDatasetMapper
A callable which takes a dataset dict in Detectron2 Dataset format, and map it into a format used by semantic segmentation models. The c
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/PointRend/point_rend/dataset_mapper.py:23
↓ 2 callersClassSimpleFolderDataset
imagdressing/preprocess/humanparsing/datasets/simple_extractor_dataset.py:24
↓ 2 callersClassTensorToImageList
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/structures/test_imagelist.py:12
↓ 2 callersClassTensorboardXWriter
Write all scalars to a tensorboard file.
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/events.py:111
↓ 2 callersClassWrapModel
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/analysis.py:134
↓ 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:
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/video_visualizer.py:15
↓ 2 callersClass_LegacySubClass
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/test_config.py:96
↓ 2 callersClass_LegacySubClassNotCfg
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/test_config.py:115
↓ 2 callersClass_NewSubClassNewInit
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/tests/test_config.py:105
↓ 2 callersClass_PanopticPrediction
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/detectron2/utils/visualizer.py:148
↓ 1 callersClassASPP
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/densepose_head.py:166
↓ 1 callersClassASPPPooling
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/densepose_head.py:151
↓ 1 callersClassAllEntrySelector
Selector that accepts all entries
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/projects/DensePose/densepose/utils/dbhelper.py:17
↓ 1 callersClassAsyncPredictor
A predictor that runs the model asynchronously, possibly on >1 GPUs. Because rendering the visualization takes considerably amount of time,
imagdressing/preprocess/humanparsing/mhp_extension/detectron2/demo/predictor.py:132
↓ 1 callersClassBaseOC_Context_Module
Output only the context features. Parameters: in_features / out_features: the channels of the input / output feature maps. dr
imagdressing/preprocess/humanparsing/networks/context_encoding/ocnet.py:134
next →1–100 of 404, ranked by callers