This project consisted in studying GANs in the case of Wasserstein distance, as part of the fifth-year course at INSA Toulouse in Applied Mathematics of High Dimensional and Deep Learning.
Go to file
Paul Corbalan 6c592bc101 Update for code.paul-corbalan.com 2024-05-24 21:23:07 +02:00
.devcontainer feat(devcontainer): Remove ipykernel for Jupyter Notebook 2024-01-23 15:01:47 +01:00
data Upload predicted_humans data 2024-01-30 13:22:50 +01:00
imgs add readme 2017-01-30 20:11:11 +05:30
models Remove dots from module names to execute the code with pytorch 1.0.0. 2018-12-25 22:59:23 +01:00
samples Upload samples/out.log 2024-01-30 13:31:36 +01:00
.gitattributes Upload samples/out.log 2024-01-30 13:31:36 +01:00
.gitignore Upload samples/out.log 2024-01-30 13:31:36 +01:00
LICENSE.md Fusion of the licenses 2024-01-31 12:07:25 +01:00
README.md English translation of README.md 2024-01-31 12:29:11 +01:00
generate.py Set parameters as the one from the main experiment 2024-01-31 11:42:10 +01:00
main.py Set parameters as the one from the main experiment 2024-01-31 11:42:10 +01:00
notebook.ipynb Update for code.paul-corbalan.com 2024-05-24 21:23:07 +02:00
requirements.txt Update requirements.txt 2024-01-30 11:57:10 +01:00

README.md

Wasserstein GAN

This project consisted in studying GANs in the case of Wasserstein distance, as part of the fifth-year course at INSA Toulouse in Applied Mathematics of High Dimensional and Deep Learning.

Here are the members of our group, listed alphabetically by surname:

  • Paul Corbalan
  • Nicolas Gonel
  • Oihan Joyot
  • Tristan Portugues
  • Florian Zorzynski

Our project is largely inspired by the following resources, which are the initial article of our project as well as the corresponding code.

Installation

It's important to note that Python 3.11 was used for this project, particularly for compatibility with the PyTorch library, so we recommend using this version.

  1. To install Python 3.11, we recommend using Anaconda, by executing the following command:
    conda create -n wasserstein-gan python=3.11
    
  2. To activate the environment, simply run the following command:
    conda activate wasserstein-gan
    
  3. To install the project's dependencies, simply run the following command:
    pip install -r requirements.txt
    

Use

Details of the experiments are given in the Jupiter Notebook. However, they can be reproduced simply by executing the following commands:

  • For training:
    python main.py
    
  • For image generation:
    python generate.py