MCPcopy Create free account

hub / github.com/alibaba-mmai-research/TAdaConv / types & classes

Types & classes91 in github.com/alibaba-mmai-research/TAdaConv

↓ 10 callersClassRegistry
The Registry class provides a registry for all things To initialize: REGISTRY = Registry() To register a tracker: @R
tadaconv/utils/registry.py:6
↓ 9 callersClassInceptionBlock3D
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 callersClassAugmentOp
tadaconv/datasets/utils/auto_augment.py:310
↓ 6 callersClassLayerNorm
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 callersClassInceptionBaseConv3D
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 callersClassQuickGELU
tadaconv/models/module_zoo/ops/misc.py:39
↓ 5 callersClassScalarMeter
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 callersClassBase3DResStage
ResNet Stage containing several blocks.
tadaconv/models/base/base_blocks.py:158
↓ 4 callersClassDropPath
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 callersClassFuseFastToSlow
tadaconv/models/base/slowfast.py:119
↓ 4 callersClassSelfGating
tadaconv/models/module_zoo/branches/s3dg_branch.py:74
↓ 4 callersClassTimer
A timer which computes the time elapsed since the start/reset of the timer.
tadaconv/utils/timer.py:10
↓ 3 callersClassAttention
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 callersClassColorJitter
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 callersClassConfig
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 callersClassTAdaConv2dV2
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 callersClassBase3DBlock
Constructs a base 3D block, composed of a shortcut and a conv branch.
tadaconv/models/base/base_blocks.py:104
↓ 2 callersClassEpicKitchenMeter
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 callersClassFeedForward
tadaconv/models/base/transformer.py:23
↓ 2 callersClassKineticsResizedCrop
tadaconv/datasets/utils/transformations.py:393
↓ 2 callersClassPatchEmbedStem
Video to Patch Embedding.
tadaconv/models/module_zoo/stems/embedding_stem.py:17
↓ 2 callersClassRandomErasing
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 callersClassRouteFuncwTransformer
The routing function for generating the calibration weights.
tadaconv/models/module_zoo/ops/tadaconv_v2.py:16
↓ 2 callersClassTestMeter
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 callersClassAugMixAugment
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 callersClassAutoAugment
tadaconv/datasets/utils/auto_augment.py:506
↓ 1 callersClassAutoResizedCropVideo
tadaconv/datasets/utils/transformations.py:300
↓ 1 callersClassBaseVideoModel
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 callersClassEpicdetection
tadaconv/utils/eval_tal/eval_epic_detection.py:17
↓ 1 callersClassLARS
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 callersClassMixup
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 callersClassModelEmaV2
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 callersClassMultiFoldDistributedSampler
Modified from DistributedSampler, which performs multi fold training for accelerating distributed training with large batches. Sampler t
tadaconv/utils/sampler.py:12
↓ 1 callersClassMultiSegValDistributedSampler
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 callersClassRandAugment
tadaconv/datasets/utils/auto_augment.py:633
↓ 1 callersClassRouteFuncMLP
The routing function for generating the calibration weights.
tadaconv/models/module_zoo/ops/tadaconv.py:12
↓ 1 callersClassTAdaConv2d
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 callersClassTrainMeter
Measure training stats.
tadaconv/utils/meters.py:521
↓ 1 callersClassValMeter
Measures validation stats.
tadaconv/utils/meters.py:676
ClassBase2DStem
Constructs basic ResNet 2D Stem. A single 2D convolution is performed in the base 2D stem.
tadaconv/models/base/base_blocks.py:242
ClassBase3DStem
Constructs basic ResNet 3D Stem. A single 3D convolution is performed in the base 3D stem.
tadaconv/models/base/base_blocks.py:302
ClassBaseBMN
Head for predicting boundary matching map.
tadaconv/models/module_zoo/heads/bmn_head.py:20
ClassBaseBranch
Constructs the base convolution branch for ResNet based approaches.
tadaconv/models/base/base_blocks.py:64
ClassBaseHead
Constructs base head.
tadaconv/models/base/base_blocks.py:368
ClassBaseHeadx2
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
ClassBaseModule
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
ClassBaseTransformerLayer
tadaconv/models/base/transformer.py:146
ClassBaseVideoDataset
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
ClassCSNBranch
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
ClassConvNeXt
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
ClassDownSampleStem
Inherits base 3D stem and adds a maxpool as downsampling.
tadaconv/models/module_zoo/stems/downsample_stem.py:13
ClassEpickitchen100
tadaconv/datasets/base/epickitchen100.py:22
ClassEpickitchen100localization
tadaconv/datasets/base/epickitchen100_feature.py:57
ClassFactorizedTransformer
The factorized transformer. See Anurag Arnab et al. ViVIT: A Video Vision Transformer.
tadaconv/models/base/transformer.py:285
ClassGEGLU
tadaconv/models/base/transformer.py:18
ClassHmdb51
tadaconv/datasets/base/hmdb51.py:21
ClassImagenet
tadaconv/datasets/base/imagenet.py:32
ClassInception3D
Backbone architecture for I3D/S3DG. Modifed from https://github.com/TengdaHan/CoCLR/blob/main/backbone/s3dg.py.
tadaconv/models/base/backbone.py:93
ClassKinetics400
tadaconv/datasets/base/kinetics400.py:22
ClassMoSIGenerator
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
ClassMoSIHeadJoint
Head for predicting MoSI categories. This head performs prediction jointly on both axes.
tadaconv/models/module_zoo/heads/mosi_head.py:135
ClassMoSIHeadOnlyX
Head for predicting MoSI categories. This head performs prediction on only x-axis.
tadaconv/models/module_zoo/heads/mosi_head.py:13
ClassMoSIHeadOnlyY
Head for predicting MoSI categories. This head performs prediction on only y-axis.
tadaconv/models/module_zoo/heads/mosi_head.py:74
ClassMoSINet
tadaconv/models/base/models.py:70
ClassNonLocal
Non-local block. See Xiaolong Wang et al. Non-local Neural Networks.
tadaconv/models/module_zoo/branches/non_local.py:12
ClassR2D3DBranch
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
ClassR2Plus1DBranch
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
ClassR2Plus1DStem
R(2+1)D Stem.
tadaconv/models/module_zoo/stems/r2plus1d_stem.py:14
ClassResNet3D
Meta architecture for 3D ResNet based models.
tadaconv/models/base/backbone.py:32
ClassSTConv3d
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
ClassSimpleLocalizationConv
Backbone architecture for temporal action localization, which only contains three simple convs.
tadaconv/models/base/backbone.py:183
ClassSlowFastHead
Constructs head for the SlowFast Networks.
tadaconv/models/module_zoo/heads/slowfast_head.py:14
ClassSlowFastHeadx2
SlowFast Head for EPIC-KITCHENS dataset.
tadaconv/models/module_zoo/heads/slowfast_head.py:107
ClassSlowfast
Constructs SlowFast model. Christoph Feichtenhofer, Haoqi Fan, Jitendra Malik, and Kaiming He. "SlowFast networks for video recognit
tadaconv/models/base/slowfast.py:14
ClassSlowfastBranch
Constructs SlowFast conv branch. See Christoph Feichtenhofer et al. SlowFast Networks for Video Recognition.
tadaconv/models/module_zoo/branches/slowfast_branch.py:14
ClassSoftTargetCrossEntropy
tadaconv/models/utils/losses.py:19
ClassSsv2
tadaconv/datasets/base/ssv2.py:22
ClassTAda2DBlock
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
ClassTAdaBlock
tadaconv/models/module_zoo/branches/tadaformer.py:61
ClassTAdaBlockTempEnhanced
r""" TAdaFormer Block. Args: cfg (Config): the global config object.
tadaconv/models/module_zoo/branches/tadaformer.py:17
ClassTAdaConv3d
Performs temporally adaptive 3D convolution.
tadaconv/models/module_zoo/ops/tadaconv.py:158
ClassTAdaConvNeXtV2Block
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
ClassTAdaFormerBlock
Transformer layer for (L, N, D) input. Modified from CLIP.
tadaconv/models/module_zoo/branches/tadaformer.py:87
ClassTimesformerLayer
tadaconv/models/base/transformer.py:178
ClassTransformer
tadaconv/models/base/transformer.py:222
ClassTransformerHead
Construct head for video vision transformers.
tadaconv/models/module_zoo/heads/transformer_head.py:16
ClassTransformerHeadx2
The Transformer head for EPIC-KITCHENS dataset.
tadaconv/models/module_zoo/heads/transformer_head.py:77
ClassTubeletEmbeddingStem
Video to Tubelet Embedding.
tadaconv/models/module_zoo/stems/embedding_stem.py:59
ClassUcf101
tadaconv/datasets/base/ucf101.py:22
ClassVisionTransformer
tadaconv/models/base/backbone.py:220
ClassZeroShotCollate
tadaconv/datasets/utils/collate_functions.py:14