stable_pretraining.data.transforms#
Functions
|
|
|
|
|
See |
Classes
|
Add Gaussian noise to input data. |
|
Crop the center of an image to the given size. |
|
Randomly change brightness, contrast, saturation, and hue of an image. |
|
Compose multiple transforms together in sequence. |
|
Apply transform conditionally based on a data dictionary key. |
|
Face Landmarks dataset. |
|
Apply Gaussian blur to image with random sigma values. |
|
Apply different transforms to different views of the same sample. |
|
PIL-based Gaussian blur transform with random sigma sampling. |
|
Convert image to RGB format. |
|
Randomly permute the channels of an image. |
|
Randomly sample contiguous frames from a video sequence. |
|
Crop a random portion of image and resize it to given size. |
|
Randomly convert image to grayscale with given probability. |
|
Horizontally flip the given image randomly with a given probability. |
|
Crop a random portion of image and resize it to given size. |
|
Rotate image by random angle within specified degrees range. |
|
Randomly solarize image by inverting pixel values above threshold. |
|
Resize image to specified size. |
|
Convert input to image tensor with optional normalization. |
|
Base transform class extending torchvision v2.Transform with nested data handling. |
|
|