MCPcopy Create free account

hub / github.com/Schlumberger/pixel-constrained-cnn-pytorch / types & classes

Types & classes14 in github.com/Schlumberger/pixel-constrained-cnn-pytorch

↓ 6 callersClassMaskedConv2d
Implements various 2d masked convolutions. Parameters ---------- mask_type : string Defines the type of mask to use. One of
pixconcnn/layers.py:46
↓ 4 callersClassMaskedConvRGB
Masked convolution with RGB channel splitting. Parameters ---------- mask_type : string One of 'A', 'B', 'V' or 'H'. in
pixconcnn/layers.py:188
↓ 2 callersClassGatedConvBlock
pixconcnn/layers.py:233
↓ 2 callersClassGatedConvBlockRGB
pixconcnn/layers.py:298
↓ 2 callersClassMaskGenerator
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 callersClassCelebADataset
CelebA dataset. Parameters ---------- path_to_data : string Path to CelebA images. subsample : int Only load every |
utils/dataloaders.py:97
↓ 1 callersClassGatedPixelCNN
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 callersClassGatedPixelCNNRGB
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 callersClassPixelConstrained
Pixel Constrained CNN model. Parameters ---------- prior_net : pixconcnn.models.gated_pixelcnn.GatedPixelCNN(RGB) instance Model
pixconcnn/models/pixel_constrained.py:6
↓ 1 callersClassPixelConstrainedTrainer
Class used to train Pixel Constrained CNN models. Parameters ---------- model : pixconcnn.models.pixel_constrained.PixelConstrained insta
pixconcnn/training.py:126
↓ 1 callersClassResNet
ResNet (with regular unmasked convolutions) mapping an conditional pixel inputs to logits. Parameters ---------- img_size : tuple of
pixconcnn/models/cnn.py:5
↓ 1 callersClassResidualBlock
Residual block (note that number of in_channels and out_channels must be the same). Parameters ---------- in_channels : int
pixconcnn/layers.py:5
↓ 1 callersClassTrainer
Class used to train PixelCNN models without conditioning. Parameters ---------- model : pixconcnn.models.gated_pixelcnn.GatedPixelCNN(RGB
pixconcnn/training.py:9
ClassPixelCNNBaseClass
Abstract class defining PixelCNN sampling which is the same for both single channel and RGB models.
pixconcnn/models/gated_pixelcnn.py:8