/ascii-gan

Stylise your image into an ascii using a trained gan.

Primary LanguageJupyter Notebook

ascii-gan

An ASCII GAN, or Generative Adversarial Network, is a type of machine learning model that is used to generate new data samples that are similar to a training dataset. In the case of an ASCII GAN, the data samples are strings of ASCII characters, which are a standardized encoding system for representing text on computers.

The GAN model consists of two parts: a generator and a discriminator. The generator is trained to produce new data samples that are similar to the training data, while the discriminator is trained to distinguish between real data samples and those generated by the generator. The generator and discriminator are trained together in a adversarial process, where the generator tries to produce samples that the discriminator cannot distinguish from real data, and the discriminator tries to accurately distinguish between real and generated data.

In the case of an ASCII GAN, the generator is trained to produce new ASCII characters that are similar to those in the training dataset, while the discriminator is trained to distinguish between real ASCII characters and those generated by the generator. The goal of the GAN is to generate ASCII characters that are indistinguishable from real ones, allowing it to create new strings of ASCII text that are similar to the training data.

Some examples/results

image image