Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IIM-TTIJ/MVA2023SmallObjectDetection4SpottingBirds
/ types & classes
Types & classes
416 in github.com/IIM-TTIJ/MVA2023SmallObjectDetection4SpottingBirds
⨍
Functions
2,185
◇
Types & classes
416
↓ 21 callers
Class
AssignResult
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:7
↓ 18 callers
Class
PolygonMasks
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:548
↓ 16 callers
Class
BitmapMasks
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:193
↓ 10 callers
Class
ResLayer
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:120
↓ 7 callers
Class
Compose
Compose multiple transforms sequentially. Args: transforms (Sequence[dict | callable]): Sequence of transform object or confi
mmdet/datasets/pipelines/compose.py:10
↓ 6 callers
Class
MlvlPointGenerator
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:44
↓ 4 callers
Class
COCO
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:11
↓ 3 callers
Class
CSPLayer
Cross Stage Partial Layer. Args: in_channels (int): The input channels of the CSP layer. out_channels (int): The output channels
mmdet/models/utils/csp_layer.py:75
↓ 3 callers
Class
ConcatDataset
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:17
↓ 3 callers
Class
DyDCNv2
ModulatedDeformConv2d with normalization layer used in DyHead. This module cannot be configured with `conv_cfg=dict(type='DCNv2')` because Dy
mmdet/models/necks/dyhead.py:17
↓ 3 callers
Class
FeatureAdaption
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:16
↓ 3 callers
Class
ONNXRuntimeDetector
Wrapper for detector's inference with ONNXRuntime.
mmdet/core/export/model_wrappers.py:96
↓ 3 callers
Class
ResLayer
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:7
↓ 3 callers
Class
SamplingResult
Bbox sampling result. Example: >>> # xdoctest: +IGNORE_WANT >>> from mmdet.core.bbox.samplers.sampling_result import * # NOQA
mmdet/core/bbox/samplers/sampling_result.py:7
↓ 2 callers
Class
AdaptivePadding
Applies padding to input (if needed) so that input can get fully covered by filter you specified. It support two modes "same" and "corner". The
mmdet/models/utils/transformer.py:62
↓ 2 callers
Class
BiCornerPool
Bidirectional Corner Pooling Module (TopLeft, BottomRight, etc.) Args: in_channels (int): Input channels of module. out_channels
mmdet/models/dense_heads/corner_head.py:21
↓ 2 callers
Class
DetectionBlock
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:12
↓ 2 callers
Class
HourglassModule
Hourglass Module for HourglassNet backbone. Generate module recursively and use BasicBlock as the base unit. Args: depth (int): Dept
mmdet/models/backbones/hourglass.py:12
↓ 2 callers
Class
InstanceData
Data structure for instance-level annnotations or predictions. Subclass of :class:`GeneralData`. All value in `data_fields` should have the s
mmdet/core/data_structures/instance_data.py:10
↓ 2 callers
Class
PatchEmbed
Image to Patch Embedding. We use a conv layer to implement PatchEmbed. Args: in_channels (int): The num of input channels. Default:
mmdet/models/utils/transformer.py:134
↓ 2 callers
Class
RandomCycleIter
Shuffle the list and do it again after the list have traversed. The implementation logic is referred to https://github.com/wutong16/Distribut
mmdet/datasets/samplers/class_aware_sampler.py:138
↓ 2 callers
Class
SELayer
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:9
↓ 2 callers
Class
TaskDecomposition
Task decomposition module in task-aligned predictor of TOOD. Args: feat_channels (int): Number of feature channels in TOOD head.
mmdet/models/dense_heads/tood_head.py:17
↓ 2 callers
Class
TensorRTDetector
Wrapper for detector's inference with TensorRT.
mmdet/core/export/model_wrappers.py:152
↓ 1 callers
Class
ASPP
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:12
↓ 1 callers
Class
AbsolutePositionEmbedding
An implementation of the absolute position embedding in PVT. Args: pos_shape (int): The shape of the absolute position embedding.
mmdet/models/backbones/pvt.py:291
↓ 1 callers
Class
AdaptiveConv
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:20
↓ 1 callers
Class
BasicResBlock
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:11
↓ 1 callers
Class
Bottleneck
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:10
↓ 1 callers
Class
Bottleneck
mmdet/models/backbones/resnet.py:97
↓ 1 callers
Class
COCOPanoptic
This wrapper is for loading the panoptic style annotation file. The format is shown in the CocoPanopticDataset class. Args: annotati
mmdet/datasets/coco_panoptic.py:28
↓ 1 callers
Class
CenterPrior
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:21
↓ 1 callers
Class
ClassAwareSampler
r"""Sampler that restricts data loading to the label of the dataset. A class-aware sampling strategy to effectively tackle the non-uniform cl
mmdet/datasets/samplers/class_aware_sampler.py:11
↓ 1 callers
Class
ClassBalancedDataset
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:211
↓ 1 callers
Class
CocoDataset
mmdet/datasets/coco.py:23
↓ 1 callers
Class
ConvUpsample
ConvUpsample performs 2x upsampling after Conv. There are several `ConvModule` layers. In the first few layers, upsampling will be applied af
mmdet/models/utils/conv_upsample.py:7
↓ 1 callers
Class
CrossEntropyLoss
mmdet/models/losses/cross_entropy_loss.py:201
↓ 1 callers
Class
DarknetBottleneck
The basic bottleneck block used in Darknet. Each ResBlock consists of two ConvModules and the input is added to the final output. Each ConvMo
mmdet/models/utils/csp_layer.py:8
↓ 1 callers
Class
DistributedGroupSampler
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 callers
Class
DistributedSampler
mmdet/datasets/samplers/distributed_sampler.py:11
↓ 1 callers
Class
DyHeadBlock
DyHead Block with three types of attention. HSigmoid arguments in default act_cfg follow official code, not paper. https://github.com/microso
mmdet/models/necks/dyhead.py:53
↓ 1 callers
Class
DyReLU
Dynamic ReLU (DyReLU) module. See `Dynamic ReLU <https://arxiv.org/abs/2003.10027>`_ for details. Current implementation is specialized for t
mmdet/models/utils/se_layer.py:62
↓ 1 callers
Class
FeatureAlign
mmdet/models/dense_heads/fovea_head.py:18
↓ 1 callers
Class
Focus
Focus width and height information into channel space. Args: in_channels (int): The input channels of this Module. out_channels (
mmdet/models/backbones/csp_darknet.py:14
↓ 1 callers
Class
GroupSampler
mmdet/datasets/samplers/group_sampler.py:10
↓ 1 callers
Class
HRModule
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:13
↓ 1 callers
Class
InfiniteBatchSampler
Similar to `BatchSampler` warping a `DistributedSampler. It is designed iteration-based runners like `IterBasedRunner` and yields a mini-batch
mmdet/datasets/samplers/infinite_sampler.py:106
↓ 1 callers
Class
InfiniteGroupBatchSampler
Similar to `BatchSampler` warping a `GroupSampler. It is designed for iteration-based runners like `IterBasedRunner` and yields a mini-batch i
mmdet/datasets/samplers/infinite_sampler.py:12
↓ 1 callers
Class
Integral
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:16
↓ 1 callers
Class
InterpolateModule
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:1004
↓ 1 callers
Class
InvertedResidual
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:11
↓ 1 callers
Class
L2Norm
mmdet/models/necks/ssd_neck.py:106
↓ 1 callers
Class
MaskSamplingResult
Mask sampling result.
mmdet/core/bbox/samplers/mask_sampling_result.py:10
↓ 1 callers
Class
MixFFN
An implementation of MixFFN of PVT. The differences between MixFFN & FFN: 1. Use 1X1 Conv to replace Linear layer. 2. Introduce 3
mmdet/models/backbones/pvt.py:23
↓ 1 callers
Class
MultiImageMixDataset
A wrapper of multiple images mixed dataset. Suitable for training on multiple images mixed data augmentation like mosaic and mixup. For the a
mmdet/datasets/dataset_wrappers.py:338
↓ 1 callers
Class
PVTEncoderLayer
Implements one encoder layer in PVT. Args: embed_dims (int): The feature dimension. num_heads (int): Parallel attention heads.
mmdet/models/backbones/pvt.py:219
↓ 1 callers
Class
PatchMerging
Merge patch feature map. This layer groups feature map by kernel_size, and applies norm and linear layers to the grouped feature map. Our imp
mmdet/models/utils/transformer.py:260
↓ 1 callers
Class
RSoftmax
Radix Softmax module in ``SplitAttentionConv2d``. Args: radix (int): Radix of input. groups (int): Groups of input.
mmdet/models/backbones/resnest.py:17
↓ 1 callers
Class
RandomSampler
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:9
↓ 1 callers
Class
RepeatDataset
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:154
↓ 1 callers
Class
Res2Layer
Res2Layer to build Res2Net style backbone. Args: block (nn.Module): block used to build ResLayer. inplanes (int): inplanes of blo
mmdet/models/backbones/res2net.py:163
↓ 1 callers
Class
ResBlock
The basic residual block used in Darknet. Each ResBlock consists of two ConvModules and the input is added to the final output. Each ConvModule is
mmdet/models/backbones/darknet.py:14
↓ 1 callers
Class
ResultVisualizer
Display and save evaluation results. Args: show (bool): Whether to show the image. Default: True wait_time (float): Value of wait
tools/analysis_tools/analyze_results.py:50
↓ 1 callers
Class
SPPBottleneck
Spatial pyramid pooling layer used in YOLOv3-SPP. Args: in_channels (int): The input channels of this Module. out_channels (int):
mmdet/models/backbones/csp_darknet.py:67
↓ 1 callers
Class
ShiftWindowMSA
Shifted Window Multihead Self-Attention Module. Args: embed_dims (int): Number of input channels. num_heads (int): Number of atte
mmdet/models/backbones/swin.py:128
↓ 1 callers
Class
SmoothL1Loss
Smooth L1 loss. Args: beta (float, optional): The threshold in the piecewise function. Defaults to 1.0. reduction (st
mmdet/models/losses/smooth_l1_loss.py:56
↓ 1 callers
Class
SpatialReductionAttention
An implementation of Spatial Reduction Attention of PVT. This module is modified from MultiheadAttention which is a module from mmcv.cnn.bric
mmdet/models/backbones/pvt.py:102
↓ 1 callers
Class
SplitAttentionConv2d
Split-Attention Conv2d in ResNeSt. Args: in_channels (int): Number of channels in the input feature map. channels (int): Number o
mmdet/models/backbones/resnest.py:41
↓ 1 callers
Class
SwinBlock
Args: embed_dims (int): The feature dimension. num_heads (int): Parallel attention heads. feedforward_channels (int): The
mmdet/models/backbones/swin.py:288
↓ 1 callers
Class
SwinBlockSequence
Implements one stage in Swin Transformer. Args: embed_dims (int): The feature dimension. num_heads (int): Parallel attention head
mmdet/models/backbones/swin.py:381
↓ 1 callers
Class
TridentConv
Trident Convolution Module. Args: in_channels (int): Number of channels in input. out_channels (int): Number of channels in outpu
mmdet/models/backbones/trident_resnet.py:14
↓ 1 callers
Class
WindowMSA
Window based multi-head self-attention (W-MSA) module with relative position bias. Args: embed_dims (int): Number of input channels.
mmdet/models/backbones/swin.py:22
↓ 1 callers
Class
YOLODEAnchorOptimizer
YOLO anchor optimizer using differential evolution algorithm. Args: num_anchors (int) : Number of anchors. iters (int): Maximum i
tools/analysis_tools/optimize_anchors.py:223
↓ 1 callers
Class
YOLOKMeansAnchorOptimizer
r"""YOLO anchor optimizer using k-means. Code refer to `AlexeyAB/darknet. <https://github.com/AlexeyAB/darknet/blob/master/src/detector.c>`_.
tools/analysis_tools/optimize_anchors.py:151
Class
ATSS
Implementation of `ATSS <https://arxiv.org/abs/1912.02424>`_.
mmdet/models/detectors/atss.py:7
Class
ATSSAssigner
Assign a corresponding gt bbox or background to each bbox. Each proposals will be assigned with `0` or a positive integer indicating the grou
mmdet/core/bbox/assigners/atss_assigner.py:11
Class
ATSSHead
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
Class
Accuracy
mmdet/models/losses/accuracy.py:54
Class
AdaptiveAvgPool2d
Handle empty batch dimension to AdaptiveAvgPool2d.
mmdet/models/utils/brick_wrappers.py:32
Class
Albu
Albumentation augmentation. Adds custom transformations from Albumentations library. Please, visit `https://albumentations.readthedocs.io`
mmdet/datasets/pipelines/transforms.py:1332
Class
AnchorFreeHead
Anchor-free head (FCOS, Fovea, RepPoints, etc.). Args: num_classes (int): Number of categories excluding the background categ
mmdet/models/dense_heads/anchor_free_head.py:18
Class
AnchorGenerator
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:13
Class
AnchorHead
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:17
Class
ApproxMaxIoUAssigner
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:10
Class
AssociativeEmbeddingLoss
Associative Embedding Loss. More details can be found in `Associative Embedding <https://arxiv.org/abs/1611.05424>`_ and `CornerNet <http
mmdet/models/losses/ae_loss.py:75
Class
AutoAssign
Implementation of `AutoAssign: Differentiable Label Assignment for Dense Object Detection <https://arxiv.org/abs/2007.03496>`_.
mmdet/models/detectors/autoassign.py:7
Class
AutoAssignHead
AutoAssignHead head used in AutoAssign. More details can be found in the `paper <https://arxiv.org/abs/2007.03496>`_ . Args: for
mmdet/models/dense_heads/autoassign_head.py:128
Class
AutoAugment
Auto augmentation. This data augmentation is proposed in `Learning Data Augmentation Strategies for Object Detection <https://arxiv.org/pdf/1
mmdet/datasets/pipelines/auto_augment.py:47
Class
BBoxHead
Simplest RoI head, with only two fc layers for classification and regression respectively.
mmdet/models/roi_heads/bbox_heads/bbox_head.py:15
Class
BBoxL1Cost
BBoxL1Cost. Args: weight (int | float, optional): loss_weight box_format (str, optional): 'xyxy' for DETR, 'xywh' for Sparse_R
mmdet/core/bbox/match_costs/match_cost.py:11
Class
BBoxTestMixin
Mixin class for testing det bboxes via DenseHead.
mmdet/models/dense_heads/dense_test_mixins.py:14
Class
BBoxTestMixin
mmdet/models/roi_heads/test_mixins.py:15
Class
BFP
BFP (Balanced Feature Pyramids) BFP takes multi-level features as inputs and gather them into a single one, then refine the gathered feature
mmdet/models/necks/bfp.py:11
Class
BalancedL1Loss
Balanced L1 Loss. arXiv: https://arxiv.org/pdf/1904.02701.pdf (CVPR 2019) Args: alpha (float): The denominator ``alpha`` in the bala
mmdet/models/losses/balanced_l1_loss.py:57
Class
BaseAnchorOptimizer
Base class for anchor optimizer. Args: dataset (obj:`Dataset`): Dataset object. input_shape (list[int]): Input image shape of the
tools/analysis_tools/optimize_anchors.py:66
Class
BaseAssigner
Base assigner that assigns boxes to ground truth boxes.
mmdet/core/bbox/assigners/base_assigner.py:5
Class
BaseBBoxCoder
Base bounding box coder.
mmdet/core/bbox/coder/base_bbox_coder.py:5
Class
BaseDenseHead
Base class for DenseHeads.
mmdet/models/dense_heads/base_dense_head.py:12
Class
BaseDetector
Base class for detectors.
mmdet/models/detectors/base.py:14
Class
BaseEMAHook
Exponential Moving Average Hook. Use Exponential Moving Average on all parameters of model in training process. All parameters have a ema bac
mmdet/core/hook/ema.py:8
next →
1–100 of 416, ranked by callers