MCPcopy Create free account

hub / github.com/MTLab/MorphMLP / types & classes

Types & classes115 in github.com/MTLab/MorphMLP

↓ 6 callersClassDictToTuple
Transform for converting output from dict to a tuple following PySlowFast dataset output format.
slowfast/datasets/ptv_datasets.py:108
↓ 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 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
↓ 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:105
↓ 4 callersClassNormalize
slowfast/models/contrastive.py:925
↓ 4 callersClassPermutatorBlock
slowfast/models/morphmlp_32.py:147
↓ 4 callersClassPermutatorBlock
slowfast/models/morphmlp.py:146
↓ 4 callersClassVideoVisualizer
slowfast/visualization/video_visualizer.py:349
↓ 3 callersClassAVAMeter
Measure the AVA train, val, and test stats.
slowfast/utils/meters.py:46
↓ 3 callersClassDownsample
Image to Patch Embedding
slowfast/models/morphmlp_32.py:192
↓ 3 callersClassDownsample
Image to Patch Embedding
slowfast/models/morphmlp.py:191
↓ 3 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
slowfast/models/common.py:62
↓ 3 callersClassMLPHead
slowfast/models/head_helper.py:146
↓ 3 callersClassMlp
slowfast/models/morphmlp_32.py:17
↓ 3 callersClassMlp
slowfast/models/morphmlp.py:19
↓ 3 callersClassPTVDatasetWrapper
Wrapper for PyTorchVideo datasets.
slowfast/datasets/ptv_datasets.py:42
↓ 3 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
↓ 2 callersClassMemory
slowfast/models/contrastive.py:939
↓ 2 callersClassObjectDetectionEvaluation
Internal implementation of Pascal object detection metrics.
slowfast/utils/ava_evaluation/object_detection_evaluation.py:534
↓ 2 callersClassPredictor
Action Predictor for action recognition.
slowfast/visualization/predictor.py:20
↓ 2 callersClassTaskInfo
slowfast/visualization/utils.py:343
↓ 2 callersClassTrainMeter
Measure training stats.
slowfast/utils/meters.py:458
↓ 2 callersClassValMeter
Measures validation stats.
slowfast/utils/meters.py:602
↓ 2 callersClass_StopToken
slowfast/visualization/async_predictor.py:233
↓ 1 callersClassAVAVisualizerWithPrecomputedBox
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 callersClassActionPredictor
Synchronous Action Prediction and Visualization pipeline with AsyncVis.
slowfast/visualization/predictor.py:119
↓ 1 callersClassAsycnActionPredictor
slowfast/visualization/async_predictor.py:17
↓ 1 callersClassAsyncDemo
Asynchronous Action Prediction and Visualization pipeline with AsyncVis.
slowfast/visualization/async_predictor.py:237
↓ 1 callersClassAsyncVis
slowfast/visualization/async_predictor.py:126
↓ 1 callersClassAugmentOp
Apply for video.
slowfast/datasets/rand_augment.py:339
↓ 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 callersClassDetectron2Predictor
Wrapper around Detectron2 to return the required predicted bounding boxes as a ndarray.
slowfast/visualization/predictor.py:158
↓ 1 callersClassEpochTimer
A timer which computes the epoch time.
slowfast/utils/meters.py:771
↓ 1 callersClassGaussianBlur
Gaussian blur augmentation in SimCLR https://arxiv.org/abs/2002.05709
slowfast/datasets/transform.py:1003
↓ 1 callersClassGaussianBlurVideo
slowfast/datasets/transform.py:1018
↓ 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:12
↓ 1 callersClassImgVisualizer
slowfast/visualization/video_visualizer.py:45
↓ 1 callersClassMemory1D
slowfast/models/contrastive.py:1044
↓ 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 callersClassMorphFC_T
slowfast/models/morphmlp_32.py:115
↓ 1 callersClassMorphFC_T
slowfast/models/morphmlp.py:117
↓ 1 callersClassMultiScaleAttention
slowfast/models/attention.py:162
↓ 1 callersClassMultiScaleBlock
slowfast/models/attention.py:445
↓ 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 callersClassPatchEmbed
Image to Patch Embedding
slowfast/models/morphmlp_32.py:172
↓ 1 callersClassPatchEmbed
Image to Patch Embedding
slowfast/models/morphmlp.py:171
↓ 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:695
↓ 1 callersClassResBlock
Residual block.
slowfast/models/resnet_helper.py:397
↓ 1 callersClassSE
Squeeze-and-Excitation (SE) block w/ Swish: AvgPool, FC, Swish, FC, Sigmoid.
slowfast/models/operators.py:11
↓ 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 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 callersClassThreadVideoManager
VideoManager object for getting frames from video source for inference using multithreading for read and write frames.
slowfast/visualization/demo_loader.py:147
↓ 1 callersClassVideoManager
VideoManager object for getting frames from video source for inference.
slowfast/visualization/demo_loader.py:17
↓ 1 callersClassWrongPredictionVis
WrongPredictionVis class for visualizing video inputs to Tensorboard for instances that the model makes wrong predictions.
slowfast/visualization/prediction_vis.py:16
ClassAllGatherWithGradient
AllGatherWithGradient
slowfast/utils/distributed.py:282
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:261
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
ClassContrastiveLoss
slowfast/models/losses.py:16
ClassContrastiveModel
Contrastive Model, currently mainly focused on memory bank and CSC.
slowfast/models/contrastive.py:34
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
ClassGatherLayer
Gather tensors from all process, supporting backward propagation.
slowfast/utils/distributed.py:264
ClassImagenet
ImageNet dataset.
slowfast/datasets/imagenet.py:26
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
ClassMViT
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
ClassMorphFC_S
slowfast/models/morphmlp_32.py:74
ClassMorphFC_S
slowfast/models/morphmlp.py:76
ClassMorphFC_S2
slowfast/models/morphmlp_32.py:36
ClassMorphFC_S2
slowfast/models/morphmlp.py:38
ClassMorphMLP
MorphMLP
slowfast/models/morphmlp.py:207
ClassMorphMLP_32
MorphMLP
slowfast/models/morphmlp_32.py:208
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:518
ClassPTVMViT
MViT models using PyTorchVideo model builder.
slowfast/models/ptv_model_builder.py:704
ClassPTVR2plus1D
R(2+1)D models using PyTorchVideo model builder.
slowfast/models/ptv_model_builder.py:603
ClassPTVResNet
ResNet models using PyTorchVideo model builder.
slowfast/models/ptv_model_builder.py:59
ClassPTVSlowFast
slowfast/models/ptv_model_builder.py:225
ClassPTVX3D
slowfast/models/ptv_model_builder.py:425
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:292
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:440
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:197
ClassResNetBasicStem
ResNe(X)t 3D stem module. Performs spatiotemporal Convolution, BN, and Relu following by a spatiotemporal pooling.
slowfast/models/stem_helper.py:127
ClassResNetRoIHead
ResNe(X)t RoI head.
slowfast/models/head_helper.py:16
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:526
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:166
ClassSortOrder
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