DarthReca / mlinapp-project

MIT License
3 stars 1 forks source link

[![Contributors][contributors-shield]][contributors-url] ![MIT License](https://img.shields.io/github/license/DarthReca/mlinapp-project)


Explore the docs »

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

This repo contains the implementation of a project made during the course Machine Learning in Applications attended at Politecnico di Torino. The objective of this project is to create a filter for facial attribute editing. It contains the original baseline and the other techniques exploited to finetune the network.

The final report can be found here.

(back to top)

Built With

(back to top)

Getting Started

Prerequisites

To setup the environment run the following script:

  python setup_env.py

Otherwise install manually the dependencies with pip install -r requirements.txt and download the dataset and the desired weights.

The dataset can be found in CelebA website and the weights in the Pytorch implementation of AttGAN repo.

(back to top)

Usage

To train the model simply run train.py with the desired arguments. The ones used in report are:

For more details use python train.py --help and refer to original implementation.

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

We used third-party AttGAN implementation see ATTGAN for more details.

(back to top)

Contributors

The project was built by Damiano Bonaccorsi, Daniele Rege Cambrin, Giulia D’Ascenzi, Patrizio de Girolamo.

(back to top)

Acknowledgments

(back to top)