Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arnoweng/PyTorch-Deep-Image-Steganography
/ types & classes
Types & classes
23 in github.com/arnoweng/PyTorch-Deep-Image-Steganography
⨍
Functions
82
◇
Types & classes
23
↓ 9 callers
Class
AverageMeter
Computes and stores the average and current value.
main.py:508
↓ 6 callers
Class
UnetSkipConnectionBlock
models/HidingUNet.py:41
↓ 4 callers
Class
Lambda
Apply a user-defined lambda as a transform. Args: lambd (function): Lambda/function to be used for transform.
utils/transformed.py:686
↓ 3 callers
Class
MyImageFolder
A generic data loader where the images are arranged in this way: :: root/dog/xxx.png root/dog/xxy.png root/dog/xxz.png
data/ImageFolderDataset.py:73
↓ 1 callers
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 inst
utils/transformed.py:614
↓ 1 callers
Class
Compose
Composes several transforms together. Args: transforms (list of ``Transform`` objects): list of transforms to compose. Example:
utils/transformed.py:489
↓ 1 callers
Class
RevealNet
models/RevealNet.py:15
↓ 1 callers
Class
UnetGenerator
models/HidingUNet.py:19
Class
ColorJitter
Randomly change the brightness, contrast and saturation of an image. Args: brightness (float): How much to jitter brightness. brightness_f
utils/transformed.py:934
Class
FiveCrop
Crop the given PIL Image into four corners and the central crop.abs Note: this transform returns a tuple of images and there may be a mismatch
utils/transformed.py:850
Class
LinearTransformation
Transform a tensor image with a square transformation matrix computed offline. Given transformation_matrix, will flatten the torch.*Tensor, co
utils/transformed.py:897
Class
Normalize
Normalize an tensor image with mean and standard deviation. Given mean: ``(M1,...,Mn)`` and std: ``(M1,..,Mn)`` for ``n`` channels, this transform
utils/transformed.py:552
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
utils/transformed.py:654
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 in
utils/transformed.py:700
Class
RandomHorizontalFlip
Horizontally flip the given PIL Image randomly with a probability of 0.5.
utils/transformed.py:752
Class
RandomResizedCrop
Crop the given PIL Image to random size and aspect ratio. A crop of random size of (0.08 to 1.0) of the original size and a random aspect rati
utils/transformed.py:782
Class
RandomSizedCrop
Note: This transform is deprecated in favor of RandomResizedCrop.
utils/transformed.py:839
Class
RandomVerticalFlip
Vertically flip the given PIL Image randomly with a probability of 0.5.
utils/transformed.py:767
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 (h
utils/transformed.py:576
Class
Scale
Note: This transform is deprecated in favor of Resize.
utils/transformed.py:603
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)
utils/transformed.py:872
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
utils/transformed.py:525
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.Flo
utils/transformed.py:509