MCPcopy Create free account

hub / github.com/WuJie1010/Facial-Expression-Recognition.Pytorch / types & classes

Types & classes27 in github.com/WuJie1010/Facial-Expression-Recognition.Pytorch

↓ 5 callersClassVGG
models/vgg.py:16
↓ 4 callersClassFER2013
`FER2013 Dataset. Args: train (bool, optional): If True, creates dataset from training set, otherwise creates from test s
fer.py:9
↓ 4 callersClassLambda
Apply a user-defined lambda as a transform. Args: lambd (function): Lambda/function to be used for transform.
transforms/transforms.py:220
↓ 3 callersClassCK
`CK+ Dataset. Args: train (bool, optional): If True, creates dataset from training set, otherwise creates from test set.
CK.py:8
↓ 1 callersClassCompose
Composes several transforms together. Args: transforms (list of ``Transform`` objects): list of transforms to compose. Example:
transforms/transforms.py:24
↓ 1 callersClassResNet
models/resnet.py:69
ClassBasicBlock
models/resnet.py:16
ClassBottleneck
models/resnet.py:41
ClassCenterCrop
Crops the given PIL Image at the center. Args: size (sequence or int): Desired output size of the crop. If size is an int ins
transforms/transforms.py:160
ClassColorJitter
Randomly change the brightness, contrast and saturation of an image. Args: brightness (float): How much to jitter brightness. brightness_
transforms/transforms.py:518
ClassFiveCrop
Crop the given PIL Image into four corners and the central crop .. Note:: This transform returns a tuple of images and there may be a mi
transforms/transforms.py:401
ClassGrayscale
Convert image to grayscale. Args: num_output_channels (int): (1 or 3) number of channels desired for output image Returns: P
transforms/transforms.py:640
ClassLinearTransformation
Transform a tensor image with a square transformation matrix computed offline. Given transformation_matrix, will flatten the torch.*Tensor, c
transforms/transforms.py:477
ClassNormalize
Normalize an tensor image with mean and standard deviation. Given mean: ``(M1,...,Mn)`` and std: ``(S1,..,Sn)`` for ``n`` channels, this transform
transforms/transforms.py:95
ClassPad
Pad the given PIL Image on all sides with the given "pad" value. Args: padding (int or tuple): Padding on each border. If a single int is
transforms/transforms.py:186
ClassRandomCrop
Crop the given PIL Image at a random location. Args: size (sequence or int): Desired output size of the crop. If size is an i
transforms/transforms.py:235
ClassRandomGrayscale
Randomly convert image to grayscale with a probability of p (default 0.1). Args: p (float): probability that image should be converted to
transforms/transforms.py:667
ClassRandomHorizontalFlip
Horizontally flip the given PIL Image randomly with a probability of 0.5.
transforms/transforms.py:291
ClassRandomResizedCrop
Crop the given PIL Image to random size and aspect ratio. A crop of random size (default: of 0.08 to 1.0) of the original size and a random a
transforms/transforms.py:323
ClassRandomRotation
Rotate the image by angle. Args: degrees (sequence or float or int): Range of degrees to select from. If degrees is a number
transforms/transforms.py:582
ClassRandomSizedCrop
Note: This transform is deprecated in favor of RandomResizedCrop.
transforms/transforms.py:391
ClassRandomVerticalFlip
Vertically flip the given PIL Image randomly with a probability of 0.5.
transforms/transforms.py:307
ClassResize
Resize the input PIL Image to the given size. Args: size (sequence or int): Desired output size. If size is a sequence like (
transforms/transforms.py:121
ClassScale
Note: This transform is deprecated in favor of Resize.
transforms/transforms.py:150
ClassTenCrop
Crop the given PIL Image into four corners and the central crop plus the flipped version of these (horizontal flipping is used by default) ..
transforms/transforms.py:437
ClassToPILImage
Convert a tensor or an ndarray to PIL Image. Converts a torch.*Tensor of shape C x H x W or a numpy ndarray of shape H x W x C to a PIL Image
transforms/transforms.py:64
ClassToTensor
Convert a ``PIL Image`` or ``numpy.ndarray`` to tensor. Converts a PIL Image or numpy.ndarray (H x W x C) in the range [0, 255] to a torch.Fl
transforms/transforms.py:46