MCPcopy Create free account

hub / github.com/OpenGVLab/UniFormerV2 / types & classes

Types & classes124 in github.com/OpenGVLab/UniFormerV2

↓ 6 callersClassDictToTuple
Transform for converting output from dict to a tuple following PySlowFast dataset output format.
slowfast/datasets/ptv_datasets.py:108
↓ 6 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
slowfast/models/common.py:62
↓ 6 callersClassPackPathway
Transform for converting video frames as a list of tensors. Each tensor corresponding to a unique pathway.
slowfast/datasets/ptv_datasets.py:94
↓ 6 callersClassRandomErasing
Randomly selects a rectangle region in an image and erases its pixels. 'Random Erasing Data Augmentation' by Zhong et al. See https://
slowfast/datasets/random_erasing.py:34
↓ 6 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
slowfast/utils/meters.py:407
↓ 6 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
slowfast/utils/meters_co.py:407
↓ 5 callersClassLayerNorm
Subclass torch's LayerNorm to handle fp16.
extract_clip/model.py:157
↓ 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
slowfast/models/video_model_builder.py:96
↓ 3 callersClassAVAMeter
Measure the AVA train, val, and test stats.
slowfast/utils/meters.py:46
↓ 3 callersClassAttention
slowfast/models/uniformer.py:68
↓ 3 callersClassLayerNorm
Subclass torch's LayerNorm to handle fp16.
slowfast/models/uniformerv2_model.py:26
↓ 3 callersClassPTVDatasetWrapper
Wrapper for PyTorchVideo datasets.
slowfast/datasets/ptv_datasets.py:42
↓ 3 callersClassPatchEmbed
Image to Patch Embedding
slowfast/models/uniformer.py:228
↓ 3 callersClassVisionTransformer
slowfast/models/uniformerv2_model.py:277
↓ 2 callersClassBottleneck
extract_clip/model.py:10
↓ 2 callersClassCBlock
slowfast/models/uniformer.py:115
↓ 2 callersClassLocal_MHRA
slowfast/models/uniformerv2_model.py:40
↓ 2 callersClassMlp
slowfast/models/uniformer.py:49
↓ 2 callersClassObjectDetectionEvaluation
Internal implementation of Pascal object detection metrics.
slowfast/utils/ava_evaluation/object_detection_evaluation.py:534
↓ 2 callersClassQuickGELU
slowfast/models/uniformerv2_model.py:35
↓ 2 callersClassSABlock
slowfast/models/uniformer.py:137
↓ 2 callersClassSplitSABlock
slowfast/models/uniformer.py:163
↓ 2 callersClassSwish
Swish activation function: x * sigmoid(x).
slowfast/models/operators.py:10
↓ 2 callersClassTaskInfo
slowfast/visualization/utils.py:343
↓ 2 callersClassTrainMeter
Measure training stats.
slowfast/utils/meters.py:458
↓ 2 callersClassTransformer
extract_clip/model.py:195
↓ 2 callersClassValMeter
Measures validation stats.
slowfast/utils/meters.py:602
↓ 2 callersClass_StopToken
slowfast/visualization/async_predictor.py:233
↓ 1 callersClassAsycnActionPredictor
slowfast/visualization/async_predictor.py:17
↓ 1 callersClassAttentionPool2d
extract_clip/model.py:58
↓ 1 callersClassAugmentOp
Apply for video.
slowfast/datasets/rand_augment.py:339
↓ 1 callersClassCLIP
extract_clip/model.py:243
↓ 1 callersClassCMlp
slowfast/models/uniformer.py:96
↓ 1 callersClassCharades
Charades video loader. Construct the Charades video loader, then sample clips from the videos. For training and validation, a single clip is
slowfast/datasets/charades.py:20
↓ 1 callersClassEpochTimer
A timer which computes the epoch time.
slowfast/utils/meters.py:781
↓ 1 callersClassExtractor
slowfast/models/uniformerv2_model.py:131
↓ 1 callersClassGetWeightAndActivation
A class used to get weights and activations from specified layers from a Pytorch model.
slowfast/visualization/utils.py:158
↓ 1 callersClassGradCAM
GradCAM class helps create localization maps using the Grad-CAM method for input videos and overlap the maps over the input videos as heatmap
slowfast/visualization/gradcam_utils.py:13
↓ 1 callersClassMixUp
Apply mixup and/or cutmix for videos at batch level. mixup: Beyond Empirical Risk Minimization (https://arxiv.org/abs/1710.09412) CutMix:
slowfast/datasets/mixup.py:109
↓ 1 callersClassMlp
slowfast/models/common.py:7
↓ 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
slowfast/utils/ema.py:73
↓ 1 callersClassModifiedResNet
A ResNet class that is similar to torchvision's but contains the following changes: - There are now 3 "stem" convolutions as opposed to 1, wi
extract_clip/model.py:94
↓ 1 callersClassMultiScaleAttention
slowfast/models/attention.py:49
↓ 1 callersClassMultiScaleBlock
slowfast/models/attention.py:206
↓ 1 callersClassMultigridSchedule
This class defines multigrid training schedule and update cfg accordingly.
slowfast/utils/multigrid.py:13
↓ 1 callersClassNonlocal
Builds Non-local Neural Networks as a generic family of building blocks for capturing long-range dependencies. Non-local Network computes
slowfast/models/nonlocal_helper.py:10
↓ 1 callersClassPredictor
Action Predictor for action recognition.
slowfast/visualization/predictor.py:20
↓ 1 callersClassQuickGELU
extract_clip/model.py:166
↓ 1 callersClassRandAugment
slowfast/datasets/rand_augment.py:464
↓ 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 origina
slowfast/datasets/transform.py:728
↓ 1 callersClassResBlock
Residual block.
slowfast/models/resnet_helper.py:390
↓ 1 callersClassResidualAttentionBlock
extract_clip/model.py:171
↓ 1 callersClassResidualAttentionBlock
slowfast/models/uniformerv2_model.py:62
↓ 1 callersClassSE
Squeeze-and-Excitation (SE) block w/ Swish: AvgPool, FC, Swish, FC, Sigmoid.
slowfast/models/operators.py:36
↓ 1 callersClassShortCycleBatchSampler
Extend Sampler to support "short cycle" sampling. See paper "A Multigrid Method for Efficiently Training Video Models", Wu et al., 2019 (
slowfast/datasets/multigrid_helper.py:19
↓ 1 callersClassSpeicalPatchEmbed
Image to Patch Embedding
slowfast/models/uniformer.py:201
↓ 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
slowfast/utils/meters.py:231
↓ 1 callersClassTransformer
slowfast/models/uniformerv2_model.py:185
↓ 1 callersClassVisionTransformer
extract_clip/model.py:206
ClassAVAMeter
Measure the AVA train, val, and test stats.
slowfast/utils/meters_co.py:46
ClassAVAVisualizerWithPrecomputedBox
Visualize action predictions for videos or folder of images with precomputed and ground-truth boxes in AVA format.
slowfast/visualization/ava_demo_precomputed_boxes.py:24
ClassAnet
ANet video loader. Construct the ANet video loader, then sample clips from the videos. For training and validation, a single clip is rand
slowfast/datasets/anet.py:23
ClassAsyncDemo
Asynchronous Action Prediction and Visualization pipeline with AsyncVis.
slowfast/visualization/async_predictor.py:237
ClassAsyncVis
slowfast/visualization/async_predictor.py:126
ClassAva
AVA Dataset
slowfast/datasets/ava_dataset.py:18
ClassBasicTransform
Basic transformation: Tx3x3, 1x3x3, where T is the size of temporal kernel.
slowfast/models/resnet_helper.py:29
ClassBottleneckTransform
Bottleneck transformation: Tx1x1, 1x3x3, 1x1x1, where T is the size of temporal kernel.
slowfast/models/resnet_helper.py:256
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,
slowfast/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
slowfast/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 construc
slowfast/utils/ava_evaluation/np_box_mask_list.py:29
ClassDetectionEvaluator
Interface for object detection evalution classes. Example usage of the Evaluator: ------------------------------ evaluator = DetectionEva
slowfast/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 corre
slowfast/utils/ava_evaluation/standard_fields.py:100
ClassEpochTimer
A timer which computes the epoch time.
slowfast/utils/meters_co.py:790
ClassGroupGather
GroupGather performs all gather on each of the local process/ GPU groups.
slowfast/models/batchnorm_helper.py:112
ClassImagenet
ImageNet dataset.
slowfast/datasets/imagenet.py:32
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
slowfast/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
slowfast/datasets/kinetics.py:24
ClassKinetics_sparse
Kinetics video loader. Construct the Kinetics video loader, then sample clips from the videos. For training and validation, a single clip is
slowfast/datasets/kinetics_sparse.py:24
ClassMViT
Multiscale Vision Transformers Haoqi Fan, Bo Xiong, Karttikeya Mangalam, Yanghao Li, Zhicheng Yan, Jitendra Malik, Christoph Feichtenhofer
slowfast/models/video_model_builder.py:765
ClassMit
MiT video loader. Construct the MiT video loader, then sample clips from the videos. For training and validation, a single clip is random
slowfast/datasets/mit.py:23
ClassModelEma
Model Exponential Moving Average (DEPRECATED) Keep a moving average of everything in the model state_dict (parameters and buffers). This vers
slowfast/utils/ema.py:14
ClassNaiveSyncBatchNorm3d
slowfast/models/batchnorm_helper.py:174
ClassObjectDetectionEvaluator
A class to evaluate detections.
slowfast/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
slowfast/utils/ava_evaluation/object_detection_evaluation.py:433
ClassPTVCSN
CSN models using PyTorchVideo model builder.
slowfast/models/ptv_model_builder.py:521
ClassPTVR2plus1D
R(2+1)D models using PyTorchVideo model builder.
slowfast/models/ptv_model_builder.py:606
ClassPTVResNet
ResNet models using PyTorchVideo model builder.
slowfast/models/ptv_model_builder.py:56
ClassPTVSlowFast
slowfast/models/ptv_model_builder.py:223
ClassPTVX3D
slowfast/models/ptv_model_builder.py:428
ClassPascalDetectionEvaluator
A class to evaluate detections using PASCAL metrics.
slowfast/utils/ava_evaluation/object_detection_evaluation.py:357
ClassPascalInstanceSegmentationEvaluator
A class to evaluate instance masks using PASCAL metrics.
slowfast/utils/ava_evaluation/object_detection_evaluation.py:394
ClassPatchEmbed
PatchEmbed.
slowfast/models/stem_helper.py:290
ClassPerImageEvaluation
Evaluate detection result of a single image.
slowfast/utils/ava_evaluation/per_image_evaluation.py:39
ClassPermute
slowfast/models/common.py:37
ClassResNet
ResNet model builder. It builds a ResNet like network backbone without lateral connection (C2D, I3D, Slow). Christoph Feichtenhofer, Hao
slowfast/models/video_model_builder.py:423
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
slowfast/models/head_helper.py:133
ClassResNetBasicStem
ResNe(X)t 3D stem module. Performs spatiotemporal Convolution, BN, and Relu following by a spatiotemporal pooling.
slowfast/models/stem_helper.py:125
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
slowfast/models/resnet_helper.py:519
ClassSimpleTokenizer
extract_clip/simple_tokenizer.py:62
ClassSlowFast
SlowFast model builder for SlowFast network. Christoph Feichtenhofer, Haoqi Fan, Jitendra Malik, and Kaiming He. "SlowFast networks for
slowfast/models/video_model_builder.py:157
next →1–100 of 124, ranked by callers