Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Schlumberger/pixel-constrained-cnn-pytorch
/ types & classes
Types & classes
14 in github.com/Schlumberger/pixel-constrained-cnn-pytorch
⨍
Functions
64
◇
Types & classes
14
↓ 6 callers
Class
MaskedConv2d
Implements various 2d masked convolutions. Parameters ---------- mask_type : string Defines the type of mask to use. One of
pixconcnn/layers.py:46
↓ 4 callers
Class
MaskedConvRGB
Masked convolution with RGB channel splitting. Parameters ---------- mask_type : string One of 'A', 'B', 'V' or 'H'. in
pixconcnn/layers.py:188
↓ 2 callers
Class
GatedConvBlock
pixconcnn/layers.py:233
↓ 2 callers
Class
GatedConvBlockRGB
pixconcnn/layers.py:298
↓ 2 callers
Class
MaskGenerator
Class used to generate masks. Can be used to create masks during training or to build various masks for generation. Parameters ----------
utils/masks.py:7
↓ 1 callers
Class
CelebADataset
CelebA dataset. Parameters ---------- path_to_data : string Path to CelebA images. subsample : int Only load every |
utils/dataloaders.py:97
↓ 1 callers
Class
GatedPixelCNN
Gated PixelCNN model for single channel images. Parameters ---------- img_size : tuple of ints Shape of input image. E.g. (1, 32,
pixconcnn/models/gated_pixelcnn.py:117
↓ 1 callers
Class
GatedPixelCNNRGB
Gated PixelCNN model for RGB images. Parameters ---------- img_size : tuple of ints Shape of input image. E.g. (3, 32, 32) n
pixconcnn/models/gated_pixelcnn.py:190
↓ 1 callers
Class
PixelConstrained
Pixel Constrained CNN model. Parameters ---------- prior_net : pixconcnn.models.gated_pixelcnn.GatedPixelCNN(RGB) instance Model
pixconcnn/models/pixel_constrained.py:6
↓ 1 callers
Class
PixelConstrainedTrainer
Class used to train Pixel Constrained CNN models. Parameters ---------- model : pixconcnn.models.pixel_constrained.PixelConstrained insta
pixconcnn/training.py:126
↓ 1 callers
Class
ResNet
ResNet (with regular unmasked convolutions) mapping an conditional pixel inputs to logits. Parameters ---------- img_size : tuple of
pixconcnn/models/cnn.py:5
↓ 1 callers
Class
ResidualBlock
Residual block (note that number of in_channels and out_channels must be the same). Parameters ---------- in_channels : int
pixconcnn/layers.py:5
↓ 1 callers
Class
Trainer
Class used to train PixelCNN models without conditioning. Parameters ---------- model : pixconcnn.models.gated_pixelcnn.GatedPixelCNN(RGB
pixconcnn/training.py:9
Class
PixelCNNBaseClass
Abstract class defining PixelCNN sampling which is the same for both single channel and RGB models.
pixconcnn/models/gated_pixelcnn.py:8