MCPcopy Create free account

hub / github.com/ChenHsing/SVFormer / types & classes

Types & classes103 in github.com/ChenHsing/SVFormer

↓ 13 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
timesformer/utils/meters.py:197
↓ 4 callersClassFuseFastToSlow
Fuses the information from the Fast pathway to the Slow pathway. Given the tensors from Slow pathway and Fast pathway, fuse information from
timesformer/models/video_model_builder.py:92
↓ 3 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
timesformer/models/vit_utils.py:155
↓ 2 callersClassAttention
timesformer/models/vit.py:64
↓ 2 callersClassAttention
timesformer/models/bottle.py:59
↓ 2 callersClassAttention
timesformer/models/cross_view.py:59
↓ 2 callersClassBlock
timesformer/models/vit.py:96
↓ 2 callersClassFeatureInfo
timesformer/models/features.py:12
↓ 2 callersClassObjectDetectionEvaluation
Internal implementation of Pascal object detection metrics.
timesformer/utils/ava_evaluation/object_detection_evaluation.py:526
↓ 2 callersClassPatchEmbed
Image to Patch Embedding
timesformer/models/vit.py:162
↓ 2 callersClassSwish
Swish activation function: x * sigmoid(x).
timesformer/models/operators.py:9
↓ 2 callersClassTrainMeter
Measure training stats.
timesformer/utils/meters.py:248
↓ 2 callersClassValMeter
Measures validation stats.
timesformer/utils/meters.py:578
↓ 1 callersClassAugmentOp
Apply for video.
timesformer/datasets/rand_augment.py:337
↓ 1 callersClassBlock
timesformer/models/bottle.py:127
↓ 1 callersClassBlock
timesformer/models/cross_view.py:127
↓ 1 callersClassConv2dSame
Tensorflow like 'SAME' convolution wrapper for 2D convolutions
timesformer/models/conv2d_same.py:54
↓ 1 callersClassCrossAttention
timesformer/models/cross_view.py:92
↓ 1 callersClassFeatureHooks
Feature Hook Helper This module helps with the setup and extraction of hooks for extracting features from internal nodes in a model by node n
timesformer/models/features.py:76
↓ 1 callersClassGetWeightAndActivation
A class used to get weights and activations from specified layers from a Pytorch model.
timesformer/visualization/utils.py:157
↓ 1 callersClassLinear
timesformer/models/linear.py:7
↓ 1 callersClassMlp
timesformer/models/vit.py:45
↓ 1 callersClassMlp
timesformer/models/bottle.py:40
↓ 1 callersClassMlp
timesformer/models/cross_view.py:40
↓ 1 callersClassModelEma
Model Exponential Moving Average (DEPRECATED) Keep a moving average of everything in the model state_dict (parameters and buffers). This
timesformer/utils/ema.py:15
↓ 1 callersClassMultigridSchedule
This class defines multigrid training schedule and update cfg accordingly.
timesformer/utils/multigrid.py:12
↓ 1 callersClassNonlocal
Builds Non-local Neural Networks as a generic family of building blocks for capturing long-range dependencies. Non-local Network computes
timesformer/models/nonlocal_helper.py:9
↓ 1 callersClassPatchEmbed
Image to Patch Embedding
timesformer/models/bottle.py:207
↓ 1 callersClassPatchEmbed
Image to Patch Embedding
timesformer/models/cross_view.py:200
↓ 1 callersClassRandAugment
timesformer/datasets/rand_augment.py:462
↓ 1 callersClassRandomErasing
Randomly selects a rectangle region in an image and erases its pixels. 'Random Erasing Data Augmentation' by Zhong et al. See https://
timesformer/datasets/random_erasing.py:27
↓ 1 callersClassRandomResizedCropAndInterpolation
Crop the given PIL Image to random size and aspect ratio with random interpolation. A crop of random size (default: of 0.08 to 1.0) of the origin
timesformer/datasets/video_transform.py:692
↓ 1 callersClassResBlock
Residual block.
timesformer/models/resnet_helper.py:399
↓ 1 callersClassSE
Squeeze-and-Excitation (SE) block w/ Swish: AvgPool, FC, Swish, FC, Sigmoid.
timesformer/models/operators.py:35
↓ 1 callersClassShortCycleBatchSampler
Extend Sampler to support "short cycle" sampling. See paper "A Multigrid Method for Efficiently Training Video Models", Wu et al., 2019 (
timesformer/datasets/multigrid_helper.py:10
↓ 1 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
timesformer/utils/meters.py:20
↓ 1 callersClassTrainer
tools/submit.py:100
↓ 1 callersClassTubeMasking
tools/train_net_emamix.py:31
↓ 1 callersClassTubeMasking
timesformer/datasets/unlabel2.py:45
↓ 1 callersClassTubeMasking
timesformer/datasets/unlabel.py:22
↓ 1 callersClassUnlabelMeter
Measure training stats.
timesformer/utils/meters.py:409
↓ 1 callersClassVisionTransformer
Vision Transformere
timesformer/models/vit.py:200
↓ 1 callersClassVisionTransformer_base
Vision Transformere
timesformer/models/vit.py:340
↓ 1 callersClassVisionTransformer_slow
Vision Transformere
timesformer/models/bottle.py:229
↓ 1 callersClassVisionTransformer_slow
Vision Transformere
timesformer/models/cross_view.py:222
ClassBasicTransform
Basic transformation: Tx3x3, 1x3x3, where T is the size of temporal kernel.
timesformer/models/resnet_helper.py:37
ClassBottleneckTransform
Bottleneck transformation: Tx1x1, 1x3x3, 1x1x1, where T is the size of temporal kernel.
timesformer/models/resnet_helper.py:263
ClassBoxList
Box collection. BoxList represents a list of bounding boxes as numpy array, where each bounding box is represented as a row of 4 numbers, [y_mi
timesformer/utils/ava_evaluation/np_box_list.py:27
ClassBoxListFields
Naming conventions for BoxLists. Attributes: boxes: bounding box coordinates. classes: classes per bounding box. scores: scores per bou
timesformer/utils/ava_evaluation/standard_fields.py:126
ClassBoxMaskList
Convenience wrapper for BoxList with masks. BoxMaskList extends the np_box_list.BoxList to contain masks as well. In particular, its constructor
timesformer/utils/ava_evaluation/np_box_mask_list.py:29
ClassCenterCrop
Extract center crop at the same location for a list of images Args: size (sequence or int): Desired output size for the crop in format
timesformer/datasets/video_transform.py:1128
ClassColorJitter
Randomly change the brightness, contrast and saturation and hue of the clip Args: brightness (float): How much to jitter brightness. brightn
timesformer/datasets/video_transform.py:1172
ClassCompose
Composes several transforms Args: transforms (list of ``Transform`` objects): list of transforms to compose
timesformer/datasets/video_transform.py:902
ClassCrossAttention
timesformer/models/bottle.py:92
ClassDemo
Kinetics video loader. Construct the Kinetics video loader, then sample clips from the videos. For training and validation, a single clip i
timesformer/datasets/demo.py:19
ClassDetectionEvaluator
Interface for object detection evalution classes. Example usage of the Evaluator: ------------------------------ evaluator = DetectionEvaluator
timesformer/utils/ava_evaluation/object_detection_evaluation.py:44
ClassDetectionResultFields
Naming conventions for storing the output of the detector. Attributes: source_id: source of the original image. key: unique key correspondi
timesformer/utils/ava_evaluation/standard_fields.py:100
ClassFeatureDictNet
Feature extractor with OrderedDict return Wrap a model and extract features as specified by the out indices, the network is partially re-buil
timesformer/models/features.py:144
ClassFeatureHookNet
FeatureHookNet Wrap a model and extract features specified by the out indices using forward/forward-pre hooks. If `no_rewrite` is True, featu
timesformer/models/features.py:221
ClassFeatureListNet
Feature extractor with list return See docstring for FeatureDictNet above, this class exists only to appease Torchscript typing constraints.
timesformer/models/features.py:205
ClassGroupGather
GroupGather performs all gather on each of the local process/ GPU groups.
timesformer/models/batchnorm_helper.py:111
ClassImage
Kinetics video loader. Construct the Kinetics video loader, then sample clips from the videos. For training and validation, a single clip i
timesformer/datasets/image.py:57
ClassInputDataFields
Names for the input tensors. Holds the standard data field names to use for identifying input tensors. This should be used by the decoder to iden
timesformer/utils/ava_evaluation/standard_fields.py:35
ClassKinetics
Kinetics video loader. Construct the Kinetics video loader, then sample clips from the videos. For training and validation, a single clip is
timesformer/datasets/kinetics.py:19
ClassModelEmaV2
Model Exponential Moving Average V2 Keep a moving average of everything in the model state_dict (parameters and buffers). V2 of this modu
timesformer/utils/ema.py:82
ClassNaiveSyncBatchNorm3d
timesformer/models/batchnorm_helper.py:173
ClassNormalize
Normalize a clip with mean and standard deviation. Given mean: ``(M1,...,Mn)`` and std: ``(S1,..,Sn)`` for ``n`` channels, this transform wi
timesformer/datasets/video_transform.py:1255
ClassObjectDetectionEvaluator
A class to evaluate detections.
timesformer/utils/ava_evaluation/object_detection_evaluation.py:107
ClassOpenImagesDetectionEvaluator
A class to evaluate detections using Open Images V2 metrics. Open Images V2 introduce group_of type of bounding boxes and this metric handles
timesformer/utils/ava_evaluation/object_detection_evaluation.py:429
ClassPascalDetectionEvaluator
A class to evaluate detections using PASCAL metrics.
timesformer/utils/ava_evaluation/object_detection_evaluation.py:353
ClassPascalInstanceSegmentationEvaluator
A class to evaluate instance masks using PASCAL metrics.
timesformer/utils/ava_evaluation/object_detection_evaluation.py:390
ClassPerImageEvaluation
Evaluate detection result of a single image.
timesformer/utils/ava_evaluation/per_image_evaluation.py:39
ClassRandomCrop
Extract random crop at the same location for a list of images Args: size (sequence or int): Desired output size for the crop in format
timesformer/datasets/video_transform.py:994
ClassRandomHorizontalFlip
Horizontally flip the list of given images randomly with a probability 0.5
timesformer/datasets/video_transform.py:918
ClassRandomResize
Resizes a list of (H x W x C) numpy.ndarray to the final size The larger the original image is, the more times it takes to interpolate
timesformer/datasets/video_transform.py:944
ClassRandomRotation
Rotate entire clip randomly by a random angle within given bounds Args: degrees (sequence or int): Range of degrees to select from
timesformer/datasets/video_transform.py:1085
ClassResNet
ResNet model builder. It builds a ResNet like network backbone without lateral connection (C2D, I3D, Slow). Christoph Feichtenhofer, Hao
timesformer/models/video_model_builder.py:426
ClassResNetBasicHead
ResNe(X)t 3D head. This layer performs a fully-connected projection during training, when the input size is 1x1x1. It performs a convolut
timesformer/models/head_helper.py:11
ClassResNetBasicStem
ResNe(X)t 3D stem module. Performs spatiotemporal Convolution, BN, and Relu following by a spatiotemporal pooling.
timesformer/models/stem_helper.py:117
ClassResStage
Stage of 3D ResNet. It expects to have one or more tensors as input for single pathway (C2D, I3D, Slow), and multi-pathway (SlowFast) cas
timesformer/models/resnet_helper.py:539
ClassResize
Resizes a list of (H x W x C) numpy.ndarray to the final size The larger the original image is, the more times it takes to interpolate
timesformer/datasets/video_transform.py:974
ClassSlowFast
SlowFast model builder for SlowFast network. Christoph Feichtenhofer, Haoqi Fan, Jitendra Malik, and Kaiming He. "SlowFast networks for v
timesformer/models/video_model_builder.py:786
ClassSomething
Kinetics video loader. Construct the Kinetics video loader, then sample clips from the videos. For training and validation, a single clip i
timesformer/datasets/something.py:19
ClassSortOrder
Enum class for sort order. Attributes: ascend: ascend order. descend: descend order.
timesformer/utils/ava_evaluation/np_box_list_ops.py:33
ClassSsv2
Something-Something v2 (SSV2) video loader. Construct the SSV2 video loader, then sample clips from the videos. For training and validation,
timesformer/datasets/ssv2.py:21
ClassSubBatchNorm3d
The standard BN layer computes stats across all examples in a GPU. In some cases it is desirable to compute stats across only a subset of exa
timesformer/models/batchnorm_helper.py:36
ClassSwishEfficient
Swish activation function: x * sigmoid(x).
timesformer/models/operators.py:19
ClassTaskInfo
timesformer/visualization/utils.py:342
ClassTensorboardWriter
Helper class to log information to Tensorboard.
timesformer/visualization/tensorboard_vis.py:19
ClassTfExampleFields
TF-example proto feature names for object detection. Holds the standard feature names to load from an Example proto for object detection. Attr
timesformer/utils/ava_evaluation/standard_fields.py:152
ClassThreeCrop
Extract random crop at the same location for a list of images Args: size (sequence or int): Desired output size for the crop in format
timesformer/datasets/video_transform.py:1038
ClassTubeMaskingGenerator
timesformer/datasets/unlabel2.py:20
ClassUnlabel
Kinetics video loader. Construct the Kinetics video loader, then sample clips from the videos. For training and validation, a single clip i
timesformer/datasets/unlabel.py:68
ClassUnlabel2
Kinetics video loader. Construct the Kinetics video loader, then sample clips from the videos. For training and validation, a single clip is
timesformer/datasets/unlabel2.py:91
ClassVideoModelStem
Video 3D stem module. Provides stem operations of Conv, BN, ReLU, MaxPool on input data tensor for one or multiple pathways.
timesformer/models/stem_helper.py:19
ClassWeightedPascalDetectionEvaluator
A class to evaluate detections using weighted PASCAL metrics. Weighted PASCAL metrics computes the mean average precision as the average precisio
timesformer/utils/ava_evaluation/object_detection_evaluation.py:366
ClassWeightedPascalInstanceSegmentationEvaluator
A class to evaluate instance masks using weighted PASCAL metrics. Weighted PASCAL metrics computes the mean average precision as the average prec
timesformer/utils/ava_evaluation/object_detection_evaluation.py:404
ClassX3D
X3D model builder. It builds a X3D network backbone, which is a ResNet. Christoph Feichtenhofer. "X3D: Expanding Architectures for Effic
timesformer/models/video_model_builder.py:625
ClassX3DHead
X3D head. This layer performs a fully-connected projection during training, when the input size is 1x1x1. It performs a convolutional pro
timesformer/models/head_helper.py:101
ClassX3DStem
X3D's 3D stem module. Performs a spatial followed by a depthwise temporal Convolution, BN, and Relu following by a spatiotemporal poo
timesformer/models/stem_helper.py:196
next →1–100 of 103, ranked by callers