Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • main
1 result

Target

Select target project
No results found
Select Git revision
  • main
1 result
Show changes

Commits on Source 6

5 files
+ 42150
1234
Compare changes
  • Side-by-side
  • Inline

Files

+42111 −1231

File changed.

Preview size limit exceeded, changes collapsed.

LICENSE

0 → 100644
+21 −0
Original line number Diff line number Diff line
MIT License

Copyright (c) 2023 Machado E Silva Matheus

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+18 −3
Original line number Diff line number Diff line

# GAN & cGAN tutorial.

We recommand to use the notebook (.ipynb) but the Python script (.py) is also provided if more convenient for you.
Matheus MACHADO E SILVA

# GAN 

GAN is a generative adversarial network that we use to generate new handwritten digits, after feeding it with pictures from the MNIST database;
To reduce the time of execution we use Google Colab GPU;
The MNIST dataset uses black and white images so to adapt this tutorial to the MNIST database, I changed the number of channels for 1 (in the tutorial was 3 because of RGB data used);

![Results GAN](/Result_partie1.png)

# cGAN tutorial.

The idea of this project is to use cGAN (a conditional generative adversarial network) to identify and juge if building facades images are real or generated by a model;
The data used is from the CMP Facade Database;
The images were generated by a generator (with a mask from the database)

# How to submit your Work ?
The results are showed below:

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
![Results cGAN](/Result_partie2.png)