hyrax.models.image_dcae
Classes
Helper module for ImageDCAE to use the arcsinh function |
|
This is an autoencoder with skipconnections that should work with |
Module Contents
- class ArcsinhActivation(*args, **kwargs)[source]
Bases:
torch.nn.ModuleHelper module for ImageDCAE to use the arcsinh function
Initialize internal Module state, shared by both nn.Module and ScriptModule.
- class ImageDCAE(config, data_sample=None)[source]
Bases:
torch.nn.ModuleThis is an autoencoder with skipconnections that should work with arbitarily sized images with arbitrary number of channels.
Initialize internal Module state, shared by both nn.Module and ScriptModule.
- _calculate_conv_output_size()[source]
Calculate the output size after all convolutional layers for the linear bottleneck.
- decode(latent, skip_connections, encoded_shape)[source]
Decode from latent space to image with skip connections.