Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dddzg/up-detr
/ types & classes
Types & classes
43 in github.com/dddzg/up-detr
⨍
Functions
193
◇
Types & classes
43
↓ 4 callers
Class
NestedTensor
util/misc.py:295
↓ 2 callers
Class
MLP
Very simple multi-layer perceptron (also called FFN)
models/detr.py:318
↓ 2 callers
Class
SmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
util/misc.py:32
↓ 1 callers
Class
Backbone
ResNet backbone with frozen BatchNorm.
models/backbone.py:94
↓ 1 callers
Class
CocoDetection
datasets/coco.py:23
↓ 1 callers
Class
CocoEvaluator
datasets/coco_eval.py:28
↓ 1 callers
Class
CocoPanoptic
datasets/coco_panoptic.py:21
↓ 1 callers
Class
ConvertCocoPolysToMask
datasets/coco.py:56
↓ 1 callers
Class
DETR
This is the DETR module that performs object detection
models/detr.py:23
↓ 1 callers
Class
DETRsegm
models/segmentation.py:30
↓ 1 callers
Class
GaussianBlur
Gaussian blur augmentation in SimCLR https://arxiv.org/abs/2002.05709
datasets/selfdet.py:110
↓ 1 callers
Class
HungarianMatcher
This class computes an assignment between the targets and the predictions of the network For efficiency reasons, the targets don't include the no
models/matcher.py:18
↓ 1 callers
Class
Joiner
models/backbone.py:113
↓ 1 callers
Class
MHAttentionMap
This is a 2D attention module, which only returns the attention softmax (no multiplication by value)
models/segmentation.py:147
↓ 1 callers
Class
MaskHeadSmallConv
Simple convolutional head, using group norm. Upsampling is done using a FPN approach
models/segmentation.py:76
↓ 1 callers
Class
PanopticEvaluator
datasets/panoptic_eval.py:19
↓ 1 callers
Class
PositionEmbeddingLearned
Absolute pos embedding, learned.
models/position_encoding.py:57
↓ 1 callers
Class
PositionEmbeddingSine
This is a more standard version of the position embedding, very similar to the one used by the Attention is all you need paper, generalized t
models/position_encoding.py:18
↓ 1 callers
Class
PostProcess
This module converts the model's output into the format expected by the coco api
models/detr.py:286
↓ 1 callers
Class
PostProcessPanoptic
This class converts the output of the model to the final panoptic result, in the format expected by the coco panoptic API
models/segmentation.py:249
↓ 1 callers
Class
PostProcessSegm
models/segmentation.py:226
↓ 1 callers
Class
SelfDet
SelfDet is a dataset class which implements random query patch detection. It randomly crops patches as queries from the given image with the
datasets/selfdet.py:33
↓ 1 callers
Class
SetCriterion
This class computes the loss for DETR. The process happens in two steps: 1) we compute hungarian assignment between ground truth boxes an
models/detr.py:89
↓ 1 callers
Class
Transformer
models/transformer.py:24
↓ 1 callers
Class
TransformerDecoder
models/transformer.py:93
↓ 1 callers
Class
TransformerDecoderLayer
models/transformer.py:194
↓ 1 callers
Class
TransformerEncoder
models/transformer.py:69
↓ 1 callers
Class
TransformerEncoderLayer
models/transformer.py:134
↓ 1 callers
Class
UPDETR
This is the UPDETR module for pre-training. UPDETR inherits from DETR with same backbone,transformer,object queries and etc.
models/updetr.py:15
Class
BackboneBase
models/backbone.py:64
Class
CenterCrop
datasets/transforms.py:175
Class
Compose
datasets/transforms.py:267
Class
FrozenBatchNorm2d
BatchNorm2d where the batch statistics and the affine parameters are fixed. Copy-paste from torchvision.misc.ops with added eps before rqsrt
models/backbone.py:25
Class
MetricLogger
util/misc.py:164
Class
Normalize
datasets/transforms.py:248
Class
RandomCrop
datasets/transforms.py:154
Class
RandomErasing
datasets/transforms.py:239
Class
RandomHorizontalFlip
datasets/transforms.py:187
Class
RandomPad
datasets/transforms.py:208
Class
RandomResize
datasets/transforms.py:197
Class
RandomSelect
Randomly selects between transforms1 and transforms2, with probability p for transforms1 and (1 - p) for transforms2
datasets/transforms.py:218
Class
RandomSizeCrop
datasets/transforms.py:163
Class
ToTensor
datasets/transforms.py:234