Code Monkey home page Code Monkey logo

codiaxgansworkshop's Introduction

Generating Faces with GANs in Tensorflow

Slack Channel

First and foremost, join us at GANs Workshop Slack Channel so that we can keep in sync. Most probably, this channel will be the starting point for a local community of developers interested in hands-on AI & ML stuff.

Data Set Download instructions

For this workshop we will use the MNIST and Celeba datasets. You can download them from this google drive folder. The folder contains the two img_align_celeba and mnist ziped folders. Please create a data folder in the project repository's root directory, copy the two dataset folders there and extract them.

The final paths relative to the project root should be: ./data/img_align_celeba and ./data/mnist.

Installation Instructions

Anaconda or Miniconda

We will be using the Anaconda platform for this workshop. Anaconda is a distribution of packages built for data science that comes with conda, a CLI packages and environments manager.

  1. Install Conda CLI: we are mainly interested in conda, therefore you have two options:
  • Install Miniconda - a mini version of Anaconda that includes only conda and its dependencies
    • Download the Python 3.6 installer for your OS from here and follow these instructions to install it.
  • Install the entire Anaconda ecosystem which contains conda plus over 720 open source packages
    • Download the Python 3.6 installer for your OS and follow the instructions from here.
  1. Update all the packages in the default root environment: conda upgrade --all
If you get "conda command not found" add export PATH="/Users/username/anaconda/bin:$PATH" to your bash config file.

Managing Packages

Most used commands:

  • conda install package_name
  • conda update package_name
  • conda remove package_name
  • conda search search_term
  • conda list - list all installed packages

Managing Environments

Most used commands:

  • conda create -n env_name list_of_packages
  • conda env export > environment.yaml - save packages to .yaml file
  • conda env create -f environment.yaml - create env from yaml file
  • source activate my_env (Mac/Linux) OR activate my_env (Windows) - activate environment
  • source deactivate (Mac/Linux) OR deactivate (Windows) - deactivate environment
  • conda env list - list all environments
  • conda env remove -n env_name

For more info check this and this

Environment Creation & Dependencies

For this workshop create a new environment using the provided gans_workshop.yaml by running:

  • conda env create -f .environments/gans_environment_OS.yml

Activate the new created environment using:

  • source activate gans_workshop (Mac/Linux)
  • activate gans_workshop (Windows)

Start Test Notebook

Then run the following command to start a test jupyter notebook:

  • jupyter notebook GANsWorkshop.ipynb

codiaxgansworkshop's People

Watchers

 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.