Coder Social home page Coder Social logo

therealcyberlord / dcgan-abstract-art Goto Github PK

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

Using DCGAN to generate images of abstract art, with the option to upscale with ESRGAN.

Home Page: https://huggingface.co/spaces/therealcyberlord/abstract-art-generation

License: MIT License

Python 0.43% Jupyter Notebook 99.57%
dcgan-pytorch generative-adversarial-network machine-learning art

dcgan-abstract-art's Introduction

Generating Abstract Art Live Demo

The goal of this project is to train a DCGAN to generate new works of abstract art. The implementation will be done in PyTorch.

This project will utilze the model proposed by the 2015 paper "UNSUPERVISED REPRESENTATION LEARNING WITH DEEP CONVOLUTIONAL GENERATIVE ADVERSARIAL NETWORKS", which advocates the idea of using strided convolution to replace pooling layers.

Dataset used: https://www.kaggle.com/datasets/bryanb/abstract-art-gallery

Web App

Huggingface Demo: https://huggingface.co/spaces/therealcyberlord/abstract-art-generation

Running the project locally

Download the libraries used with

pip install -r requirements.txt

Navigate to the cloned/downloaded directory (DCGAN-Abstract-Art) and run python Main.py [num_images] [--seed=somenumber] [--checkpoint=somenumber] [--srgan]

eg: python Main.py 6 --seed 90 --checkpoint 150 --srgan


the arg values will be in type integer and num_images must be in the range (0, 120], only the argument num_images is required. Try reducing the number of images that you are applying super resolution if you are running out of memory.

checkpoint_num: default: 150, you can also use your own trained checkpoints, see the ipynb notebook to continue training.

Run python Main.py -h for more information

Upscaled with ESRGAN

Sources:

dcgan-abstract-art's People

Contributors

therealcyberlord avatar

Stargazers

 avatar  avatar

Watchers

 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.