Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba-mmai-research/TAdaConv
/ types & classes
Types & classes
91 in github.com/alibaba-mmai-research/TAdaConv
⨍
Functions
571
◇
Types & classes
91
↓ 10 callers
Class
Registry
The Registry class provides a registry for all things To initialize: REGISTRY = Registry() To register a tracker: @R
tadaconv/utils/registry.py:6
↓ 9 callers
Class
InceptionBlock3D
Element constructing the S3D/S3DG. See models/base/backbone.py L99-186. Modifed from https://github.com/TengdaHan/CoCLR/blob/main/backbo
tadaconv/models/module_zoo/branches/s3dg_branch.py:13
↓ 6 callers
Class
AugmentOp
tadaconv/datasets/utils/auto_augment.py:310
↓ 6 callers
Class
LayerNorm
r""" LayerNorm that supports two data formats: channels_last (default) or channels_first. The ordering of the dimensions in the inputs. channels_
tadaconv/models/module_zoo/ops/misc.py:10
↓ 5 callers
Class
InceptionBaseConv3D
Constructs basic inception 3D conv. Modified from https://github.com/TengdaHan/CoCLR/blob/main/backbone/s3dg.py.
tadaconv/models/base/base_blocks.py:217
↓ 5 callers
Class
QuickGELU
tadaconv/models/module_zoo/ops/misc.py:39
↓ 5 callers
Class
ScalarMeter
A scalar meter uses a deque to track a series of scaler values with a given window size. It supports calculating the median and average value
tadaconv/utils/meters.py:470
↓ 4 callers
Class
Base3DResStage
ResNet Stage containing several blocks.
tadaconv/models/base/base_blocks.py:158
↓ 4 callers
Class
DropPath
From https://github.com/rwightman/pytorch-image-models/blob/master/timm/models/layers/drop.py. Drop paths (Stochastic Depth) per sample (whe
tadaconv/models/base/base_blocks.py:529
↓ 4 callers
Class
FuseFastToSlow
tadaconv/models/base/slowfast.py:119
↓ 4 callers
Class
SelfGating
tadaconv/models/module_zoo/branches/s3dg_branch.py:74
↓ 4 callers
Class
Timer
A timer which computes the time elapsed since the start/reset of the timer.
tadaconv/utils/timer.py:10
↓ 3 callers
Class
Attention
Self-attention module. Currently supports both full self-attention on all the input tokens, or only-spatial/only-temporal self-attention
tadaconv/models/base/transformer.py:37
↓ 3 callers
Class
ColorJitter
Modified from https://github.com/TengdaHan/DPC/blob/master/utils/augmentation.py. Randomly change the brightness, contrast and saturation o
tadaconv/datasets/utils/transformations.py:14
↓ 3 callers
Class
Config
Global config object. It automatically loads from a hierarchy of config files and turns the keys to the class attributes.
tadaconv/utils/config.py:16
↓ 3 callers
Class
TAdaConv2dV2
Performs temporally adaptive 2D convolution. Currently, only application on 5D tensors is supported, which makes TAdaConv2d essentia
tadaconv/models/module_zoo/ops/tadaconv_v2.py:118
↓ 2 callers
Class
Base3DBlock
Constructs a base 3D block, composed of a shortcut and a conv branch.
tadaconv/models/base/base_blocks.py:104
↓ 2 callers
Class
EpicKitchenMeter
Perform the multi-view ensemble for testing: each video with an unique index will be sampled with multiple clips, and the predictions of the
tadaconv/utils/meters.py:178
↓ 2 callers
Class
FeedForward
tadaconv/models/base/transformer.py:23
↓ 2 callers
Class
KineticsResizedCrop
tadaconv/datasets/utils/transformations.py:393
↓ 2 callers
Class
PatchEmbedStem
Video to Patch Embedding.
tadaconv/models/module_zoo/stems/embedding_stem.py:17
↓ 2 callers
Class
RandomErasing
Randomly selects a rectangle region in an image and erases its pixels. 'Random Erasing Data Augmentation' by Zhong et al. See https:/
tadaconv/datasets/utils/random_erasing.py:26
↓ 2 callers
Class
RouteFuncwTransformer
The routing function for generating the calibration weights.
tadaconv/models/module_zoo/ops/tadaconv_v2.py:16
↓ 2 callers
Class
TestMeter
Perform the multi-view ensemble for testing: each video with an unique index will be sampled with multiple clips, and the predictions of the
tadaconv/utils/meters.py:24
↓ 1 callers
Class
AugMixAugment
AugMix Transform Adapted and improved from impl here: https://github.com/google-research/augmix/blob/master/imagenet.py From paper: 'AugMix:
tadaconv/datasets/utils/auto_augment.py:751
↓ 1 callers
Class
AutoAugment
tadaconv/datasets/utils/auto_augment.py:506
↓ 1 callers
Class
AutoResizedCropVideo
tadaconv/datasets/utils/transformations.py:300
↓ 1 callers
Class
BaseVideoModel
Standard video model. The model is divided into the backbone and the head, where the backbone extracts features and the head performs cla
tadaconv/models/base/models.py:12
↓ 1 callers
Class
Epicdetection
tadaconv/utils/eval_tal/eval_epic_detection.py:17
↓ 1 callers
Class
LARS
r"""Implements layer-wise adaptive rate scaling for SGD. Args: params (iterable): iterable of parameters to optimize or dicts defining
tadaconv/models/utils/lars.py:9
↓ 1 callers
Class
Mixup
Mixup/Cutmix that applies different params to each element or whole batch Args: mixup_alpha (float): mixup alpha value, mixup is active
tadaconv/datasets/utils/mixup.py:103
↓ 1 callers
Class
ModelEmaV2
Model Exponential Moving Average V2 Keep a moving average of everything in the model state_dict (parameters and buffers). V2 of this module i
tadaconv/models/utils/model_ema.py:9
↓ 1 callers
Class
MultiFoldDistributedSampler
Modified from DistributedSampler, which performs multi fold training for accelerating distributed training with large batches. Sampler t
tadaconv/utils/sampler.py:12
↓ 1 callers
Class
MultiSegValDistributedSampler
Modified from DistributedSampler, which performs multi fold training for accelerating distributed training with large batches. Sampler t
tadaconv/utils/val_dist_sampler.py:15
↓ 1 callers
Class
RandAugment
tadaconv/datasets/utils/auto_augment.py:633
↓ 1 callers
Class
RouteFuncMLP
The routing function for generating the calibration weights.
tadaconv/models/module_zoo/ops/tadaconv.py:12
↓ 1 callers
Class
TAdaConv2d
Performs temporally adaptive 2D convolution. Currently, only application on 5D tensors is supported, which makes TAdaConv2d essentia
tadaconv/models/module_zoo/ops/tadaconv.py:62
↓ 1 callers
Class
TrainMeter
Measure training stats.
tadaconv/utils/meters.py:521
↓ 1 callers
Class
ValMeter
Measures validation stats.
tadaconv/utils/meters.py:676
Class
Base2DStem
Constructs basic ResNet 2D Stem. A single 2D convolution is performed in the base 2D stem.
tadaconv/models/base/base_blocks.py:242
Class
Base3DStem
Constructs basic ResNet 3D Stem. A single 3D convolution is performed in the base 3D stem.
tadaconv/models/base/base_blocks.py:302
Class
BaseBMN
Head for predicting boundary matching map.
tadaconv/models/module_zoo/heads/bmn_head.py:20
Class
BaseBranch
Constructs the base convolution branch for ResNet based approaches.
tadaconv/models/base/base_blocks.py:64
Class
BaseHead
Constructs base head.
tadaconv/models/base/base_blocks.py:368
Class
BaseHeadx2
Constructs two base heads in parallel. This is specifically for EPIC-KITCHENS dataset, where 'noun' and 'verb' class are predicted.
tadaconv/models/base/base_blocks.py:440
Class
BaseModule
Constructs base module that contains basic visualization function and corresponding hooks. Note: The visualization function has only tested i
tadaconv/models/base/base_blocks.py:23
Class
BaseTransformerLayer
tadaconv/models/base/transformer.py:146
Class
BaseVideoDataset
The BaseVideoDataset object provides a base object for all the video/image/video-text datasets. Abstract methods are provided for completio
tadaconv/datasets/base/base_dataset.py:41
Class
CSNBranch
The ir-CSN branch. See Du Tran et al. Video Classification with Channel-Separated Convolutional Networks.
tadaconv/models/module_zoo/branches/csn_branch.py:13
Class
ConvNeXt
r""" ConvNeXt A PyTorch impl of : `A ConvNet for the 2020s` - https://arxiv.org/pdf/2201.03545.pdf Args: in_chans (int
tadaconv/models/base/backbone.py:307
Class
DownSampleStem
Inherits base 3D stem and adds a maxpool as downsampling.
tadaconv/models/module_zoo/stems/downsample_stem.py:13
Class
Epickitchen100
tadaconv/datasets/base/epickitchen100.py:22
Class
Epickitchen100localization
tadaconv/datasets/base/epickitchen100_feature.py:57
Class
FactorizedTransformer
The factorized transformer. See Anurag Arnab et al. ViVIT: A Video Vision Transformer.
tadaconv/models/base/transformer.py:285
Class
GEGLU
tadaconv/models/base/transformer.py:18
Class
Hmdb51
tadaconv/datasets/base/hmdb51.py:21
Class
Imagenet
tadaconv/datasets/base/imagenet.py:32
Class
Inception3D
Backbone architecture for I3D/S3DG. Modifed from https://github.com/TengdaHan/CoCLR/blob/main/backbone/s3dg.py.
tadaconv/models/base/backbone.py:93
Class
Kinetics400
tadaconv/datasets/base/kinetics400.py:22
Class
MoSIGenerator
Generator for pseudo camera motions with static masks in MoSI. See paper "Self-supervised Motion Learning from Static Images", Huang
tadaconv/sslgenerators/mosi/mosi_generator.py:21
Class
MoSIHeadJoint
Head for predicting MoSI categories. This head performs prediction jointly on both axes.
tadaconv/models/module_zoo/heads/mosi_head.py:135
Class
MoSIHeadOnlyX
Head for predicting MoSI categories. This head performs prediction on only x-axis.
tadaconv/models/module_zoo/heads/mosi_head.py:13
Class
MoSIHeadOnlyY
Head for predicting MoSI categories. This head performs prediction on only y-axis.
tadaconv/models/module_zoo/heads/mosi_head.py:74
Class
MoSINet
tadaconv/models/base/models.py:70
Class
NonLocal
Non-local block. See Xiaolong Wang et al. Non-local Neural Networks.
tadaconv/models/module_zoo/branches/non_local.py:12
Class
R2D3DBranch
The R2D3D Branch. Essentially the MCx model in Du Tran et al. A Closer Look at Spatiotemporal Convoluitions for Action Recogn
tadaconv/models/module_zoo/branches/r2d3d_branch.py:13
Class
R2Plus1DBranch
The R(2+1)D Branch. See Du Tran et al. A Closer Look at Spatiotemporal Convoluitions for Action Recognition.
tadaconv/models/module_zoo/branches/r2plus1d_branch.py:14
Class
R2Plus1DStem
R(2+1)D Stem.
tadaconv/models/module_zoo/stems/r2plus1d_stem.py:14
Class
ResNet3D
Meta architecture for 3D ResNet based models.
tadaconv/models/base/backbone.py:32
Class
STConv3d
Element constructing the S3D/S3DG. See models/base/backbone.py L99-186. Modifed from https://github.com/TengdaHan/CoCLR/blob/main/backbo
tadaconv/models/module_zoo/branches/s3dg_branch.py:87
Class
SimpleLocalizationConv
Backbone architecture for temporal action localization, which only contains three simple convs.
tadaconv/models/base/backbone.py:183
Class
SlowFastHead
Constructs head for the SlowFast Networks.
tadaconv/models/module_zoo/heads/slowfast_head.py:14
Class
SlowFastHeadx2
SlowFast Head for EPIC-KITCHENS dataset.
tadaconv/models/module_zoo/heads/slowfast_head.py:107
Class
Slowfast
Constructs SlowFast model. Christoph Feichtenhofer, Haoqi Fan, Jitendra Malik, and Kaiming He. "SlowFast networks for video recognit
tadaconv/models/base/slowfast.py:14
Class
SlowfastBranch
Constructs SlowFast conv branch. See Christoph Feichtenhofer et al. SlowFast Networks for Video Recognition.
tadaconv/models/module_zoo/branches/slowfast_branch.py:14
Class
SoftTargetCrossEntropy
tadaconv/models/utils/losses.py:19
Class
Ssv2
tadaconv/datasets/base/ssv2.py:22
Class
TAda2DBlock
The TAdaConv branch with average pooling as the feature aggregation scheme. For details, see Ziyuan Huang, Shiwei Zhang, Liang Pan, Zhiw
tadaconv/models/module_zoo/branches/tada_branch.py:17
Class
TAdaBlock
tadaconv/models/module_zoo/branches/tadaformer.py:61
Class
TAdaBlockTempEnhanced
r""" TAdaFormer Block. Args: cfg (Config): the global config object.
tadaconv/models/module_zoo/branches/tadaformer.py:17
Class
TAdaConv3d
Performs temporally adaptive 3D convolution.
tadaconv/models/module_zoo/ops/tadaconv.py:158
Class
TAdaConvNeXtV2Block
r""" TAdaConvNeXtV2 Block. Args: cfg (Config): the global config object. drop_path (float): Stochastic depth rate. Default: 0.0
tadaconv/models/module_zoo/branches/tadaconvnextv2.py:18
Class
TAdaFormerBlock
Transformer layer for (L, N, D) input. Modified from CLIP.
tadaconv/models/module_zoo/branches/tadaformer.py:87
Class
TimesformerLayer
tadaconv/models/base/transformer.py:178
Class
Transformer
tadaconv/models/base/transformer.py:222
Class
TransformerHead
Construct head for video vision transformers.
tadaconv/models/module_zoo/heads/transformer_head.py:16
Class
TransformerHeadx2
The Transformer head for EPIC-KITCHENS dataset.
tadaconv/models/module_zoo/heads/transformer_head.py:77
Class
TubeletEmbeddingStem
Video to Tubelet Embedding.
tadaconv/models/module_zoo/stems/embedding_stem.py:59
Class
Ucf101
tadaconv/datasets/base/ucf101.py:22
Class
VisionTransformer
tadaconv/models/base/backbone.py:220
Class
ZeroShotCollate
tadaconv/datasets/utils/collate_functions.py:14