GithubHelp home page GithubHelp logo

face-generation's Introduction

Face-Generation

In this project, we will use pytorch to create generative adversarial networks to generate new images of faces. We will be using the CelebFaces Attributes Dataset (CelebA) to train your adversarial network. To download the dataset click here. This is a zip file that you'll need to extract 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/.

How training happens

#Dependencies Download the latest version of miniconda that matches your system. Install miniconda on your machine. Detailed instructions:

For Windows users, these following commands need to be executed from the Anaconda prompt as opposed to a Windows terminal window. For Mac, a normal terminal window will work.

Git and version control These instructions also assume you have git installed for working with Github from a terminal window, but if you do not, you can download that first with the command: conda install git

Create (and activate) a new environment, named deep-learning with Python 3.6. If prompted to proceed with the install (Proceed [y]/n) type y.

Linux or Mac:

conda create -n deep-learning python=3.6
source activate deep-learning

Windows:

conda create --name deep-learning python=3.6
activate deep-learning

To install all the requirements copy the requirements in a blank text document name it as requirement.txt

Requirements to run the project

  • opencv-python
  • jupyter
  • matplotlib
  • pandas
  • numpy
  • pillow
  • scipy
  • tqdm
  • scikit-learn
  • scikit-image
  • seaborn
  • h5py
  • ipykernel
  • bokeh
  • pickleshare
  • torch

Install a few required pip packages, which are specified in the requirements text file .

pip install -r requirements.txt

Now you can start working on the project use jupyter to either load a notebook or create a new untitled norebook

Final Result

face-generation's People

Contributors

akash2021 avatar

Watchers

James Cloos 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.