Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chengyangfu/retinamask
/ types & classes
Types & classes
84 in github.com/chengyangfu/retinamask
⨍
Functions
379
◇
Types & classes
84
↓ 24 callers
Class
BoxList
This class represents a set of bounding boxes. The bounding boxes are represented as a Nx4 Tensor. In order to uniquely determine the bou
maskrcnn_benchmark/structures/bounding_box.py:9
↓ 8 callers
Class
BoxCoder
This class encodes and decodes a set of bounding boxes into the representation used for training the regressors.
maskrcnn_benchmark/modeling/box_coder.py:7
↓ 8 callers
Class
GroupedBatchSampler
Wraps another sampler to yield a mini-batch of indices. It enforces that elements from the same group should appear in groups of batch_size.
maskrcnn_benchmark/data/samplers/grouped_batch_sampler.py:9
↓ 7 callers
Class
Conv2d
maskrcnn_benchmark/layers/misc.py:30
↓ 5 callers
Class
FrozenBatchNorm2d
BatchNorm2d where the batch statistics and the affine parameters are fixed
maskrcnn_benchmark/layers/batch_norm.py:6
↓ 5 callers
Class
Polygons
This class holds a set of polygons that represents a single instance of an object mask. The object can be represented as a set of polygon
maskrcnn_benchmark/structures/segmentation_mask.py:51
↓ 5 callers
Class
SegmentationMask
This class stores the segmentations for all objects in the image
maskrcnn_benchmark/structures/segmentation_mask.py:146
↓ 4 callers
Class
Checkpointer
maskrcnn_benchmark/utils/checkpoint.py:13
↓ 4 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
maskrcnn_benchmark/modeling/matcher.py:5
↓ 3 callers
Class
DetectronCheckpointer
maskrcnn_benchmark/utils/checkpoint.py:100
↓ 3 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,
maskrcnn_benchmark/structures/image_list.py:7
↓ 3 callers
Class
Pooler
Pooler for Detection with or without FPN. It currently hard-code ROIAlign in the implementation, but that can be made more generic later
maskrcnn_benchmark/modeling/poolers.py:45
↓ 3 callers
Class
SubsetSampler
tests/test_data_samplers.py:15
↓ 2 callers
Class
AnchorGenerator
For a set of image sizes and feature maps, computes a set of anchors
maskrcnn_benchmark/modeling/rpn/anchor_generator.py:34
↓ 2 callers
Class
BalancedPositiveNegativeSampler
This class samples batches, ensuring that they contain a fixed proportion of positives
maskrcnn_benchmark/modeling/balanced_positive_negative_sampler.py:5
↓ 2 callers
Class
COCOResults
maskrcnn_benchmark/engine/inference.py:282
↓ 2 callers
Class
Mask
This class is unfinished and not meant for use yet It is supposed to contain the mask for an object as a 2d tensor
maskrcnn_benchmark/structures/segmentation_mask.py:11
↓ 2 callers
Class
Masker
Projects a set of masks in an image on the locations specified by the bounding boxes
maskrcnn_benchmark/modeling/roi_heads/mask_head/inference.py:154
↓ 1 callers
Class
AdjustSmoothL1Loss
maskrcnn_benchmark/layers/adjust_smooth_l1_loss.py:7
↓ 1 callers
Class
BatchCollator
From a list of samples from the dataset, returns the batched images and targets. This should be passed to the DataLoader
maskrcnn_benchmark/data/collate_batch.py:5
↓ 1 callers
Class
BufferList
Similar to nn.ParameterList, but for buffers
maskrcnn_benchmark/modeling/rpn/anchor_generator.py:11
↓ 1 callers
Class
COCODemo
demo/predictor.py:12
↓ 1 callers
Class
CombinedROIHeads
Combines a set of individual heads (for box prediction or masks) into a single head.
maskrcnn_benchmark/modeling/roi_heads/roi_heads.py:8
↓ 1 callers
Class
ConvTranspose2d
maskrcnn_benchmark/layers/misc.py:46
↓ 1 callers
Class
FastRCNNLossComputation
Computes the loss for Faster R-CNN. Also supports FPN
maskrcnn_benchmark/modeling/roi_heads/box_head/loss.py:15
↓ 1 callers
Class
IterationBasedBatchSampler
Wraps a BatchSampler, resampling from it until a specified number of iterations have been sampled
maskrcnn_benchmark/data/samplers/iteration_based_batch_sampler.py:5
↓ 1 callers
Class
LevelMapper
Determine which FPN level each RoI in a set of RoIs should map to based on the heuristic in the FPN paper.
maskrcnn_benchmark/modeling/poolers.py:11
↓ 1 callers
Class
MaskPostProcessor
From the results of the CNN, post process the masks by taking the mask corresponding to the class with max probability (which are of fixe
maskrcnn_benchmark/modeling/roi_heads/mask_head/inference.py:12
↓ 1 callers
Class
MaskRCNNLossComputation
maskrcnn_benchmark/modeling/roi_heads/mask_head/loss.py:47
↓ 1 callers
Class
MetricLogger
maskrcnn_benchmark/utils/metric_logger.py:40
↓ 1 callers
Class
PostProcessor
From a set of classification scores, box regression and proposals, computes the post-processed boxes, and applies NMS to obtain the final
maskrcnn_benchmark/modeling/roi_heads/box_head/inference.py:12
↓ 1 callers
Class
ROIAlign
maskrcnn_benchmark/layers/roi_align.py:50
↓ 1 callers
Class
ROIBoxHead
Generic Box Head class.
maskrcnn_benchmark/modeling/roi_heads/box_head/box_head.py:11
↓ 1 callers
Class
ROIMaskHead
maskrcnn_benchmark/modeling/roi_heads/mask_head/mask_head.py:36
↓ 1 callers
Class
RPNHead
Adds a simple RPN Head with classification and regression heads
maskrcnn_benchmark/modeling/rpn/rpn.py:12
↓ 1 callers
Class
RPNLossComputation
This class computes the RPN loss.
maskrcnn_benchmark/modeling/rpn/loss.py:19
↓ 1 callers
Class
RPNModule
Module for RPN computation. Takes feature maps from the backbone and RPN proposals and losses. Works for both FPN and non-FPN.
maskrcnn_benchmark/modeling/rpn/rpn.py:46
↓ 1 callers
Class
RPNPostProcessor
Performs post-processing on the outputs of the RPN boxes, before feeding the proposals to the heads
maskrcnn_benchmark/modeling/rpn/inference.py:13
↓ 1 callers
Class
Resize
maskrcnn_benchmark/data/transforms/transforms.py:27
↓ 1 callers
Class
RetinaNetDetailPostProcessor
Performs post-processing on the outputs of the RetinaNet boxes. This is only used in the testing.
maskrcnn_benchmark/modeling/rpn/retinanet_detail_infer.py:12
↓ 1 callers
Class
RetinaNetHead
Adds a RetinNet head with classification and regression heads
maskrcnn_benchmark/modeling/rpn/retinanet.py:13
↓ 1 callers
Class
RetinaNetLossComputation
This class computes the RetinaNet loss.
maskrcnn_benchmark/modeling/rpn/retinanet_loss.py:20
↓ 1 callers
Class
RetinaNetModule
Module for RetinaNet computation. Takes feature maps from the backbone and RPN proposals and losses.
maskrcnn_benchmark/modeling/rpn/retinanet.py:97
↓ 1 callers
Class
RetinaNetPostProcessor
Performs post-processing on the outputs of the RetinaNet boxes. This is only used in the testing.
maskrcnn_benchmark/modeling/rpn/retinanet_infer.py:12
↓ 1 callers
Class
SigmoidFocalLoss
maskrcnn_benchmark/layers/sigmoid_focal_loss.py:39
↓ 1 callers
Class
SmoothL1Loss
maskrcnn_benchmark/layers/smooth_l1_loss.py:5
↓ 1 callers
Class
WarmupMultiStepLR
maskrcnn_benchmark/solver/lr_scheduler.py:10
Class
BottleneckWithFixedBatchNorm
maskrcnn_benchmark/modeling/backbone/resnet.py:199
Class
COCODataset
maskrcnn_benchmark/data/datasets/coco.py:9
Class
Compose
maskrcnn_benchmark/data/transforms/transforms.py:9
Class
ConcatDataset
Same as torch.utils.data.dataset.ConcatDataset, but exposes an extra method for querying the sizes of the image
maskrcnn_benchmark/data/datasets/concat_dataset.py:7
Class
DatasetCatalog
maskrcnn_benchmark/config/paths_catalog.py:7
Class
DistributedSampler
Sampler that restricts data loading to a subset of the dataset. It is especially useful in conjunction with :class:`torch.nn.parallel.Distribu
maskrcnn_benchmark/data/samplers/distributed.py:11
Class
FPN
Module that adds FPN on top of a list of feature maps. The feature maps are currently supposed to be in increasing depth order, and must
maskrcnn_benchmark/modeling/backbone/fpn.py:7
Class
FPN2MLPFeatureExtractor
Heads for FPN for classification
maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_feature_extractors.py:42
Class
FPNPredictor
maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_predictors.py:33
Class
FastRCNNPredictor
maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_predictors.py:5
Class
GeneralizedRCNN
Main class for Generalized R-CNN. Currently supports boxes and masks. It consists of three main parts: - backbone = rpn - heads:
maskrcnn_benchmark/modeling/detector/generalized_rcnn.py:17
Class
LastLevelMaxPool
maskrcnn_benchmark/modeling/backbone/fpn.py:95
Class
LastLevelP6P7
This module is used in RetinaNet to generate extra layers, P6 and P7.
maskrcnn_benchmark/modeling/backbone/fpn.py:100
Class
ListDataset
maskrcnn_benchmark/data/datasets/list_dataset.py:11
Class
MaskPostProcessorCOCOFormat
From the results of the CNN, post process the results so that the masks are pasted in the image, and additionally convert the results to
maskrcnn_benchmark/modeling/roi_heads/mask_head/inference.py:64
Class
MaskRCNNC4Predictor
maskrcnn_benchmark/modeling/roi_heads/mask_head/roi_mask_predictors.py:9
Class
MaskRCNNFPNFeatureExtractor
Heads for FPN for classification
maskrcnn_benchmark/modeling/roi_heads/mask_head/roi_mask_feature_extractors.py:10
Class
ModelCatalog
maskrcnn_benchmark/config/paths_catalog.py:58
Class
MultiScaleResize
maskrcnn_benchmark/data/transforms/transforms.py:62
Class
Normalize
maskrcnn_benchmark/data/transforms/transforms.py:91
Class
PreCalc
maskrcnn_benchmark/csrc/cpu/ROIAlign_cpu.cpp:6
Class
ROIPool
maskrcnn_benchmark/layers/roi_pool.py:49
Class
RandomHorizontalFlip
maskrcnn_benchmark/data/transforms/transforms.py:75
Class
ResNet
maskrcnn_benchmark/modeling/backbone/resnet.py:58
Class
ResNet50Conv5ROIFeatureExtractor
maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_feature_extractors.py:9
Class
ResNetHead
maskrcnn_benchmark/modeling/backbone/resnet.py:124
Class
RetinaNet
Main class for RetinaNet It consists of three main parts: - backbone - bbox_heads: BBox prediction. - Mask_heads:
maskrcnn_benchmark/modeling/detector/retinanet.py:18
Class
SmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
maskrcnn_benchmark/utils/metric_logger.py:8
Class
StemWithFixedBatchNorm
maskrcnn_benchmark/modeling/backbone/resnet.py:274
Class
TestCheckpointer
tests/checkpoint.py:14
Class
TestGroupedBatchSampler
tests/test_data_samplers.py:26
Class
TestIterationBasedBatchSampler
tests/test_data_samplers.py:130
Class
ToTensor
maskrcnn_benchmark/data/transforms/transforms.py:86
Class
_NewEmptyTensorOp
maskrcnn_benchmark/layers/misc.py:17
Class
_ROIAlign
maskrcnn_benchmark/layers/roi_align.py:11
Class
_ROIPool
maskrcnn_benchmark/layers/roi_pool.py:11
Class
_SigmoidFocalLoss
maskrcnn_benchmark/layers/sigmoid_focal_loss.py:9