Giter Club home page Giter Club logo

generative_art_with_gan's Introduction

Generative_Art_with_GAN

The trained GAN can create data similar to the training data, and various expressive abilities are acquired inside the GAN to generate data. We utilized this expressive ability to develop a new expressive method. The gif image below is an example of a new representation image using GAN. Stained glass images can be obtained by inputting special noises instead of the GAN intermediate representation learned from CelebA images.

Details will be added later.

sample

System requirements

  • 64-bit Python 3.6 installation with numpy 1.13.3 or newer. We recommend Anaconda3.
  • NVIDIA driver 385 or newer
  • Tensorflow 1.2 or newer
  • numpy>=1.13.3
  • Pillow>=3.1.1

Using pre-trained networks

A minimal example of using a pre-trained Generative_Art_with_GAN generator is given in generate_art_minimal.py.

Before executed, you must download a learned model from Google Drive: https://drive.google.com/open?id=1N9AvyKx6atBy-Ewcmcd3EyVZwXT3xQ-t

Put the downloaded checkpoints in the same directory as generate_art_minimal.py.

The execution command is python generate_art_minimal.py

Training networks

Once the datasets are set up, you can train your own Generative_Art_with_GAN networks as follows:

  1. Edit train_celeba_wgan_gp_pos.py to specify the dataset directory configuration by editing specific lines.
  2. Run the training script with python train_celeba_wgan_gp_pos.py.
  3. The results are written to a newly created directory ./sample_images_while_training/<image name>.
  4. The training may take several hours to complete.

stylegan

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.