Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MCG-NJU/VideoMAE
/ types & classes
Types & classes
48 in github.com/MCG-NJU/VideoMAE
⨍
Functions
287
◇
Types & classes
48
↓ 7 callers
Class
VisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage
modeling_finetune.py:173
↓ 4 callers
Class
PretrainVisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage
modeling_pretrain.py:178
↓ 3 callers
Class
Block
modeling_finetune.py:102
↓ 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://
random_erasing.py:27
↓ 3 callers
Class
VideoClsDataset
Load your own video classification dataset.
kinetics.py:15
↓ 2 callers
Class
DataAugmentationForVideoMAE
datasets.py:9
↓ 2 callers
Class
GroupNormalize
transforms.py:48
↓ 2 callers
Class
PatchEmbed
Image to Patch Embedding
modeling_finetune.py:134
↓ 2 callers
Class
SmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
utils.py:21
↓ 2 callers
Class
Stack
transforms.py:164
↓ 2 callers
Class
ToTorchFormatTensor
Converts a PIL.Image (RGB) or numpy.ndarray (H x W x C) in the range [0, 255] to a torch.FloatTensor of shape (C x H x W) in the range [0.0, 1.0]
transforms.py:181
↓ 2 callers
Class
TubeMaskingGenerator
masking_generator.py:3
↓ 1 callers
Class
Attention
modeling_finetune.py:55
↓ 1 callers
Class
AugmentOp
Apply for video.
rand_augment.py:337
↓ 1 callers
Class
DropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
modeling_finetune.py:21
↓ 1 callers
Class
GroupCenterCrop
transforms.py:39
↓ 1 callers
Class
GroupMultiScaleCrop
transforms.py:91
↓ 1 callers
Class
LayerDecayValueAssigner
optim_factory.py:38
↓ 1 callers
Class
Mixup
Mixup/Cutmix that applies different params to each element or whole batch Args: mixup_alpha (float): mixup alpha value, mixup is active
mixup.py:90
↓ 1 callers
Class
Mlp
modeling_finetune.py:35
↓ 1 callers
Class
PretrainVisionTransformerDecoder
Vision Transformer with support for patch or hybrid CNN input stage
modeling_pretrain.py:112
↓ 1 callers
Class
PretrainVisionTransformerEncoder
Vision Transformer with support for patch or hybrid CNN input stage
modeling_pretrain.py:26
↓ 1 callers
Class
RandAugment
rand_augment.py:462
↓ 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
video_transforms.py:692
↓ 1 callers
Class
SSVideoClsDataset
Load your own video classification dataset.
ssv2.py:13
↓ 1 callers
Class
VideoMAE
Load your own video classification dataset. Parameters ---------- root : str, required. Path to the root folder storing the datase
kinetics.py:375
Class
CenterCrop
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 (h,
video_transforms.py:1128
Class
ClipToTensor
Convert a list of m (H x W x C) numpy.ndarrays in the range [0, 255] to a torch.FloatTensor of shape (C x m x H x W) in the range [0, 1.0]
volume_transforms.py:16
Class
ClipToTensor_K
Convert a list of m (H x W x C) numpy.ndarrays in the range [0, 255] to a torch.FloatTensor of shape (C x m x H x W) in the range [0, 1.0]
volume_transforms.py:71
Class
ColorJitter
Randomly change the brightness, contrast and saturation and hue of the clip Args: brightness (float): How much to jitter brightness. brightnes
video_transforms.py:1172
Class
Compose
Composes several transforms Args: transforms (list of ``Transform`` objects): list of transforms to compose
video_transforms.py:902
Class
DataAugmentationForVideoMAE
run_videomae_vis.py:20
Class
FastCollateMixup
Fast Collate w/ Mixup/Cutmix that applies different params to each element or whole batch A Mixup impl that's performed while collating the batc
mixup.py:221
Class
GroupGrayScale
transforms.py:65
Class
GroupRandomCrop
transforms.py:11
Class
GroupScale
Rescales the input PIL.Image to the given 'size'. 'size' will be the size of the smaller edge. For example, if height > width, then image wil
transforms.py:74
Class
IdentityTransform
transforms.py:203
Class
MetricLogger
utils.py:83
Class
NativeScalerWithGradNormCount
utils.py:341
Class
Normalize
Normalize a clip with mean and standard deviation. Given mean: ``(M1,...,Mn)`` and std: ``(S1,..,Sn)`` for ``n`` channels, this transform will
video_transforms.py:1255
Class
RandomCrop
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 (h,
video_transforms.py:994
Class
RandomHorizontalFlip
Horizontally flip the list of given images randomly with a probability 0.5
video_transforms.py:918
Class
RandomResize
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 Arg
video_transforms.py:944
Class
RandomRotation
Rotate entire clip randomly by a random angle within given bounds Args: degrees (sequence or int): Range of degrees to select from If
video_transforms.py:1085
Class
Resize
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 Arg
video_transforms.py:974
Class
TensorboardLogger
utils.py:167
Class
ThreeCrop
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 (h,
video_transforms.py:1038
Class
ToTensor
Converts numpy array to tensor
volume_transforms.py:125