Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WuJie1010/Facial-Expression-Recognition.Pytorch
/ types & classes
Types & classes
27 in github.com/WuJie1010/Facial-Expression-Recognition.Pytorch
⨍
Functions
92
◇
Types & classes
27
↓ 5 callers
Class
VGG
models/vgg.py:16
↓ 4 callers
Class
FER2013
`FER2013 Dataset. Args: train (bool, optional): If True, creates dataset from training set, otherwise creates from test s
fer.py:9
↓ 4 callers
Class
Lambda
Apply a user-defined lambda as a transform. Args: lambd (function): Lambda/function to be used for transform.
transforms/transforms.py:220
↓ 3 callers
Class
CK
`CK+ Dataset. Args: train (bool, optional): If True, creates dataset from training set, otherwise creates from test set.
CK.py:8
↓ 1 callers
Class
Compose
Composes several transforms together. Args: transforms (list of ``Transform`` objects): list of transforms to compose. Example:
transforms/transforms.py:24
↓ 1 callers
Class
ResNet
models/resnet.py:69
Class
BasicBlock
models/resnet.py:16
Class
Bottleneck
models/resnet.py:41
Class
CenterCrop
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
Class
ColorJitter
Randomly change the brightness, contrast and saturation of an image. Args: brightness (float): How much to jitter brightness. brightness_
transforms/transforms.py:518
Class
FiveCrop
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
Class
Grayscale
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
Class
LinearTransformation
Transform a tensor image with a square transformation matrix computed offline. Given transformation_matrix, will flatten the torch.*Tensor, c
transforms/transforms.py:477
Class
Normalize
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
Class
Pad
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
Class
RandomCrop
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
Class
RandomGrayscale
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
Class
RandomHorizontalFlip
Horizontally flip the given PIL Image randomly with a probability of 0.5.
transforms/transforms.py:291
Class
RandomResizedCrop
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
Class
RandomRotation
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
Class
RandomSizedCrop
Note: This transform is deprecated in favor of RandomResizedCrop.
transforms/transforms.py:391
Class
RandomVerticalFlip
Vertically flip the given PIL Image randomly with a probability of 0.5.
transforms/transforms.py:307
Class
Resize
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
Class
Scale
Note: This transform is deprecated in favor of Resize.
transforms/transforms.py:150
Class
TenCrop
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
Class
ToPILImage
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
Class
ToTensor
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