Base loader
Cifar datasets
Draws bounding boxes on image.
Kuzushiji-MNIST
Inception v3 model
MNIST dataset
Draws Keypoints
Create an image folder dataset
transform_adjust_contrast
Adjust the contrast of an image
AlexNet Model Architecture
Load an Image using ImageMagick
Tiny ImageNet dataset
Apply affine transformation on an image keeping image center invariant
Display image tensor
transform_adjust_brightness
Adjust the brightness of an image
Crops the given image at the center
transform_linear_transformation
Transform a tensor image with a square transformation matrix and a
mean_vector computed offline
Display image tensor
Adjust the gamma of an RGB image
ResNet implementation
Adjust the hue of an image
transform_adjust_saturation
Adjust the color saturation of an image
Normalize a tensor image with mean and standard deviation
Convert image to grayscale
VGG implementation
Randomly change the brightness, contrast and saturation of an image
Pad the given image on all sides with the given "pad" value
transform_random_rotation
Rotate the image by angle
Horizontally flip a PIL Image or Tensor
Random affine transformation of the image keeping center invariant
Apply single transformation randomly picked from a list
transform_random_vertical_flip
Vertically flip an image randomly with a given probability
Perspective transformation of an image
Crop the given image at specified location and output size
Apply a list of transformations randomly with a given probability
transform_random_perspective
Random perspective transformation of an image with a given probability
transform_convert_image_dtype
Convert a tensor image to the given dtype
and scale the values accordingly
Crop image into four corners and a central crop
transform_random_resized_crop
Crop image to random size and aspect ratio
Randomly selects a rectangular region in an image and erases its pixel values
Crop the given image at a random location
transform_rgb_to_grayscale
Convert RGB Image Tensor to Grayscale
transform_random_horizontal_flip
Horizontally flip an image randomly with a given probability
transform_random_grayscale
Randomly convert image to grayscale with a given probability
Apply a list of transformations in a random order
Angular rotation of an image
Resize the input image to the given size
Crop an image and the flipped image each into four corners and a central crop
Crop an image and resize it to a desired size
Convert an image to a tensor
Vertically flip a PIL Image or Tensor
A simplified version of torchvision.utils.make_grid
Draw segmentation masks