MCPcopy Create free account

hub / github.com/Wuziyi616/LEOD / types & classes

Types & classes194 in github.com/Wuziyi616/LEOD

↓ 10 callersClassObjectLabels
More advanced bbox label class, with transformation support.
data/genx_utils/labels.py:249
↓ 10 callersClassSparselyBatchedObjectLabels
A wrapper for batching the data in dataloader.
data/genx_utils/labels.py:606
↓ 9 callersClassBaseConv
A Conv2d -> Batchnorm -> silu/leaky relu block
models/detection/yolox/models/network_blocks.py:29
↓ 6 callersClassConvNormAct
models/layers/maxvit/layers/conv_bn_act.py:12
↓ 5 callersClassCudaTimer
utils/timers.py:12
↓ 4 callersClassBackboneFeatureSelector
A container for backbone features in torch.Tensor.
modules/utils/detection.py:27
↓ 4 callersClassCSPLayer
C3 in yolov5, CSP Bottleneck with 3 convolutions
models/detection/yolox/models/network_blocks.py:104
↓ 4 callersClassPropheseeEvaluator
utils/evaluation/prophesee/evaluator.py:25
↓ 4 callersClassRandomSpatialAugmentorGenX
RandAugment applied on event detection data.
data/utils/augmentor.py:125
↓ 3 callersClassConvMlp
MLP using 1x1 convs that keeps spatial dims
models/layers/maxvit/layers/mlp.py:103
↓ 3 callersClassMLDecoder
models/layers/maxvit/layers/ml_decoder.py:103
↓ 3 callersClassRNNStates
A container for RNN states, support partial update/reset. We maintain a dict of {worker_id: states} for each data worker.
modules/utils/detection.py:95
↓ 2 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
models/layers/maxvit/layers/drop.py:157
↓ 2 callersClassEventReprSelector
A container for event repr in torch.Tensor.
modules/utils/detection.py:61
↓ 2 callersClassLayerScale
models/layers/maxvit/maxvit.py:45
↓ 2 callersClassLinearTracker
Simple linear online tracker.
modules/tracking/linear.py:196
↓ 2 callersClassPartitionAttentionCl
Grid or Block partition + Attn + FFN. NxC 'channels last' tensor layout. According to RW, NHWC attention is a few percent faster on GPUs (bu
models/layers/maxvit/maxvit.py:185
↓ 2 callersClassSSODAugmentorGenX
Data augmentor for SSOD training, with weak and strong augmentation.
data/utils/ssod_augmentor.py:21
↓ 2 callersClassSequenceForIter
A wrapper of a seq of events, each data sample is a sub-seq of `length`. Compared to `SequenceForRandomAccess`, where all the loaded event seq ar
data/genx_utils/sequence_streaming.py:54
↓ 2 callersClassTimer
utils/timers.py:60
↓ 1 callersClassAdaptiveAvgMaxPool2d
models/layers/maxvit/layers/adaptive_avgmax_pool.py:61
↓ 1 callersClassAdaptiveCatAvgMaxPool2d
models/layers/maxvit/layers/adaptive_avgmax_pool.py:70
↓ 1 callersClassAugmentationState
data/utils/augmentor.py:74
↓ 1 callersClassAvgPool2dSame
Tensorflow like 'SAME' wrapper for 2D average pooling
models/layers/maxvit/layers/pool2d_same.py:21
↓ 1 callersClassBilinearAttnTransform
models/layers/maxvit/layers/non_local_attn.py:72
↓ 1 callersClassBottleneck
models/detection/yolox/models/network_blocks.py:79
↓ 1 callersClassChannelAttn
Original CBAM channel attention module, currently avg + max pool variant only.
models/layers/maxvit/layers/cbam.py:19
↓ 1 callersClassConcatStreamingDataPipe
This Dataset avoids the sharding problem by instantiating randomized stream concatenation at the batch and worker level. Pros: - Every sin
data/utils/stream_concat_datapipe.py:25
↓ 1 callersClassCondConv2d
Conditionally Parameterized Convolution Inspired by: https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/condconv/condconv
models/layers/maxvit/layers/cond_conv2d.py:34
↓ 1 callersClassConv2dSame
Tensorflow like 'SAME' convolution wrapper for 2D convolutions
models/layers/maxvit/layers/conv2d_same.py:20
↓ 1 callersClassConvDownsampling_Cf2Cl
Downsample with input in NCHW [channel-first] format. Output in NHWC [channel-last] format.
models/layers/maxvit/maxvit.py:143
↓ 1 callersClassConvNormActAa
models/layers/maxvit/layers/conv_bn_act.py:58
↓ 1 callersClassCustomConcatDataset
data/genx_utils/dataset_rnd.py:137
↓ 1 callersClassDWSConvLSTM2d
LSTM with (depthwise-separable) Conv option in NCHW [channel-first] format.
models/layers/rnn.py:7
↓ 1 callersClassDetectionVizCallback
Visualize predicted and GT bbox on event-converted RGB frames.
callbacks/detection.py:20
↓ 1 callersClassEventSeqData
Record the labels of an event sequence.
modules/pseudo_labeler.py:94
↓ 1 callersClassEventSeqResult
Aggregate model predictions from TTA (Test-Time-Augmentation).
modules/utils/tta.py:64
↓ 1 callersClassFastAdaptiveAvgPool2d
models/layers/maxvit/layers/adaptive_avgmax_pool.py:52
↓ 1 callersClassFocalLoss
Focal loss for foreground-background classification (objectness).
models/detection/yolox/models/losses.py:69
↓ 1 callersClassGLU
models/layers/maxvit/maxvit.py:56
↓ 1 callersClassGradFlowLogCallback
callbacks/gradflow.py:10
↓ 1 callersClassGroupFC
models/layers/maxvit/layers/ml_decoder.py:92
↓ 1 callersClassIOUloss
IoU loss for bbox regression.
models/detection/yolox/models/losses.py:10
↓ 1 callersClassInputPadderFromShape
Pad input to desired height and width.
utils/padding.py:7
↓ 1 callersClassLayerNorm
LayerNorm w/ fast norm option
models/layers/maxvit/layers/norm.py:44
↓ 1 callersClassLightChannelAttn
An experimental 'lightweight' that sums avg + max pool first
models/layers/maxvit/layers/cbam.py:39
↓ 1 callersClassLightSpatialAttn
An experimental 'lightweight' variant that sums avg_pool and max_pool results.
models/layers/maxvit/layers/cbam.py:68
↓ 1 callersClassLinearBoxTracker
Simple linear velocity bbox tracker. Inspired by paper: Towards Unsupervised Object Detection from LiDAR Point Clouds.
modules/tracking/linear.py:10
↓ 1 callersClassMLP
models/layers/maxvit/maxvit.py:85
↓ 1 callersClassMaxPool2dSame
Tensorflow like 'SAME' wrapper for 2D max pooling
models/layers/maxvit/layers/pool2d_same.py:42
↓ 1 callersClassMaxVitAttentionPairCl
First Attn in fixed local windows, then Attn in sparse global grids.
models/detection/recurrent_backbone/maxvit_rnn.py:118
↓ 1 callersClassMixedConv2d
Mixed Grouped Convolution Based on MDConv and GroupedConv in MixNet impl: https://github.com/tensorflow/tpu/blob/master/models/official/mn
models/layers/maxvit/layers/mixed_conv2d.py:20
↓ 1 callersClassObjectLabelFactory
A wrapper containing many frames and their bbox labels.
data/genx_utils/labels.py:188
↓ 1 callersClassPosEmbedRel
Relative Position Embedding As per: https://gist.github.com/aravindsrinivas/56359b79f0ce4449bcb04ab4b56a57a2 Originally from: `Attention Augm
models/layers/maxvit/layers/bottleneck_attn.py:56
↓ 1 callersClassPosEmbedRel
Relative Position Embedding As per: https://gist.github.com/aravindsrinivas/56359b79f0ce4449bcb04ab4b56a57a2 Originally from: `Attention Augm
models/layers/maxvit/layers/halo_attn.py:61
↓ 1 callersClassPseudoLabeler
Generate pseudo labels on training data.
modules/pseudo_labeler.py:410
↓ 1 callersClassRNNDetectorStage
Operates with NCHW [channel-first] format as input and output.
models/detection/recurrent_backbone/maxvit_rnn.py:142
↓ 1 callersClassRadixSoftmax
models/layers/maxvit/layers/split_attn.py:16
↓ 1 callersClassRotaryEmbedding
Rotary position embedding NOTE: This is my initial attempt at impl rotary embedding for spatial use, it has not been well tested, and will l
models/layers/maxvit/layers/pos_embed.py:186
↓ 1 callersClassRotationState
data/utils/augmentor.py:61
↓ 1 callersClassSSODSequenceDataset
Similar as SequenceDataset, but we also use the SSODAugmentorGenX for data aug.
data/genx_utils/dataset_rnd.py:126
↓ 1 callersClassSelectAdaptivePool2d
Selectable global pooling layer with dynamic input kernel size
models/layers/maxvit/layers/adaptive_avgmax_pool.py:79
↓ 1 callersClassSelectiveKernelAttn
models/layers/maxvit/layers/selective_kernel.py:22
↓ 1 callersClassSeqLens
Record how many timesteps we have seen for each sequence.
modules/utils/detection.py:160
↓ 1 callersClassSequenceDataset
A wrapper for RandomAccessSequence. We perform data aug here.
data/genx_utils/dataset_rnd.py:24
↓ 1 callersClassSequenceForRandomAccess
Load labeled frames and `L` event reprs before it. Each frame is only loaded once.
data/genx_utils/sequence_rnd.py:11
↓ 1 callersClassShardedStreamingDataPipe
A wrapper for datapipes. This is the one used in eval/test. Each datapipe is a full seq of events, with diff num of frames. Similar to torch.u
data/utils/stream_sharded_datapipe.py:10
↓ 1 callersClassSpaceToDepth
models/layers/maxvit/layers/space_to_depth.py:5
↓ 1 callersClassSpaceToDepthJit
models/layers/maxvit/layers/space_to_depth.py:20
↓ 1 callersClassSpatialAttn
Original CBAM spatial attention module
models/layers/maxvit/layers/cbam.py:54
↓ 1 callersClassSplitBatchNorm2d
models/layers/maxvit/layers/split_batchnorm.py:18
↓ 1 callersClassSyncBatchNormAct
models/layers/maxvit/layers/norm_act.py:116
↓ 1 callersClassTTAModule
A wrapper for model inference with TTA.
modules/utils/tta.py:200
↓ 1 callersClassTestTimePoolHead
models/layers/maxvit/layers/test_time_pool.py:16
↓ 1 callersClassTransformerDecoderLayerOptimal
models/layers/maxvit/layers/ml_decoder.py:35
↓ 1 callersClassYOLOPAFPN
Removed the direct dependency on the backbone.
models/detection/yolox_extension/models/yolo_pafpn.py:18
↓ 1 callersClassYoloXDetector
RNN-based MaxViT backbone + YOLOX detection head.
models/detection/yolox_extension/models/detector.py:18
↓ 1 callersClassZoomInState
data/utils/augmentor.py:44
↓ 1 callersClassZoomOutState
data/utils/augmentor.py:27
ClassAttentionPool2d
Attention based 2D feature pooling w/ learned (absolute) pos embedding. This is a multi-head attention based replacement for (spatial) average po
models/layers/maxvit/layers/attention_pool2d.py:79
ClassBaseDetector
models/detection/recurrent_backbone/base.py:6
ClassBatNonLocalAttn
BAT Adapted from: https://github.com/BA-Transform/BAT-Image-Classification
models/layers/maxvit/layers/non_local_attn.py:124
ClassBatchNormAct2d
BatchNorm + Activation This module performs BatchNorm + Activation in a manner that will remain backwards compatible with weights trained wit
models/layers/maxvit/layers/norm_act.py:26
ClassBlurPool2d
r"""Creates a module that computes blurs and downsample a given feature map. See :cite:`zhang2019shiftinvar` for more details. Corresponds to
models/layers/maxvit/layers/blur_pool.py:16
ClassBottleneckAttn
Bottleneck Attention Paper: `Bottleneck Transformers for Visual Recognition` - https://arxiv.org/abs/2101.11605 The internal dimensions of t
models/layers/maxvit/layers/bottleneck_attn.py:84
ClassCbamModule
models/layers/maxvit/layers/cbam.py:82
ClassCecaModule
Constructs a circular ECA module. ECA module where the conv uses circular padding rather than zero padding. Unlike the spatial dimension, the
models/layers/maxvit/layers/eca.py:97
ClassClassifierHead
Classifier head w/ configurable global pooling and dropout.
models/layers/maxvit/layers/classifier.py:38
ClassDWConv
Depthwise Conv + Conv
models/detection/yolox/models/network_blocks.py:57
ClassDataModule
Base data module for event detection dataset/dataloaders. There are two possible datasets, random access and streaming. In random access, the
modules/data/genx.py:66
ClassDataType
data/utils/types.py:15
ClassDatasetMode
data/utils/types.py:40
ClassDatasetSamplingMode
data/utils/types.py:46
ClassDatasetType
data/utils/types.py:35
ClassDepthToSpace
models/layers/maxvit/layers/space_to_depth.py:42
ClassDetectionVizEnum
callbacks/detection.py:14
ClassDownsampleBase
models/layers/maxvit/maxvit.py:121
ClassDropBlock2d
DropBlock. See https://arxiv.org/pdf/1810.12890.pdf
models/layers/maxvit/layers/drop.py:104
ClassDummyIterDataPipe
data/utils/stream_concat_datapipe.py:15
ClassEcaModule
Constructs an ECA module. Args: channels: Number of channels of the input feature map for use in adaptive kernel sizes for ac
models/layers/maxvit/layers/eca.py:45
next →1–100 of 194, ranked by callers