MCPcopy Create free account

hub / github.com/Megvii-BaseDetection/cvpods / types & classes

Types & classes579 in github.com/Megvii-BaseDetection/cvpods

↓ 108 callersClassShapeSpec
A simple structure that contains basic shape specification about a tensor. It is often used as the auxiliary inputs/outputs of models, to
cvpods/layers/shape_spec.py:6
↓ 91 callersClassConv2d
A wrapper around :class:`torch.nn.Conv2d` to support empty inputs and more features.
cvpods/layers/wrappers.py:59
↓ 70 callersClassBoxes
This structure stores a list of boxes as a Nx4 torch.Tensor. It supports some common methods about boxes (`area`, `clip`, `nonempty`, etc
cvpods/structures/boxes.py:130
↓ 50 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"
cvpods/structures/instances.py:10
↓ 37 callersClassRotatedBoxes
This structure stores a list of rotated boxes as a Nx5 torch.Tensor. It supports some common methods about boxes (`area`, `clip`, `nonemp
cvpods/structures/rotated_boxes.py:13
↓ 26 callersClassRPN
Region Proposal Network, introduced by the Faster R-CNN paper.
cvpods/modeling/proposal_generator/rpn.py:78
↓ 23 callersClassGeneralizedRCNN
Generalized R-CNN. Any models that contains the following three components: 1. Per-image feature extraction (aka backbone) 2. Region prop
cvpods/modeling/meta_arch/rcnn.py:16
↓ 20 callersClassFastRCNNConvFCHead
A head with several 3x3 conv layers (each followed by norm & relu) and several fc layers (each followed by relu).
cvpods/modeling/roi_heads/box_head.py:19
↓ 16 callersClassMaskRCNNConvUpsampleHead
A mask head with several conv layers, plus an upsample layer (with `ConvTranspose2d`).
cvpods/modeling/roi_heads/mask_head.py:127
↓ 13 callersClassStandardROIHeads
It's "standard" in a sense that there is no ROI transform sharing or feature sharing between tasks. The cropped rois go to separate branc
cvpods/modeling/roi_heads/roi_heads.py:448
↓ 13 callersClassTimer
A timer which computes the time elapsed since the start/reset of the timer.
cvpods/utils/benchmark/timer.py:9
↓ 12 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
cvpods/modeling/box_regression.py:15
↓ 12 callersClassEventStorage
The user-facing class that provides metric storage functionalities. In the future we may add support for storing / logging other types of da
cvpods/utils/dump/events.py:283
↓ 11 callersClassDefaultAnchorGenerator
For a set of image sizes and feature maps, computes a set of anchors.
cvpods/modeling/anchor_generator.py:64
↓ 11 callersClassROIPooler
Region of interest feature map pooler that supports pooling from one or more feature maps.
cvpods/modeling/poolers.py:92
↓ 11 callersClassRotationTransform
This method returns a copy of this image, rotated the given number of degrees counter clockwise around its center.
cvpods/data/transforms/transform.py:597
↓ 11 callersClassVisualizer
cvpods/utils/visualizer/visualizer.py:299
↓ 10 callersClassBitMasks
This class stores the segmentation masks for all objects in one image, in the form of bitmaps. Attributes: tensor: bool Tensor o
cvpods/structures/masks.py:86
↓ 10 callersClassRCNNConfig
cvpods/configs/rcnn_config.py:161
↓ 9 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,
cvpods/structures/image_list.py:8
↓ 9 callersClassNoOpTransform
A transform that does nothing.
cvpods/data/transforms/transform.py:783
↓ 8 callersClassDefaultCheckpointer
Same as :class:`Checkpointer`, but is able to handle models in detectron & cvpods model zoo, and apply conversions for legacy models.
cvpods/checkpoint/checkpoint.py:336
↓ 8 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
cvpods/modeling/matcher.py:10
↓ 8 callersClassRegistry
The registry that provides name -> object mapping, to support third-party users' custom modules. To create a registry (e.g. a backbone re
cvpods/utils/registry.py:7
↓ 7 callersClassPolygonMasks
This class stores the segmentation masks for all objects in one image, in the form of polygons. Attributes: polygons: list[list[ndar
cvpods/structures/masks.py:244
↓ 7 callersClassQualifier
Creates a qualifier with the given name. test_func should be a callable object (e.g., lambda) that takes in as input an annotation objec
cvpods/analyser/tide/errors/qualifiers.py:12
↓ 7 callersClassROIAlign
cvpods/layers/roi_align.py:54
↓ 7 callersClass_TestClassD
tests/configs/test_config.py:138
↓ 6 callersClassFastRCNNOutputLayers
Two linear layers for predicting Fast R-CNN outputs: (1) proposal-to-detection box regression deltas (2) classification scores
cvpods/modeling/roi_heads/fast_rcnn.py:376
↓ 6 callersClassMemoryEfficientSwish
cvpods/layers/activation_funcs.py:31
↓ 6 callersClassShift2BoxTransform
cvpods/modeling/box_regression.py:220
↓ 6 callersClass_TestClassA
tests/configs/test_config.py:68
↓ 6 callersClass_TestClassB
tests/configs/test_config.py:85
↓ 6 callersClass_TestClassC
tests/configs/test_config.py:129
↓ 5 callersClassComposeTransform
Composes several transforms together.
cvpods/data/transforms/transform.py:313
↓ 5 callersClassCropTransform
Perform crop operations on images.
cvpods/data/transforms/transform.py:1372
↓ 5 callersClassFastRCNNOutputs
A class that stores information about outputs of a Fast R-CNN head.
cvpods/modeling/roi_heads/fast_rcnn.py:138
↓ 5 callersClassSemSegDecoderHead
This module implements simple decoder head for Semantic Segmentation. It creats decoder on top of the dynamic backbone.
cvpods/modeling/meta_arch/dynamic4seg.py:113
↓ 5 callersClassSemanticSegmentor
Main class for semantic segmentation architectures.
cvpods/modeling/meta_arch/semantic_seg.py:25
↓ 5 callersClassSeparableConvBlock
Depthwise seperable convolution block.
cvpods/layers/wrappers.py:493
↓ 5 callersClassShiftGenerator
For a set of image sizes and feature maps, computes a set of shifts.
cvpods/modeling/anchor_generator.py:362
↓ 4 callersClassBaseDetectionConfig
cvpods/configs/base_detection_config.py:91
↓ 4 callersClassBlendTransform
Transforms pixel colors with PIL enhance functions.
cvpods/data/transforms/transform.py:1539
↓ 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
cvpods/modeling/box_regression.py:113
↓ 4 callersClassCOCOeval
cvpods/evaluation/widerfacetools.py:13
↓ 4 callersClassData
A class to hold ground truth or predictions data in an easy to work with format. Note that any time they appear, bounding boxes are [x, y, wi
cvpods/analyser/tide/data.py:4
↓ 4 callersClassDatasetEvaluators
cvpods/evaluation/evaluator.py:65
↓ 4 callersClassDecoupledSOLO
Implement Decoupled SOLO. See: https://arxiv.org/pdf/1512.02325.pdf for more details.
cvpods/modeling/meta_arch/solo_decoupled.py:25
↓ 4 callersClassDefaultBox
Compute default box coordinates (xmin, ymin, xmax, ymax) for each feature map. Returns: default_boxes (list['Boxes']): a list of 'Boxes' e
cvpods/modeling/meta_arch/ssd.py:534
↓ 4 callersClassDynamicNet4Seg
This module implements Dynamic Network for Semantic Segmentation.
cvpods/modeling/meta_arch/dynamic4seg.py:23
↓ 4 callersClassEfficientDet
Implement EfficientDet(https://arxiv.org/abs/1911.09070). See: https://arxiv.org/pdf/1911.09070.pdf for more details.
cvpods/modeling/meta_arch/efficientdet.py:32
↓ 4 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
cvpods/utils/dump/events.py:42
↓ 4 callersClassROIAlignRotated
cvpods/layers/roi_align_rotated.py:49
↓ 4 callersClassRes5ROIHeads
The ROIHeads in a typical "C4" R-CNN model, where the box and mask head share the cropping and the per-region feature computation by a Re
cvpods/modeling/roi_heads/roi_heads.py:300
↓ 4 callersClassSOLO
Implement SOLO: Segmenting Objects by Locations. See: https://arxiv.org/pdf/1512.02325.pdf for more details.
cvpods/modeling/meta_arch/solo.py:38
↓ 4 callersClassSSD
Implement SSD (https://arxiv.org/abs/1512.02325). See: https://arxiv.org/pdf/1512.02325.pdf for more details.
cvpods/modeling/meta_arch/ssd.py:29
↓ 4 callersClassSemSegFPNHead
A semantic segmentation head described in :paper:`PanopticFPN`. It takes FPN features as input and merges information from all levels of
cvpods/modeling/meta_arch/semantic_seg.py:92
↓ 4 callersClassShuffleV2Block
cvpods/modeling/backbone/shufflenet.py:14
↓ 4 callersClassStandardPointHead
A point head multi-layer perceptron which we model with conv1d layers with kernel 1. The head takes both fine-grained and coarse prediction f
cvpods/modeling/meta_arch/pointrend.py:658
↓ 4 callersClassSwish
Implement the Swish activation function. See: https://arxiv.org/abs/1710.05941 for more details.
cvpods/layers/activation_funcs.py:36
↓ 4 callersClassf
tests/structures/test_instances.py:29
↓ 3 callersClassAPDataObject
Stores all the information necessary to calculate the AP for one IoU and one class. Note: I type annotated this because why not.
cvpods/analyser/tide/ap.py:9
↓ 3 callersClassClassedAPDataObject
Stores an APDataObject for each class in the dataset.
cvpods/analyser/tide/ap.py:126
↓ 3 callersClassCoarseMaskHead
A mask head with fully connected layers. Given pooled features it first reduces channels and spatial dimensions with conv layers and then use
cvpods/modeling/meta_arch/pointrend.py:575
↓ 3 callersClassCommonMetricPrinter
Print **common** metrics to the terminal, including iteration time, ETA, memory, all losses, and the learning rate. To print something d
cvpods/utils/dump/events.py:176
↓ 3 callersClassConvTranspose2d
A wrapper around :class:`torch.nn.ConvTranspose2d` to support zero-size tensor.
cvpods/layers/wrappers.py:555
↓ 3 callersClassDatasetMapperTTA
Implement test-time augmentation for detection data. It is a callable which takes a dataset dict from a detection dataset, and returns a
cvpods/modeling/test_time_augmentation.py:29
↓ 3 callersClassDeconvLayer
cvpods/modeling/meta_arch/centernet.py:21
↓ 3 callersClassDeformConv
cvpods/layers/deform_conv.py:309
↓ 3 callersClassFCNHead
The head used in FCN for Semantic Segmentation. See: https://arxiv.org/abs/1605.06211 for more details.
cvpods/modeling/meta_arch/fcn.py:15
↓ 3 callersClassGenericMask
Attribute: polygons (list[ndarray]): list[ndarray]: polygons for this mask. Each ndarray has format [x, y, x, y, ...]
cvpods/utils/visualizer/visualizer.py:50
↓ 3 callersClassKeypoints
Stores keypoint annotation data. GT Instances have a `gt_keypoints` property containing the x,y location and visibility flag of each keypoint
cvpods/structures/keypoints.py:11
↓ 3 callersClassMaxPool2d
cvpods/modeling/backbone/dynamic_arch/op_with_flops.py:586
↓ 3 callersClassPoint
cvpods/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:27
↓ 3 callersClassPointRendROIHeads
The RoI heads class for PointRend instance segmentation models. In this class we redefine the mask head of `StandardROIHeads` leaving all ot
cvpods/modeling/meta_arch/pointrend.py:335
↓ 3 callersClassResizeTransform
Resize the image to a target size.
cvpods/data/transforms/transform.py:1707
↓ 3 callersClassRetinaNet
Implement RetinaNet (https://arxiv.org/abs/1708.02002).
cvpods/modeling/meta_arch/retinanet.py:54
↓ 3 callersClassSSDConfig
cvpods/configs/ssd_config.py:46
↓ 3 callersClassScale
cvpods/modeling/meta_arch/fcos.py:46
↓ 3 callersClassSepConv
cvpods/modeling/backbone/dynamic_arch/op_with_flops.py:180
↓ 3 callersClassSingleHead
r""" Single head used in CenterNet Head.
cvpods/modeling/meta_arch/centernet.py:575
↓ 3 callersClassTransformList
Maintain a list of transform operations which will be applied in sequence. Attributes: transforms (list[Transform])
cvpods/data/transforms/transform.py:387
↓ 2 callersClassBackgroundError
cvpods/analyser/tide/errors/main_errors.py:60
↓ 2 callersClassBasicStem
cvpods/modeling/backbone/resnet.py:488
↓ 2 callersClassBestGTMatch
Some errors are fixed by changing false positives to true positives. The issue with fixing these errors naively is that you might have mu
cvpods/analyser/tide/errors/error.py:102
↓ 2 callersClassBorderBranch
cvpods/modeling/meta_arch/borderdet.py:783
↓ 2 callersClassBottleneck
cvpods/modeling/backbone/dynamic_arch/op_with_flops.py:339
↓ 2 callersClassBoxMode
Enum of different ways to represent a box. Attributes: XYXY_ABS: (x0, y0, x1, y1) in absolute floating points coordinates.
cvpods/structures/boxes.py:17
↓ 2 callersClassBufferList
Similar to nn.ParameterList, but for buffers
cvpods/modeling/anchor_generator.py:24
↓ 2 callersClassCOCOEvaluator
Evaluate object proposal, instance detection/segmentation, keypoint detection outputs using COCO's metrics and APIs.
cvpods/evaluation/coco_evaluation.py:33
↓ 2 callersClassCell
cvpods/modeling/backbone/dynamic_arch/dynamic_cell.py:88
↓ 2 callersClassCenterNet
r""" Implement CenterNet (https://arxiv.org/abs/1904.07850).
cvpods/modeling/meta_arch/centernet.py:106
↓ 2 callersClassConfigDict
cvpods/configs/base_config.py:236
↓ 2 callersClassConv2dSamePadding
A wrapper around :class:`torch.nn.Conv2d` to support "SAME" padding mode and more features.
cvpods/layers/wrappers.py:120
↓ 2 callersClassDilConv
cvpods/modeling/backbone/dynamic_arch/op_with_flops.py:132
↓ 2 callersClassFCOS
Implement FCOS (https://arxiv.org/abs/1708.02002).
playground/detection/widerface/fcos/fcos.res50.fpn.widerface.600size.0.5x_crop.plus.norm_sync/fcos.py:53
↓ 2 callersClassFCOSHead
The head used in FCOS for object classification and box regression. It has two subnets for the two tasks, with a common structure but separat
cvpods/modeling/meta_arch/fcos.py:481
↓ 2 callersClassFPN
This module implements Feature Pyramid Network. It creates pyramid features built on top of some input feature maps.
cvpods/modeling/backbone/fpn.py:39
↓ 2 callersClassGeneralizedRCNNWithTTA
A GeneralizedRCNN with test-time augmentation enabled. Its :meth:`__call__` method has the same interface as :meth:`GeneralizedRCNN.forward`.
cvpods/modeling/test_time_augmentation.py:84
↓ 2 callersClassInfoTable
cvpods/analyser/module_profiler.py:208
next →1–100 of 579, ranked by callers