Edit model card

Auto-Encoders

This model deals with auto-encoders, specifically experimenting and tweaking the architecture, we train a MNIST dataset with artifical Gaussian noise in order to obtain model output of the orginal denoised image.

Model Details

Model outputs include:

With 5.4 million parameters, the autoencoder could reconstruct the a 256x256 image of my profile picture from a 8x8 representation.

image/gif

With 1.2k parameters,

image/gif


Example Autoencoder Diagram

An image of 256x256 to be encoded by 4x4 images with some loss, but we will be learning weights that allows the decoder and encoder to work together to minimize the loss. The output and input is never the same statistically, because we have some sort of reconstruction loss, and we can design systems that can detect anomolies.

We have input data that can be reconstructed. We can use this to detect anomalies.

Encoding Typical Processing:

  • Conv2D
  • MaxPooling2D (downsamples)

Decoding Typical Processing:

  • UpSampling2D
  • Conv2D

Here we are fitting:

    model.fit(x, x, epochs=5, shuffle=True)

Use cases for autoencoders:

  • Anomaly detection, if we have a datastream from a microscope, and monitoring the output intensity, and many different metrics,

    Signal Anomaly Detection

    When we have this data, and we have failures, we can detect failure or even predict failures occuring. When we give a input, we want to reconstruction, if there is an anomaly, then the reconstruction error is large and passed a specific threshold, then we can assume that there is an anomaly.

  • Denoising, which we learned in the previous section, is obtaining a reconstruction of the input image, without the noise, as we have been training on it.

  • Domain Adaptation, we are fitting x to x, while training the autoencoder, but we can also fit x to y, and then we can use the encoder to encode the input, to a different domain image. For example training a model to go from Einstein image to a Mona Lisa image.

  • Image Colorization, we can use the encoder to encode a grayscale image, and then use the decoder to decode the image to a color image.


  • Developed by: Michael Peres
  • Model type: AutoEncoder

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: RTX 3070Ti
  • Hours used: 0.05hr
Downloads last month
0
Unable to determine this model’s pipeline type. Check the docs .