Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Megvii-BaseDetection/cvpods
/ types & classes
Types & classes
579 in github.com/Megvii-BaseDetection/cvpods
⨍
Functions
2,734
◇
Types & classes
579
↳
Endpoints
1
↓ 108 callers
Class
ShapeSpec
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 callers
Class
Conv2d
A wrapper around :class:`torch.nn.Conv2d` to support empty inputs and more features.
cvpods/layers/wrappers.py:59
↓ 70 callers
Class
Boxes
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 callers
Class
Instances
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 callers
Class
RotatedBoxes
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 callers
Class
RPN
Region Proposal Network, introduced by the Faster R-CNN paper.
cvpods/modeling/proposal_generator/rpn.py:78
↓ 23 callers
Class
GeneralizedRCNN
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 callers
Class
FastRCNNConvFCHead
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 callers
Class
MaskRCNNConvUpsampleHead
A mask head with several conv layers, plus an upsample layer (with `ConvTranspose2d`).
cvpods/modeling/roi_heads/mask_head.py:127
↓ 13 callers
Class
StandardROIHeads
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 callers
Class
Timer
A timer which computes the time elapsed since the start/reset of the timer.
cvpods/utils/benchmark/timer.py:9
↓ 12 callers
Class
Box2BoxTransform
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 callers
Class
EventStorage
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 callers
Class
DefaultAnchorGenerator
For a set of image sizes and feature maps, computes a set of anchors.
cvpods/modeling/anchor_generator.py:64
↓ 11 callers
Class
ROIPooler
Region of interest feature map pooler that supports pooling from one or more feature maps.
cvpods/modeling/poolers.py:92
↓ 11 callers
Class
RotationTransform
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 callers
Class
Visualizer
cvpods/utils/visualizer/visualizer.py:299
↓ 10 callers
Class
BitMasks
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 callers
Class
RCNNConfig
cvpods/configs/rcnn_config.py:161
↓ 9 callers
Class
ImageList
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 callers
Class
NoOpTransform
A transform that does nothing.
cvpods/data/transforms/transform.py:783
↓ 8 callers
Class
DefaultCheckpointer
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 callers
Class
Matcher
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 callers
Class
Registry
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 callers
Class
PolygonMasks
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 callers
Class
Qualifier
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 callers
Class
ROIAlign
cvpods/layers/roi_align.py:54
↓ 7 callers
Class
_TestClassD
tests/configs/test_config.py:138
↓ 6 callers
Class
FastRCNNOutputLayers
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 callers
Class
MemoryEfficientSwish
cvpods/layers/activation_funcs.py:31
↓ 6 callers
Class
Shift2BoxTransform
cvpods/modeling/box_regression.py:220
↓ 6 callers
Class
_TestClassA
tests/configs/test_config.py:68
↓ 6 callers
Class
_TestClassB
tests/configs/test_config.py:85
↓ 6 callers
Class
_TestClassC
tests/configs/test_config.py:129
↓ 5 callers
Class
ComposeTransform
Composes several transforms together.
cvpods/data/transforms/transform.py:313
↓ 5 callers
Class
CropTransform
Perform crop operations on images.
cvpods/data/transforms/transform.py:1372
↓ 5 callers
Class
FastRCNNOutputs
A class that stores information about outputs of a Fast R-CNN head.
cvpods/modeling/roi_heads/fast_rcnn.py:138
↓ 5 callers
Class
SemSegDecoderHead
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 callers
Class
SemanticSegmentor
Main class for semantic segmentation architectures.
cvpods/modeling/meta_arch/semantic_seg.py:25
↓ 5 callers
Class
SeparableConvBlock
Depthwise seperable convolution block.
cvpods/layers/wrappers.py:493
↓ 5 callers
Class
ShiftGenerator
For a set of image sizes and feature maps, computes a set of shifts.
cvpods/modeling/anchor_generator.py:362
↓ 4 callers
Class
BaseDetectionConfig
cvpods/configs/base_detection_config.py:91
↓ 4 callers
Class
BlendTransform
Transforms pixel colors with PIL enhance functions.
cvpods/data/transforms/transform.py:1539
↓ 4 callers
Class
Box2BoxTransformRotated
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 callers
Class
COCOeval
cvpods/evaluation/widerfacetools.py:13
↓ 4 callers
Class
Data
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 callers
Class
DatasetEvaluators
cvpods/evaluation/evaluator.py:65
↓ 4 callers
Class
DecoupledSOLO
Implement Decoupled SOLO. See: https://arxiv.org/pdf/1512.02325.pdf for more details.
cvpods/modeling/meta_arch/solo_decoupled.py:25
↓ 4 callers
Class
DefaultBox
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 callers
Class
DynamicNet4Seg
This module implements Dynamic Network for Semantic Segmentation.
cvpods/modeling/meta_arch/dynamic4seg.py:23
↓ 4 callers
Class
EfficientDet
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 callers
Class
JSONWriter
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 callers
Class
ROIAlignRotated
cvpods/layers/roi_align_rotated.py:49
↓ 4 callers
Class
Res5ROIHeads
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 callers
Class
SOLO
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 callers
Class
SSD
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 callers
Class
SemSegFPNHead
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 callers
Class
ShuffleV2Block
cvpods/modeling/backbone/shufflenet.py:14
↓ 4 callers
Class
StandardPointHead
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 callers
Class
Swish
Implement the Swish activation function. See: https://arxiv.org/abs/1710.05941 for more details.
cvpods/layers/activation_funcs.py:36
↓ 4 callers
Class
f
tests/structures/test_instances.py:29
↓ 3 callers
Class
APDataObject
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 callers
Class
ClassedAPDataObject
Stores an APDataObject for each class in the dataset.
cvpods/analyser/tide/ap.py:126
↓ 3 callers
Class
CoarseMaskHead
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 callers
Class
CommonMetricPrinter
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 callers
Class
ConvTranspose2d
A wrapper around :class:`torch.nn.ConvTranspose2d` to support zero-size tensor.
cvpods/layers/wrappers.py:555
↓ 3 callers
Class
DatasetMapperTTA
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 callers
Class
DeconvLayer
cvpods/modeling/meta_arch/centernet.py:21
↓ 3 callers
Class
DeformConv
cvpods/layers/deform_conv.py:309
↓ 3 callers
Class
FCNHead
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 callers
Class
GenericMask
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 callers
Class
Keypoints
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 callers
Class
MaxPool2d
cvpods/modeling/backbone/dynamic_arch/op_with_flops.py:586
↓ 3 callers
Class
Point
cvpods/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:27
↓ 3 callers
Class
PointRendROIHeads
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 callers
Class
ResizeTransform
Resize the image to a target size.
cvpods/data/transforms/transform.py:1707
↓ 3 callers
Class
RetinaNet
Implement RetinaNet (https://arxiv.org/abs/1708.02002).
cvpods/modeling/meta_arch/retinanet.py:54
↓ 3 callers
Class
SSDConfig
cvpods/configs/ssd_config.py:46
↓ 3 callers
Class
Scale
cvpods/modeling/meta_arch/fcos.py:46
↓ 3 callers
Class
SepConv
cvpods/modeling/backbone/dynamic_arch/op_with_flops.py:180
↓ 3 callers
Class
SingleHead
r""" Single head used in CenterNet Head.
cvpods/modeling/meta_arch/centernet.py:575
↓ 3 callers
Class
TransformList
Maintain a list of transform operations which will be applied in sequence. Attributes: transforms (list[Transform])
cvpods/data/transforms/transform.py:387
↓ 2 callers
Class
BackgroundError
cvpods/analyser/tide/errors/main_errors.py:60
↓ 2 callers
Class
BasicStem
cvpods/modeling/backbone/resnet.py:488
↓ 2 callers
Class
BestGTMatch
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 callers
Class
BorderBranch
cvpods/modeling/meta_arch/borderdet.py:783
↓ 2 callers
Class
Bottleneck
cvpods/modeling/backbone/dynamic_arch/op_with_flops.py:339
↓ 2 callers
Class
BoxMode
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 callers
Class
BufferList
Similar to nn.ParameterList, but for buffers
cvpods/modeling/anchor_generator.py:24
↓ 2 callers
Class
COCOEvaluator
Evaluate object proposal, instance detection/segmentation, keypoint detection outputs using COCO's metrics and APIs.
cvpods/evaluation/coco_evaluation.py:33
↓ 2 callers
Class
Cell
cvpods/modeling/backbone/dynamic_arch/dynamic_cell.py:88
↓ 2 callers
Class
CenterNet
r""" Implement CenterNet (https://arxiv.org/abs/1904.07850).
cvpods/modeling/meta_arch/centernet.py:106
↓ 2 callers
Class
ConfigDict
cvpods/configs/base_config.py:236
↓ 2 callers
Class
Conv2dSamePadding
A wrapper around :class:`torch.nn.Conv2d` to support "SAME" padding mode and more features.
cvpods/layers/wrappers.py:120
↓ 2 callers
Class
DilConv
cvpods/modeling/backbone/dynamic_arch/op_with_flops.py:132
↓ 2 callers
Class
FCOS
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 callers
Class
FCOSHead
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 callers
Class
FPN
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 callers
Class
GeneralizedRCNNWithTTA
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 callers
Class
InfoTable
cvpods/analyser/module_profiler.py:208
next →
1–100 of 579, ranked by callers