Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MTLab/MorphMLP
/ types & classes
Types & classes
115 in github.com/MTLab/MorphMLP
⨍
Functions
764
◇
Types & classes
115
↓ 6 callers
Class
DictToTuple
Transform for converting output from dict to a tuple following PySlowFast dataset output format.
slowfast/datasets/ptv_datasets.py:108
↓ 6 callers
Class
PackPathway
Transform for converting video frames as a list of tensors. Each tensor corresponding to a unique pathway.
slowfast/datasets/ptv_datasets.py:94
↓ 6 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:407
↓ 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:105
↓ 4 callers
Class
Normalize
slowfast/models/contrastive.py:925
↓ 4 callers
Class
PermutatorBlock
slowfast/models/morphmlp_32.py:147
↓ 4 callers
Class
PermutatorBlock
slowfast/models/morphmlp.py:146
↓ 4 callers
Class
VideoVisualizer
slowfast/visualization/video_visualizer.py:349
↓ 3 callers
Class
AVAMeter
Measure the AVA train, val, and test stats.
slowfast/utils/meters.py:46
↓ 3 callers
Class
Downsample
Image to Patch Embedding
slowfast/models/morphmlp_32.py:192
↓ 3 callers
Class
Downsample
Image to Patch Embedding
slowfast/models/morphmlp.py:191
↓ 3 callers
Class
DropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
slowfast/models/common.py:62
↓ 3 callers
Class
MLPHead
slowfast/models/head_helper.py:146
↓ 3 callers
Class
Mlp
slowfast/models/morphmlp_32.py:17
↓ 3 callers
Class
Mlp
slowfast/models/morphmlp.py:19
↓ 3 callers
Class
PTVDatasetWrapper
Wrapper for PyTorchVideo datasets.
slowfast/datasets/ptv_datasets.py:42
↓ 3 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://
slowfast/datasets/random_erasing.py:34
↓ 2 callers
Class
Memory
slowfast/models/contrastive.py:939
↓ 2 callers
Class
ObjectDetectionEvaluation
Internal implementation of Pascal object detection metrics.
slowfast/utils/ava_evaluation/object_detection_evaluation.py:534
↓ 2 callers
Class
Predictor
Action Predictor for action recognition.
slowfast/visualization/predictor.py:20
↓ 2 callers
Class
TaskInfo
slowfast/visualization/utils.py:343
↓ 2 callers
Class
TrainMeter
Measure training stats.
slowfast/utils/meters.py:458
↓ 2 callers
Class
ValMeter
Measures validation stats.
slowfast/utils/meters.py:602
↓ 2 callers
Class
_StopToken
slowfast/visualization/async_predictor.py:233
↓ 1 callers
Class
AVAVisualizerWithPrecomputedBox
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
↓ 1 callers
Class
ActionPredictor
Synchronous Action Prediction and Visualization pipeline with AsyncVis.
slowfast/visualization/predictor.py:119
↓ 1 callers
Class
AsycnActionPredictor
slowfast/visualization/async_predictor.py:17
↓ 1 callers
Class
AsyncDemo
Asynchronous Action Prediction and Visualization pipeline with AsyncVis.
slowfast/visualization/async_predictor.py:237
↓ 1 callers
Class
AsyncVis
slowfast/visualization/async_predictor.py:126
↓ 1 callers
Class
AugmentOp
Apply for video.
slowfast/datasets/rand_augment.py:339
↓ 1 callers
Class
Charades
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 callers
Class
Detectron2Predictor
Wrapper around Detectron2 to return the required predicted bounding boxes as a ndarray.
slowfast/visualization/predictor.py:158
↓ 1 callers
Class
EpochTimer
A timer which computes the epoch time.
slowfast/utils/meters.py:771
↓ 1 callers
Class
GaussianBlur
Gaussian blur augmentation in SimCLR https://arxiv.org/abs/2002.05709
slowfast/datasets/transform.py:1003
↓ 1 callers
Class
GaussianBlurVideo
slowfast/datasets/transform.py:1018
↓ 1 callers
Class
GetWeightAndActivation
A class used to get weights and activations from specified layers from a Pytorch model.
slowfast/visualization/utils.py:158
↓ 1 callers
Class
GradCAM
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:12
↓ 1 callers
Class
ImgVisualizer
slowfast/visualization/video_visualizer.py:45
↓ 1 callers
Class
Memory1D
slowfast/models/contrastive.py:1044
↓ 1 callers
Class
MixUp
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 callers
Class
Mlp
slowfast/models/common.py:7
↓ 1 callers
Class
MorphFC_T
slowfast/models/morphmlp_32.py:115
↓ 1 callers
Class
MorphFC_T
slowfast/models/morphmlp.py:117
↓ 1 callers
Class
MultiScaleAttention
slowfast/models/attention.py:162
↓ 1 callers
Class
MultiScaleBlock
slowfast/models/attention.py:445
↓ 1 callers
Class
MultigridSchedule
This class defines multigrid training schedule and update cfg accordingly.
slowfast/utils/multigrid.py:13
↓ 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
PatchEmbed
Image to Patch Embedding
slowfast/models/morphmlp_32.py:172
↓ 1 callers
Class
PatchEmbed
Image to Patch Embedding
slowfast/models/morphmlp.py:171
↓ 1 callers
Class
RandAugment
slowfast/datasets/rand_augment.py:464
↓ 1 callers
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:695
↓ 1 callers
Class
ResBlock
Residual block.
slowfast/models/resnet_helper.py:397
↓ 1 callers
Class
SE
Squeeze-and-Excitation (SE) block w/ Swish: AvgPool, FC, Swish, FC, Sigmoid.
slowfast/models/operators.py:11
↓ 1 callers
Class
ShortCycleBatchSampler
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 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
slowfast/utils/meters.py:231
↓ 1 callers
Class
ThreadVideoManager
VideoManager object for getting frames from video source for inference using multithreading for read and write frames.
slowfast/visualization/demo_loader.py:147
↓ 1 callers
Class
VideoManager
VideoManager object for getting frames from video source for inference.
slowfast/visualization/demo_loader.py:17
↓ 1 callers
Class
WrongPredictionVis
WrongPredictionVis class for visualizing video inputs to Tensorboard for instances that the model makes wrong predictions.
slowfast/visualization/prediction_vis.py:16
Class
AllGatherWithGradient
AllGatherWithGradient
slowfast/utils/distributed.py:282
Class
Ava
AVA Dataset
slowfast/datasets/ava_dataset.py:18
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:261
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,
slowfast/utils/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
slowfast/utils/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 construc
slowfast/utils/ava_evaluation/np_box_mask_list.py:29
Class
ContrastiveLoss
slowfast/models/losses.py:16
Class
ContrastiveModel
Contrastive Model, currently mainly focused on memory bank and CSC.
slowfast/models/contrastive.py:34
Class
DetectionEvaluator
Interface for object detection evalution classes. Example usage of the Evaluator: ------------------------------ evaluator = DetectionEva
slowfast/utils/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 corre
slowfast/utils/ava_evaluation/standard_fields.py:100
Class
GatherLayer
Gather tensors from all process, supporting backward propagation.
slowfast/utils/distributed.py:264
Class
Imagenet
ImageNet dataset.
slowfast/datasets/imagenet.py:26
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
slowfast/utils/ava_evaluation/standard_fields.py:35
Class
Kinetics
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
Class
MViT
Model builder for MViTv1 and MViTv2. "MViTv2: Improved Multiscale Vision Transformers for Classification and Detection" Yanghao Li, Chao
slowfast/models/video_model_builder.py:803
Class
MorphFC_S
slowfast/models/morphmlp_32.py:74
Class
MorphFC_S
slowfast/models/morphmlp.py:76
Class
MorphFC_S2
slowfast/models/morphmlp_32.py:36
Class
MorphFC_S2
slowfast/models/morphmlp.py:38
Class
MorphMLP
MorphMLP
slowfast/models/morphmlp.py:207
Class
MorphMLP_32
MorphMLP
slowfast/models/morphmlp_32.py:208
Class
ObjectDetectionEvaluator
A class to evaluate detections.
slowfast/utils/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/utils/ava_evaluation/object_detection_evaluation.py:433
Class
PTVCSN
CSN models using PyTorchVideo model builder.
slowfast/models/ptv_model_builder.py:518
Class
PTVMViT
MViT models using PyTorchVideo model builder.
slowfast/models/ptv_model_builder.py:704
Class
PTVR2plus1D
R(2+1)D models using PyTorchVideo model builder.
slowfast/models/ptv_model_builder.py:603
Class
PTVResNet
ResNet models using PyTorchVideo model builder.
slowfast/models/ptv_model_builder.py:59
Class
PTVSlowFast
slowfast/models/ptv_model_builder.py:225
Class
PTVX3D
slowfast/models/ptv_model_builder.py:425
Class
PascalDetectionEvaluator
A class to evaluate detections using PASCAL metrics.
slowfast/utils/ava_evaluation/object_detection_evaluation.py:357
Class
PascalInstanceSegmentationEvaluator
A class to evaluate instance masks using PASCAL metrics.
slowfast/utils/ava_evaluation/object_detection_evaluation.py:394
Class
PatchEmbed
PatchEmbed.
slowfast/models/stem_helper.py:292
Class
PerImageEvaluation
Evaluate detection result of a single image.
slowfast/utils/ava_evaluation/per_image_evaluation.py:39
Class
Permute
slowfast/models/common.py:37
Class
ResNet
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:440
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:197
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:16
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:526
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:166
Class
SortOrder
Enum class for sort order. Attributes: ascend: ascend order. descend: descend order.
slowfast/utils/ava_evaluation/np_box_list_ops.py:33
next →
1–100 of 115, ranked by callers