Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Wuziyi616/LEOD
/ types & classes
Types & classes
194 in github.com/Wuziyi616/LEOD
⨍
Functions
938
◇
Types & classes
194
↳
Endpoints
1
↓ 10 callers
Class
ObjectLabels
More advanced bbox label class, with transformation support.
data/genx_utils/labels.py:249
↓ 10 callers
Class
SparselyBatchedObjectLabels
A wrapper for batching the data in dataloader.
data/genx_utils/labels.py:606
↓ 9 callers
Class
BaseConv
A Conv2d -> Batchnorm -> silu/leaky relu block
models/detection/yolox/models/network_blocks.py:29
↓ 6 callers
Class
ConvNormAct
models/layers/maxvit/layers/conv_bn_act.py:12
↓ 5 callers
Class
CudaTimer
utils/timers.py:12
↓ 4 callers
Class
BackboneFeatureSelector
A container for backbone features in torch.Tensor.
modules/utils/detection.py:27
↓ 4 callers
Class
CSPLayer
C3 in yolov5, CSP Bottleneck with 3 convolutions
models/detection/yolox/models/network_blocks.py:104
↓ 4 callers
Class
PropheseeEvaluator
utils/evaluation/prophesee/evaluator.py:25
↓ 4 callers
Class
RandomSpatialAugmentorGenX
RandAugment applied on event detection data.
data/utils/augmentor.py:125
↓ 3 callers
Class
ConvMlp
MLP using 1x1 convs that keeps spatial dims
models/layers/maxvit/layers/mlp.py:103
↓ 3 callers
Class
MLDecoder
models/layers/maxvit/layers/ml_decoder.py:103
↓ 3 callers
Class
RNNStates
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 callers
Class
DropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
models/layers/maxvit/layers/drop.py:157
↓ 2 callers
Class
EventReprSelector
A container for event repr in torch.Tensor.
modules/utils/detection.py:61
↓ 2 callers
Class
LayerScale
models/layers/maxvit/maxvit.py:45
↓ 2 callers
Class
LinearTracker
Simple linear online tracker.
modules/tracking/linear.py:196
↓ 2 callers
Class
PartitionAttentionCl
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 callers
Class
SSODAugmentorGenX
Data augmentor for SSOD training, with weak and strong augmentation.
data/utils/ssod_augmentor.py:21
↓ 2 callers
Class
SequenceForIter
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 callers
Class
Timer
utils/timers.py:60
↓ 1 callers
Class
AdaptiveAvgMaxPool2d
models/layers/maxvit/layers/adaptive_avgmax_pool.py:61
↓ 1 callers
Class
AdaptiveCatAvgMaxPool2d
models/layers/maxvit/layers/adaptive_avgmax_pool.py:70
↓ 1 callers
Class
AugmentationState
data/utils/augmentor.py:74
↓ 1 callers
Class
AvgPool2dSame
Tensorflow like 'SAME' wrapper for 2D average pooling
models/layers/maxvit/layers/pool2d_same.py:21
↓ 1 callers
Class
BilinearAttnTransform
models/layers/maxvit/layers/non_local_attn.py:72
↓ 1 callers
Class
Bottleneck
models/detection/yolox/models/network_blocks.py:79
↓ 1 callers
Class
ChannelAttn
Original CBAM channel attention module, currently avg + max pool variant only.
models/layers/maxvit/layers/cbam.py:19
↓ 1 callers
Class
ConcatStreamingDataPipe
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 callers
Class
CondConv2d
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 callers
Class
Conv2dSame
Tensorflow like 'SAME' convolution wrapper for 2D convolutions
models/layers/maxvit/layers/conv2d_same.py:20
↓ 1 callers
Class
ConvDownsampling_Cf2Cl
Downsample with input in NCHW [channel-first] format. Output in NHWC [channel-last] format.
models/layers/maxvit/maxvit.py:143
↓ 1 callers
Class
ConvNormActAa
models/layers/maxvit/layers/conv_bn_act.py:58
↓ 1 callers
Class
CustomConcatDataset
data/genx_utils/dataset_rnd.py:137
↓ 1 callers
Class
DWSConvLSTM2d
LSTM with (depthwise-separable) Conv option in NCHW [channel-first] format.
models/layers/rnn.py:7
↓ 1 callers
Class
DetectionVizCallback
Visualize predicted and GT bbox on event-converted RGB frames.
callbacks/detection.py:20
↓ 1 callers
Class
EventSeqData
Record the labels of an event sequence.
modules/pseudo_labeler.py:94
↓ 1 callers
Class
EventSeqResult
Aggregate model predictions from TTA (Test-Time-Augmentation).
modules/utils/tta.py:64
↓ 1 callers
Class
FastAdaptiveAvgPool2d
models/layers/maxvit/layers/adaptive_avgmax_pool.py:52
↓ 1 callers
Class
FocalLoss
Focal loss for foreground-background classification (objectness).
models/detection/yolox/models/losses.py:69
↓ 1 callers
Class
GLU
models/layers/maxvit/maxvit.py:56
↓ 1 callers
Class
GradFlowLogCallback
callbacks/gradflow.py:10
↓ 1 callers
Class
GroupFC
models/layers/maxvit/layers/ml_decoder.py:92
↓ 1 callers
Class
IOUloss
IoU loss for bbox regression.
models/detection/yolox/models/losses.py:10
↓ 1 callers
Class
InputPadderFromShape
Pad input to desired height and width.
utils/padding.py:7
↓ 1 callers
Class
LayerNorm
LayerNorm w/ fast norm option
models/layers/maxvit/layers/norm.py:44
↓ 1 callers
Class
LightChannelAttn
An experimental 'lightweight' that sums avg + max pool first
models/layers/maxvit/layers/cbam.py:39
↓ 1 callers
Class
LightSpatialAttn
An experimental 'lightweight' variant that sums avg_pool and max_pool results.
models/layers/maxvit/layers/cbam.py:68
↓ 1 callers
Class
LinearBoxTracker
Simple linear velocity bbox tracker. Inspired by paper: Towards Unsupervised Object Detection from LiDAR Point Clouds.
modules/tracking/linear.py:10
↓ 1 callers
Class
MLP
models/layers/maxvit/maxvit.py:85
↓ 1 callers
Class
MaxPool2dSame
Tensorflow like 'SAME' wrapper for 2D max pooling
models/layers/maxvit/layers/pool2d_same.py:42
↓ 1 callers
Class
MaxVitAttentionPairCl
First Attn in fixed local windows, then Attn in sparse global grids.
models/detection/recurrent_backbone/maxvit_rnn.py:118
↓ 1 callers
Class
MixedConv2d
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 callers
Class
ObjectLabelFactory
A wrapper containing many frames and their bbox labels.
data/genx_utils/labels.py:188
↓ 1 callers
Class
PosEmbedRel
Relative Position Embedding As per: https://gist.github.com/aravindsrinivas/56359b79f0ce4449bcb04ab4b56a57a2 Originally from: `Attention Augm
models/layers/maxvit/layers/bottleneck_attn.py:56
↓ 1 callers
Class
PosEmbedRel
Relative Position Embedding As per: https://gist.github.com/aravindsrinivas/56359b79f0ce4449bcb04ab4b56a57a2 Originally from: `Attention Augm
models/layers/maxvit/layers/halo_attn.py:61
↓ 1 callers
Class
PseudoLabeler
Generate pseudo labels on training data.
modules/pseudo_labeler.py:410
↓ 1 callers
Class
RNNDetectorStage
Operates with NCHW [channel-first] format as input and output.
models/detection/recurrent_backbone/maxvit_rnn.py:142
↓ 1 callers
Class
RadixSoftmax
models/layers/maxvit/layers/split_attn.py:16
↓ 1 callers
Class
RotaryEmbedding
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 callers
Class
RotationState
data/utils/augmentor.py:61
↓ 1 callers
Class
SSODSequenceDataset
Similar as SequenceDataset, but we also use the SSODAugmentorGenX for data aug.
data/genx_utils/dataset_rnd.py:126
↓ 1 callers
Class
SelectAdaptivePool2d
Selectable global pooling layer with dynamic input kernel size
models/layers/maxvit/layers/adaptive_avgmax_pool.py:79
↓ 1 callers
Class
SelectiveKernelAttn
models/layers/maxvit/layers/selective_kernel.py:22
↓ 1 callers
Class
SeqLens
Record how many timesteps we have seen for each sequence.
modules/utils/detection.py:160
↓ 1 callers
Class
SequenceDataset
A wrapper for RandomAccessSequence. We perform data aug here.
data/genx_utils/dataset_rnd.py:24
↓ 1 callers
Class
SequenceForRandomAccess
Load labeled frames and `L` event reprs before it. Each frame is only loaded once.
data/genx_utils/sequence_rnd.py:11
↓ 1 callers
Class
ShardedStreamingDataPipe
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 callers
Class
SpaceToDepth
models/layers/maxvit/layers/space_to_depth.py:5
↓ 1 callers
Class
SpaceToDepthJit
models/layers/maxvit/layers/space_to_depth.py:20
↓ 1 callers
Class
SpatialAttn
Original CBAM spatial attention module
models/layers/maxvit/layers/cbam.py:54
↓ 1 callers
Class
SplitBatchNorm2d
models/layers/maxvit/layers/split_batchnorm.py:18
↓ 1 callers
Class
SyncBatchNormAct
models/layers/maxvit/layers/norm_act.py:116
↓ 1 callers
Class
TTAModule
A wrapper for model inference with TTA.
modules/utils/tta.py:200
↓ 1 callers
Class
TestTimePoolHead
models/layers/maxvit/layers/test_time_pool.py:16
↓ 1 callers
Class
TransformerDecoderLayerOptimal
models/layers/maxvit/layers/ml_decoder.py:35
↓ 1 callers
Class
YOLOPAFPN
Removed the direct dependency on the backbone.
models/detection/yolox_extension/models/yolo_pafpn.py:18
↓ 1 callers
Class
YoloXDetector
RNN-based MaxViT backbone + YOLOX detection head.
models/detection/yolox_extension/models/detector.py:18
↓ 1 callers
Class
ZoomInState
data/utils/augmentor.py:44
↓ 1 callers
Class
ZoomOutState
data/utils/augmentor.py:27
Class
AttentionPool2d
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
Class
BaseDetector
models/detection/recurrent_backbone/base.py:6
Class
BatNonLocalAttn
BAT Adapted from: https://github.com/BA-Transform/BAT-Image-Classification
models/layers/maxvit/layers/non_local_attn.py:124
Class
BatchNormAct2d
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
Class
BlurPool2d
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
Class
BottleneckAttn
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
Class
CbamModule
models/layers/maxvit/layers/cbam.py:82
Class
CecaModule
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
Class
ClassifierHead
Classifier head w/ configurable global pooling and dropout.
models/layers/maxvit/layers/classifier.py:38
Class
DWConv
Depthwise Conv + Conv
models/detection/yolox/models/network_blocks.py:57
Class
DataModule
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
Class
DataType
data/utils/types.py:15
Class
DatasetMode
data/utils/types.py:40
Class
DatasetSamplingMode
data/utils/types.py:46
Class
DatasetType
data/utils/types.py:35
Class
DepthToSpace
models/layers/maxvit/layers/space_to_depth.py:42
Class
DetectionVizEnum
callbacks/detection.py:14
Class
DownsampleBase
models/layers/maxvit/maxvit.py:121
Class
DropBlock2d
DropBlock. See https://arxiv.org/pdf/1810.12890.pdf
models/layers/maxvit/layers/drop.py:104
Class
DummyIterDataPipe
data/utils/stream_concat_datapipe.py:15
Class
EcaModule
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