GithubHelp home page GithubHelp logo

imsaksham-c / facegenerationusinggan Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 28.21 MB

In this project, I have used generative adversarial networks(GANs) to generate new images of faces.

License: MIT License

Jupyter Notebook 99.27% Python 0.73%

facegenerationusinggan's Introduction

FaceGenerationUsingGANs

In this project, I have defined and trained a Deep Cycle GAN(DCGAN) on a dataset of faces. The goal was to get a generator network to generate new images of faces that look as realistic as possible!

The project is broken down into a series of tasks from loading in data to defining and training adversarial networks. At the end of the notebook, we can visualize the results of your trained Generator to see how it performs; generated samples looks like fairly realistic faces with small amounts of noise.

Getting the Data

I have used the CelebFaces Attributes Dataset (CelebA) to train my adversarial networks.

This dataset is more complex than the number datasets (like MNIST or SVHN), and so, I had defined deeper networks and train them for a longer time to get good results. It is suggested to use a GPU for training.

Pre-processed Data

I've done some of the pre-processing like each of the CelebA images has been cropped to remove parts of the image that don't include a face, then resized down to 64x64x3 NumPy images. Preproceesed Image

Instructions

  1. You can download this data by clicking here

  2. Extract the data in the home directory of this notebook for further loading and processing. After extracting the data, you should be left with a directory of data processed_celeba_small/

  3. The ipynb notebook is well documented with each and every steps explained properly.

  4. Enjoy :)

facegenerationusinggan's People

Contributors

imsaksham-c avatar

Stargazers

Sree Lakshmi Addepalli avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.