MCPcopy Create free account

hub / github.com/ChenhongyiYang/PGD / types & classes

Types & classes351 in github.com/ChenhongyiYang/PGD

↓ 60 callersClassPolygonMasks
This class represents masks in the form of polygons. Polygons is a list of three levels. The first level of the list corresponds to objects,
mmdet/core/mask/structures.py:532
↓ 58 callersClassBitmapMasks
This class represents masks in the form of bitmaps. Args: masks (ndarray): ndarray of masks in shape (N, H, W), where N is th
mmdet/core/mask/structures.py:192
↓ 25 callersClassResNet
ResNet backbone. Args: depth (int): Depth of resnet, from {18, 34, 50, 101, 152}. stem_channels (int | None): Number of stem chan
mmdet/models/backbones/resnet.py:305
↓ 21 callersClassAssignResult
Stores assignments between predicted and truth boxes. Attributes: num_gts (int): the number of truth boxes considered when computing this
mmdet/core/bbox/assigners/assign_result.py:6
↓ 20 callersClassFPN
r"""Feature Pyramid Network. This is an implementation of paper `Feature Pyramid Networks for Object Detection <https://arxiv.org/abs/1612.03
mmdet/models/necks/fpn.py:10
↓ 15 callersClassBottleneck
mmdet/models/backbones/resnet.py:96
↓ 13 callersClassMaxIoUAssigner
Assign a corresponding gt bbox or background to each bbox. Each proposals will be assigned with `-1`, or a semi-positive integer indicating t
mmdet/core/bbox/assigners/max_iou_assigner.py:10
↓ 12 callersClassMobileNetV2
MobileNetV2 backbone. Args: widen_factor (float): Width multiplier, multiply number of channels in each layer by this amount.
mmdet/models/backbones/mobilenet_v2.py:13
↓ 12 callersClassTridentBottleneck
BottleBlock for TridentResNet. Args: trident_dilations (tuple[int, int, int]): Dilations of different trident branch.
mmdet/models/backbones/trident_resnet.py:92
↓ 11 callersClassInvertedResidual
Inverted Residual Block. Args: in_channels (int): The input channels of this Module. out_channels (int): The output channels of t
mmdet/models/utils/inverted_residual.py:8
↓ 10 callersClassResLayer
ResLayer to build ResNet style backbone for RPF in detectoRS. The difference between this module and base class is that we pass ``rfp_inplane
mmdet/models/backbones/detectors_resnet.py:119
↓ 9 callersClassAccuracy
mmdet/models/losses/accuracy.py:53
↓ 8 callersClassCompose
Compose multiple transforms sequentially. Args: transforms (Sequence[dict | callable]): Sequence of transform object or confi
mmdet/datasets/pipelines/compose.py:9
↓ 8 callersClassExampleModule
tests/test_runtime/test_fp16.py:67
↓ 8 callersClassIdentityModule
mmdet/models/utils/identity.py:4
↓ 8 callersClassResLayer
ResLayer to build ResNet style backbone. Args: block (nn.Module): block used to build ResLayer. inplanes (int): inplanes of block
mmdet/models/utils/res_layer.py:6
↓ 7 callersClassEvalDataset
tests/test_runtime/test_eval_hook.py:35
↓ 7 callersClassMlvlPointGenerator
Standard points generator for multi-level (Mlvl) feature maps in 2D points-based detectors. Args: strides (list[int] | list[tuple[int
mmdet/core/anchor/point_generator.py:43
↓ 6 callersClassBottle2neck
mmdet/models/backbones/res2net.py:14
↓ 6 callersClassSSDNeck
Extra layers of SSD backbone to generate multi-scale feature maps. Args: in_channels (Sequence[int]): Number of input channels per scale.
mmdet/models/necks/ssd_neck.py:10
↓ 6 callersClassSimplifiedBasicBlock
Simplified version of original basic residual block. This is used in `SCNet <https://arxiv.org/abs/2012.10150>`_. - Norm layer is now optiona
mmdet/models/utils/res_layer.py:106
↓ 5 callersClassBasicBlock
mmdet/models/backbones/resnet.py:13
↓ 5 callersClassCOCO
This class is almost the same as official pycocotools package. It implements some snake case function aliases. So that the COCO class has the
mmdet/datasets/api_wrappers/coco_api.py:10
↓ 5 callersClassDetectoRS_ResNet
ResNet backbone for DetectoRS. Args: sac (dict, optional): Dictionary to construct SAC (Switchable Atrous Convolution). Defau
mmdet/models/backbones/detectors_resnet.py:211
↓ 5 callersClassExampleDataset
tests/test_runtime/test_eval_hook.py:17
↓ 5 callersClassGenericRoIExtractor
Extract RoI features from all level feature maps levels. This is the implementation of `A novel Region of Interest Extraction Layer for Insta
mmdet/models/roi_heads/roi_extractors/generic_roi_extractor.py:9
↓ 5 callersClassHourglassNet
HourglassNet backbone. Stacked Hourglass Networks for Human Pose Estimation. More details can be found in the `paper <https://arxiv.org/a
mmdet/models/backbones/hourglass.py:96
↓ 5 callersClassLoadImageFromFile
Load an image from file. Required keys are "img_prefix" and "img_info" (a dict that must contain the key "filename"). Added or updated keys a
mmdet/datasets/pipelines/loading.py:12
↓ 5 callersClassYOLOV3Neck
The neck of YOLOV3. It can be treated as a simplified version of FPN. It will take the result from Darknet backbone and do some upsampling an
mmdet/models/necks/yolo_neck.py:64
↓ 4 callersClassAnchorGenerator
Standard anchor generator for 2D anchor-based detectors. Args: strides (list[int] | list[tuple[int, int]]): Strides of anchors
mmdet/core/anchor/anchor_generator.py:12
↓ 4 callersClassApproxMaxIoUAssigner
Assign a corresponding gt bbox or background to each bbox. Each proposals will be assigned with an integer indicating the ground truth index
mmdet/core/bbox/assigners/approx_max_iou_assigner.py:9
↓ 4 callersClassCTResNetNeck
The neck used in `CenterNet <https://arxiv.org/abs/1904.07850>`_ for object classification and box regression. Args: in_channel (int
mmdet/models/necks/ct_resnet_neck.py:11
↓ 4 callersClassCenterRegionAssigner
Assign pixels at the center region of a bbox as positive. Each proposals will be assigned with `-1`, `0`, or a positive integer indicating th
mmdet/core/bbox/assigners/center_region_assigner.py:71
↓ 4 callersClassConcatDataset
A wrapper of concatenated dataset. Same as :obj:`torch.utils.data.dataset.ConcatDataset`, but concat the group flag for image aspect ratio.
mmdet/datasets/dataset_wrappers.py:14
↓ 4 callersClassDetrTransformerDecoder
Implements the decoder in DETR transformer. Args: return_intermediate (bool): Whether to return intermediate outputs. post_norm_c
mmdet/models/utils/transformer.py:125
↓ 4 callersClassRandomSampler
Random sampler. Args: num (int): Number of samples pos_fraction (float): Fraction of positive samples neg_pos_up (int, op
mmdet/core/bbox/samplers/random_sampler.py:8
↓ 4 callersClassSELayer
Squeeze-and-Excitation Module. Args: channels (int): The input (and output) channels of the SE layer. ratio (int): Squeeze ratio
mmdet/models/utils/se_layer.py:7
↓ 3 callersClassBBoxHead
Simplest RoI head, with only two fc layers for classification and regression respectively.
mmdet/models/roi_heads/bbox_heads/bbox_head.py:14
↓ 3 callersClassChannelMapper
r"""Channel Mapper to reduce/increase channels of backbone features. This is used to reduce/increase channels of backbone features. Args:
mmdet/models/necks/channel_mapper.py:9
↓ 3 callersClassCocoDataset
mmdet/datasets/coco.py:20
↓ 3 callersClassCustomDataset
Custom dataset for detection. The annotation format is shown as follows. The `ann` field is optional for testing. .. code-block:: none
mmdet/datasets/custom.py:17
↓ 3 callersClassExampleModel
tests/test_runtime/test_eval_hook.py:44
↓ 3 callersClassFeatureAdaption
Feature Adaption Module. Feature Adaption Module is implemented based on DCN v1. It uses anchor shape prediction rather than feature map to
mmdet/models/dense_heads/guided_anchor_head.py:14
↓ 3 callersClassHungarianAssigner
Computes one-to-one matching between predictions and ground truth. This class computes an assignment between the targets and the predictions
mmdet/core/bbox/assigners/hungarian_assigner.py:16
↓ 3 callersClassOHEMSampler
r"""Online Hard Example Mining Sampler described in `Training Region-based Object Detectors with Online Hard Example Mining <https://arxiv.org
mmdet/core/bbox/samplers/ohem_sampler.py:9
↓ 3 callersClassONNXRuntimeDetector
Wrapper for detector's inference with ONNXRuntime.
mmdet/core/export/model_wrappers.py:95
↓ 3 callersClassPointAssigner
Assign a corresponding gt bbox or background to each point. Each proposals will be assigned with `0`, or a positive integer indicating the gr
mmdet/core/bbox/assigners/point_assigner.py:9
↓ 3 callersClassRegNet
RegNet backbone. More details can be found in `paper <https://arxiv.org/abs/2003.13678>`_ . Args: arch (dict): The parameter of RegN
mmdet/models/backbones/regnet.py:13
↓ 3 callersClassResNetV1d
r"""ResNetV1d variant described in `Bag of Tricks <https://arxiv.org/pdf/1812.01187.pdf>`_. Compared with default ResNet(ResNetV1b), ResNetV1
mmdet/models/backbones/resnet.py:660
↓ 3 callersClassSamplingResult
Bbox sampling result. Example: >>> # xdoctest: +IGNORE_WANT >>> from mmdet.core.bbox.samplers.sampling_result import * # NOQA
mmdet/core/bbox/samplers/sampling_result.py:6
↓ 3 callersClassSinePositionalEncoding
Position encoding with sine and cosine functions. See `End-to-End Object Detection with Transformers <https://arxiv.org/pdf/2005.12872>`_ for
mmdet/models/utils/positional_encoding.py:10
↓ 3 callersClassTridentResNet
The stem layer, stage 1 and stage 2 in Trident ResNet are identical to ResNet, while in stage 3, Trident BottleBlock is utilized to replace the
mmdet/models/backbones/trident_resnet.py:234
↓ 3 callersClassUniformAssigner
Uniform Matching between the anchors and gt boxes, which can achieve balance in positive anchors, and gt_bboxes_ignore was not considered for
mmdet/core/bbox/assigners/uniform_assigner.py:11
↓ 2 callersClassBiCornerPool
Bidirectional Corner Pooling Module (TopLeft, BottomRight, etc.) Args: in_channels (int): Input channels of module. out_channels
mmdet/models/dense_heads/corner_head.py:20
↓ 2 callersClassCenterNetHead
Objects as Points Head. CenterHead use center_point to indicate object's position. Paper link <https://arxiv.org/abs/1904.07850> Args:
mmdet/models/dense_heads/centernet_head.py:17
↓ 2 callersClassClassBalancedDataset
A wrapper of repeated dataset with repeat factor. Suitable for training on class imbalanced datasets like LVIS. Following the sampling strate
mmdet/datasets/dataset_wrappers.py:172
↓ 2 callersClassCornerHead
Head of CornerNet: Detecting Objects as Paired Keypoints. Code is modified from the `official github repo <https://github.com/princeton-vl/Co
mmdet/models/dense_heads/corner_head.py:84
↓ 2 callersClassDeltaXYWHBBoxCoder
Delta XYWH BBox coder. Following the practice in `R-CNN <https://arxiv.org/abs/1311.2524>`_, this coder encodes bbox (x1, y1, x2, y2) into de
mmdet/core/bbox/coder/delta_xywh_bbox_coder.py:10
↓ 2 callersClassDetectionBlock
Detection block in YOLO neck. Let out_channels = n, the DetectionBlock contains: Six ConvLayers, 1 Conv2D Layer and 1 YoloLayer. The firs
mmdet/models/necks/yolo_neck.py:11
↓ 2 callersClassExampleObject
tests/test_runtime/test_fp16.py:56
↓ 2 callersClassFCOSHead
Anchor-free head used in `FCOS <https://arxiv.org/abs/1904.01355>`_. The FCOS head does not use anchor boxes. Instead bounding boxes are pred
mmdet/models/dense_heads/fcos_head.py:16
↓ 2 callersClassFSAFHead
Anchor-free head used in `FSAF <https://arxiv.org/abs/1903.00621>`_. The head contains two subnetworks. The first classifies anchor boxes and
mmdet/models/dense_heads/fsaf_head.py:14
↓ 2 callersClassGFLHead
Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection. GFL head structure is similar with ATSS
mmdet/models/dense_heads/gfl_head.py:54
↓ 2 callersClassHourglassModule
Hourglass Module for HourglassNet backbone. Generate module recursively and use BasicBlock as the base unit. Args: depth (int): Dept
mmdet/models/backbones/hourglass.py:11
↓ 2 callersClassRepeatDataset
A wrapper of repeated dataset. The length of repeated dataset will be `times` larger than the original dataset. This is useful when the data
mmdet/datasets/dataset_wrappers.py:128
↓ 2 callersClassRes2Net
Res2Net backbone. Args: scales (int): Scales used in Res2Net. Default: 4 base_width (int): Basic width of each scale. Default: 26
mmdet/models/backbones/res2net.py:242
↓ 2 callersClassResNeSt
ResNeSt backbone. Args: groups (int): Number of groups of Bottleneck. Default: 1 base_width (int): Base width of Bottleneck. Defa
mmdet/models/backbones/resnest.py:277
↓ 2 callersClassResNeXt
ResNeXt backbone. Args: depth (int): Depth of resnet, from {18, 34, 50, 101, 152}. in_channels (int): Number of input image chann
mmdet/models/backbones/resnext.py:109
↓ 2 callersClassSSDAnchorGenerator
Anchor generator for SSD. Args: strides (list[int] | list[tuple[int, int]]): Strides of anchors in multiple feature levels.
mmdet/core/anchor/anchor_generator.py:461
↓ 2 callersClassTensorRTDetector
Wrapper for detector's inference with TensorRT.
mmdet/core/export/model_wrappers.py:151
↓ 2 callersClassYOLOAnchorGenerator
Anchor generator for YOLO. Args: strides (list[int] | list[tuple[int, int]]): Strides of anchors in multiple feature levels.
mmdet/core/anchor/anchor_generator.py:706
↓ 1 callersClassASPP
ASPP (Atrous Spatial Pyramid Pooling) This is an implementation of the ASPP module used in DetectoRS (https://arxiv.org/pdf/2006.02334.pdf)
mmdet/models/necks/rfp.py:11
↓ 1 callersClassATSSHead
Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selection. ATSS head structure is similar with F
mmdet/models/dense_heads/atss_head.py:14
↓ 1 callersClassAdaptiveConv
AdaptiveConv used to adapt the sampling location with the anchors. Args: in_channels (int): Number of channels in the input image
mmdet/models/dense_heads/cascade_rpn_head.py:18
↓ 1 callersClassAnchorHead
Anchor-based head (RPN, RetinaNet, SSD, etc.). Args: num_classes (int): Number of categories excluding the background categor
mmdet/models/dense_heads/anchor_head.py:14
↓ 1 callersClassAutoAssignHead
AutoAssignHead head used in `AutoAssign. <https://arxiv.org/abs/2007.03496>`_. Args: force_topk (bool): Used in center prior initial
mmdet/models/dense_heads/autoassign_head.py:126
↓ 1 callersClassBasicResBlock
Basic residual block. This block is a little different from the block in the ResNet backbone. The kernel size of conv1 is 1 in this block whi
mmdet/models/roi_heads/bbox_heads/double_bbox_head.py:10
↓ 1 callersClassBboxOverlaps2D
2D Overlaps (e.g. IoUs, GIoUs) Calculator.
mmdet/core/bbox/iou_calculators/iou2d_calculator.py:22
↓ 1 callersClassBottleneck
Bottleneck block for DilatedEncoder used in `YOLOF. <https://arxiv.org/abs/2103.09460>`. The Bottleneck contains three ConvLayers and one re
mmdet/models/necks/dilated_encoder.py:9
↓ 1 callersClassCenterPrior
Center Weighting module to adjust the category-specific prior distributions. Args: force_topk (bool): When no point falls into gt_bbo
mmdet/models/dense_heads/autoassign_head.py:19
↓ 1 callersClassCrossEntropyLoss
mmdet/models/losses/cross_entropy_loss.py:142
↓ 1 callersClassDETRHead
Implements the DETR transformer head. See `paper: End-to-End Object Detection with Transformers <https://arxiv.org/pdf/2005.12872>`_ for deta
mmdet/models/dense_heads/detr_head.py:17
↓ 1 callersClassDatabase
crowd_code/evaluate/APMRToolkits/database.py:8
↓ 1 callersClassDetrTransformerEncoder
TransformerEncoder of DETR. Args: post_norm_cfg (dict): Config of last normalization layer. Default: `LN`. Only used when `se
mmdet/models/utils/transformer.py:93
↓ 1 callersClassDilatedEncoder
Dilated Encoder for YOLOF <https://arxiv.org/abs/2103.09460>`. This module contains two types of components: - the original FPN lateral c
mmdet/models/necks/dilated_encoder.py:51
↓ 1 callersClassDistributedGroupSampler
Sampler that restricts data loading to a subset of the dataset. It is especially useful in conjunction with :class:`torch.nn.parallel.Distrib
mmdet/datasets/samplers/group_sampler.py:51
↓ 1 callersClassDistributedSampler
mmdet/datasets/samplers/distributed_sampler.py:7
↓ 1 callersClassFCNMaskHead
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:22
↓ 1 callersClassFeatureAlign
mmdet/models/dense_heads/fovea_head.py:14
↓ 1 callersClassGroupSampler
mmdet/datasets/samplers/group_sampler.py:10
↓ 1 callersClassGuidedAnchorHead
Guided-Anchor-based head (GA-RPN, GA-RetinaNet, etc.). This GuidedAnchorHead will predict high-quality feature guided anchors and locations w
mmdet/models/dense_heads/guided_anchor_head.py:59
↓ 1 callersClassHRModule
High-Resolution Module for HRNet. In this module, every branch has 4 BasicBlocks/Bottlenecks. Fusion/Exchange is in this module.
mmdet/models/backbones/hrnet.py:12
↓ 1 callersClassImage
crowd_code/evaluate/APMRToolkits/image.py:3
↓ 1 callersClassIntegral
A fixed layer for calculating integral result from distribution. This layer calculates the target location by :math: `sum{P(y_i) * y_i}`, P(y
mmdet/models/dense_heads/gfl_head.py:17
↓ 1 callersClassInterpolateModule
This is a module version of F.interpolate. Any arguments you give it just get passed along for the ride.
mmdet/models/dense_heads/yolact_head.py:996
↓ 1 callersClassL2Norm
mmdet/models/necks/ssd_neck.py:105
↓ 1 callersClassLDHead
Localization distillation Head. (Short description) It utilizes the learned bbox distributions to transfer the localization dark knowledge fr
mmdet/models/dense_heads/ld_head.py:11
↓ 1 callersClassLearnedPositionalEncoding
Position embedding with learnable embedding weights. Args: num_feats (int): The feature dimension for each position along x-a
mmdet/models/utils/positional_encoding.py:106
↓ 1 callersClassLoadImageFromWebcam
Load an image from webcam. Similar with :obj:`LoadImageFromFile`, but the image read from webcam is in ``results['img']``.
mmdet/datasets/pipelines/loading.py:81
↓ 1 callersClassLoadMultiChannelImageFromFiles
Load multi-channel images from a list of separate channel files. Required keys are "img_prefix" and "img_info" (a dict that must contain the
mmdet/datasets/pipelines/loading.py:113
next →1–100 of 351, ranked by callers