Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BCV-Uniandes/TAPIR
/ types & classes
Types & classes
59 in github.com/BCV-Uniandes/TAPIR
⨍
Functions
422
◇
Types & classes
59
↓ 4 callers
Class
FuseFastToSlow
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:104
↓ 2 callers
Class
DropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
slowfast/models/common.py:62
↓ 2 callers
Class
ObjectDetectionEvaluation
Internal implementation of Pascal object detection metrics.
slowfast/evaluate/ava_evaluation/object_detection_evaluation.py:526
↓ 2 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
slowfast/utils/meters.py:333
↓ 2 callers
Class
SurgeryMeter
Measure the PSI-AVA train, val, and test stats.
slowfast/utils/meters.py:44
↓ 2 callers
Class
Swish
Swish activation function: x * sigmoid(x).
slowfast/models/operators.py:10
↓ 1 callers
Class
BasicLayer
A basic Swin Transformer layer for one stage. Args: dim (int): Number of feature channels depth (int): Depths of this stage.
slowfast/models/swin_transformer.py:339
↓ 1 callers
Class
EpochTimer
A timer which computes the epoch time.
slowfast/utils/meters.py:411
↓ 1 callers
Class
Mlp
Multilayer perceptron.
slowfast/models/swin_transformer.py:24
↓ 1 callers
Class
Mlp
slowfast/models/common.py:7
↓ 1 callers
Class
MultiScaleAttention
slowfast/models/attention.py:49
↓ 1 callers
Class
MultiScaleBlock
slowfast/models/attention.py:266
↓ 1 callers
Class
Nonlocal
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 callers
Class
PatchEmbed3D
Video to Patch Embedding. Args: patch_size (int): Patch token size. Default: (2,4,4). in_chans (int): Number of input video chan
slowfast/models/swin_transformer.py:423
↓ 1 callers
Class
ResBlock
Residual block.
slowfast/models/resnet_helper.py:390
↓ 1 callers
Class
SE
Squeeze-and-Excitation (SE) block w/ Swish: AvgPool, FC, Swish, FC, Sigmoid.
slowfast/models/operators.py:36
↓ 1 callers
Class
SwinTransformerBlock3D
Swin Transformer Block. Args: dim (int): Number of input channels. num_heads (int): Number of attention heads. window_si
slowfast/models/swin_transformer.py:179
↓ 1 callers
Class
TaskMeter
A task meter uses a deque to track a series of scaler values with a given window size. It supports calculating the median and average values
slowfast/utils/meters.py:276
↓ 1 callers
Class
WindowAttention3D
Window based multi-head self attention (W-MSA) module with relative position bias. It supports both of shifted and non-shifted window. Args:
slowfast/models/swin_transformer.py:94
Class
Ava
We adapt the AVA Dataset management in Slowfast to manage PSI-AVA database.
slowfast/datasets/ava_dataset.py:21
Class
BasicTransform
Basic transformation: Tx3x3, 1x3x3, where T is the size of temporal kernel.
slowfast/models/resnet_helper.py:29
Class
BottleneckTransform
Bottleneck transformation: Tx1x1, 1x3x3, 1x1x1, where T is the size of temporal kernel.
slowfast/models/resnet_helper.py:256
Class
BoxList
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
slowfast/evaluate/ava_evaluation/np_box_list.py:27
Class
BoxListFields
Naming conventions for BoxLists. Attributes: boxes: bounding box coordinates. classes: classes per bounding box. scores: scores per bou
slowfast/evaluate/ava_evaluation/standard_fields.py:126
Class
BoxMaskList
Convenience wrapper for BoxList with masks. BoxMaskList extends the np_box_list.BoxList to contain masks as well. In particular, its constructor
slowfast/evaluate/ava_evaluation/np_box_mask_list.py:29
Class
DetectionEvaluator
Interface for object detection evalution classes. Example usage of the Evaluator: ------------------------------ evaluator = DetectionEvaluator
slowfast/evaluate/ava_evaluation/object_detection_evaluation.py:44
Class
DetectionResultFields
Naming conventions for storing the output of the detector. Attributes: source_id: source of the original image. key: unique key correspondi
slowfast/evaluate/ava_evaluation/standard_fields.py:100
Class
GroupGather
GroupGather performs all gather on each of the local process/ GPU groups.
slowfast/models/batchnorm_helper.py:112
Class
InputDataFields
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
slowfast/evaluate/ava_evaluation/standard_fields.py:35
Class
MViT
Multiscale Vision Transformers Haoqi Fan, Bo Xiong, Karttikeya Mangalam, Yanghao Li, Zhicheng Yan, Jitendra Malik, Christoph Feichtenhofer
slowfast/models/video_model_builder.py:442
Class
MultigridSchedule
This class defines multigrid training schedule and update cfg accordingly.
slowfast/utils/multigrid.py:13
Class
NaiveSyncBatchNorm3d
slowfast/models/batchnorm_helper.py:174
Class
ObjectDetectionEvaluator
A class to evaluate detections.
slowfast/evaluate/ava_evaluation/object_detection_evaluation.py:107
Class
OpenImagesDetectionEvaluator
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/evaluate/ava_evaluation/object_detection_evaluation.py:429
Class
PascalDetectionEvaluator
A class to evaluate detections using PASCAL metrics.
slowfast/evaluate/ava_evaluation/object_detection_evaluation.py:353
Class
PascalInstanceSegmentationEvaluator
A class to evaluate instance masks using PASCAL metrics.
slowfast/evaluate/ava_evaluation/object_detection_evaluation.py:390
Class
PatchEmbed
PatchEmbed.
slowfast/models/stem_helper.py:292
Class
PatchMerging
Patch Merging Layer Args: dim (int): Number of input channels. norm_layer (nn.Module, optional): Normalization layer. Default:
slowfast/models/swin_transformer.py:284
Class
PerImageEvaluation
Evaluate detection result of a single image.
slowfast/evaluate/ava_evaluation/per_image_evaluation.py:39
Class
Permute
slowfast/models/common.py:37
Class
RandomResizedCropAndInterpolation
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:724
Class
ResNetBasicHead
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:148
Class
ResNetBasicStem
ResNe(X)t 3D stem module. Performs spatiotemporal Convolution, BN, and Relu following by a spatiotemporal pooling.
slowfast/models/stem_helper.py:127
Class
ResNetRoIHead
ResNe(X)t RoI head.
slowfast/models/head_helper.py:11
Class
ResStage
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
Class
SlowFast
SlowFast model builder for SlowFast network. Christoph Feichtenhofer, Haoqi Fan, Jitendra Malik, and Kaiming He. "SlowFast networks for
slowfast/models/video_model_builder.py:165
Class
SoftTargetCrossEntropy
Cross entropy loss with soft target.
slowfast/models/losses.py:11
Class
SortOrder
Enum class for sort order. Attributes: ascend: ascend order. descend: descend order.
slowfast/evaluate/ava_evaluation/np_box_list_ops.py:33
Class
SubBatchNorm3d
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
slowfast/models/batchnorm_helper.py:37
Class
SwishEfficient
Swish activation function: x * sigmoid(x).
slowfast/models/operators.py:20
Class
TfExampleFields
TF-example proto feature names for object detection. Holds the standard feature names to load from an Example proto for object detection. Attr
slowfast/evaluate/ava_evaluation/standard_fields.py:152
Class
TransformerBasicHead
BasicHead. No pool.
slowfast/models/head_helper.py:243
Class
TransformerRoIHead
Box classification head in TAPIR.
slowfast/models/head_helper.py:291
Class
VideoModelStem
Video 3D stem module. Provides stem operations of Conv, BN, ReLU, MaxPool on input data tensor for one or multiple pathways.
slowfast/models/stem_helper.py:20
Class
VideoSwinTransformer
Swin Transformer backbone. A PyTorch impl of : `Swin Transformer: Hierarchical Vision Transformer using Shifted Windows` - https:/
slowfast/models/swin_transformer.py:466
Class
WeightedPascalDetectionEvaluator
A class to evaluate detections using weighted PASCAL metrics. Weighted PASCAL metrics computes the mean average precision as the average precisio
slowfast/evaluate/ava_evaluation/object_detection_evaluation.py:366
Class
WeightedPascalInstanceSegmentationEvaluator
A class to evaluate instance masks using weighted PASCAL metrics. Weighted PASCAL metrics computes the mean average precision as the average prec
slowfast/evaluate/ava_evaluation/object_detection_evaluation.py:404
Class
X3DStem
X3D's 3D stem module. Performs a spatial followed by a depthwise temporal Convolution, BN, and Relu following by a spatiotemporal poo
slowfast/models/stem_helper.py:206
Class
X3DTransform
X3D transformation: 1x1x1, Tx3x3 (channelwise, num_groups=dim_in), 1x1x1, augmented with (optional) SE (squeeze-excitation) on the 3x3x3
slowfast/models/resnet_helper.py:115