MCPcopy Create free account

hub / github.com/MCG-NJU/VideoMAE / types & classes

Types & classes48 in github.com/MCG-NJU/VideoMAE

↓ 7 callersClassVisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage
modeling_finetune.py:173
↓ 4 callersClassPretrainVisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage
modeling_pretrain.py:178
↓ 3 callersClassBlock
modeling_finetune.py:102
↓ 3 callersClassRandomErasing
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 callersClassVideoClsDataset
Load your own video classification dataset.
kinetics.py:15
↓ 2 callersClassDataAugmentationForVideoMAE
datasets.py:9
↓ 2 callersClassGroupNormalize
transforms.py:48
↓ 2 callersClassPatchEmbed
Image to Patch Embedding
modeling_finetune.py:134
↓ 2 callersClassSmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
utils.py:21
↓ 2 callersClassStack
transforms.py:164
↓ 2 callersClassToTorchFormatTensor
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 callersClassTubeMaskingGenerator
masking_generator.py:3
↓ 1 callersClassAttention
modeling_finetune.py:55
↓ 1 callersClassAugmentOp
Apply for video.
rand_augment.py:337
↓ 1 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
modeling_finetune.py:21
↓ 1 callersClassGroupCenterCrop
transforms.py:39
↓ 1 callersClassGroupMultiScaleCrop
transforms.py:91
↓ 1 callersClassLayerDecayValueAssigner
optim_factory.py:38
↓ 1 callersClassMixup
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 callersClassMlp
modeling_finetune.py:35
↓ 1 callersClassPretrainVisionTransformerDecoder
Vision Transformer with support for patch or hybrid CNN input stage
modeling_pretrain.py:112
↓ 1 callersClassPretrainVisionTransformerEncoder
Vision Transformer with support for patch or hybrid CNN input stage
modeling_pretrain.py:26
↓ 1 callersClassRandAugment
rand_augment.py:462
↓ 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
video_transforms.py:692
↓ 1 callersClassSSVideoClsDataset
Load your own video classification dataset.
ssv2.py:13
↓ 1 callersClassVideoMAE
Load your own video classification dataset. Parameters ---------- root : str, required. Path to the root folder storing the datase
kinetics.py:375
ClassCenterCrop
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
ClassClipToTensor
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
ClassClipToTensor_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
ClassColorJitter
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
ClassCompose
Composes several transforms Args: transforms (list of ``Transform`` objects): list of transforms to compose
video_transforms.py:902
ClassDataAugmentationForVideoMAE
run_videomae_vis.py:20
ClassFastCollateMixup
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
ClassGroupGrayScale
transforms.py:65
ClassGroupRandomCrop
transforms.py:11
ClassGroupScale
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
ClassIdentityTransform
transforms.py:203
ClassMetricLogger
utils.py:83
ClassNativeScalerWithGradNormCount
utils.py:341
ClassNormalize
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
ClassRandomCrop
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
ClassRandomHorizontalFlip
Horizontally flip the list of given images randomly with a probability 0.5
video_transforms.py:918
ClassRandomResize
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
ClassRandomRotation
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
ClassResize
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
ClassTensorboardLogger
utils.py:167
ClassThreeCrop
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
ClassToTensor
Converts numpy array to tensor
volume_transforms.py:125