From 35575000eabcf3c2232f6a93920ef4ce0daeaeaa Mon Sep 17 00:00:00 2001 From: Sergent Paul <paul.sergent@ecl19.ec-lyon.fr> Date: Sun, 2 Apr 2023 14:17:06 +0000 Subject: [PATCH] Update README.md --- README.md | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5788498..1a94006 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,33 @@ # GAN & cGAN tutorial. -We recommand to use the notebook (.ipynb) but the Python script (.py) is also provided if more convenient for you. +## Intro -# How to submit your Work ? +GAN (for Generative Adversarial Network) is a type of machine learning model that consists of two neural networks : a discriminator and a generator. Basically, a generator generates fake data that the discriminator has to detect. While the discriminator learns how to "discriminate" between fake and real images, the generator tries to fool it into thinking the images are real. In this project, we use it to generate fake images based on real ones. +cGAN (for Conditional Generative Adversarial Network) is a variation of GAN in which the generator conditioned on some input, such as a label or a class, to generate data that belongs to a specific category. In our case, it will be models of houses / buildings. -This work must be done individually. The expected output is a repository named gan-cgan on https://gitlab.ec-lyon.fr. It must contain your notebook (or python files) and a README.md file that explains briefly the successive steps of the project. The last commit is due before 11:59 pm on Wednesday, March 29, 2023. Subsequent commits will not be considered. \ No newline at end of file +This project is part of MSO 3.4 Automatic learning. The goal of the project is to implement GANs in order to understand how they work, and is composed of two parts : the first one gives a simple example of Numbers generation with GAN, whereas the others gives us an example of cGAN, as an image to image translation model. The whole project is included in the Notebook in the main branch. + +## Steps of the project + +1. Generating handwritten digits using the MNIST dataset. + a. Downloading the Dataset + b. Initialize weights + c. Define the generator and discriminator functions + d. Set up the optimizer and the loss + e. Train the model + f. Plot results + + + +2. Generating Façade using CMP Facade Dataset (download it) + a. Defining CGAN and U-net architecture + b. Define the Generator with a built-up U-net architecture + c. Define discriminator with conv-blocks. + d. Set up optimizer and loss functions + e. Train the model + f. Plot results + + +## Contact + +This project has been written by Paul SERGENT. For any questions, don't hesitate to write to paul.sergent@ecl19.ec-lyon.fr -- GitLab