Coder Social home page Coder Social logo

rithikafjohnson / ai-art-generator Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 1.2 MB

Python code to convert hand drawn sketches into abstract art using GANs

License: MIT License

Jupyter Notebook 100.00%
computer-vision gans google-colab-notebook machine-learning python cgan cyclegan laplacian-filter pix2pix-gan-framework unsharp-mask

ai-art-generator's Introduction

AI-GENERATED-ART-GAN

AI Generated Art We convert sketch to abstract art using GAN

Follow these steps to execute the code

Step1: Create a shortcut of each of these folders in your drive

abstract art folder: https://drive.google.com/drive/folders/15znvQkI6IHrX7vtp4C2M9wwK4fzshs1A?usp=sharing realistic image folder: https://drive.google.com/drive/folders/1xI_kYC0eR95Hl8d4pnVR7beiJWiwEyLn?usp=sharing sketch folder: https://drive.google.com/drive/folders/1-3NWcsWYLQF9ino8w4Ns0WwG6pjZBGiI?usp=sharing Trained models: https://drive.google.com/drive/folders/1dd_hJMl-fivFSYV-JV2VQaIbB9aazPRP?usp=sharing

Step 2: Open The Chosen.ipynb file This contains the models that perform the best for converting sketch to realistic image which is followed by its conversion to abstract art.

Step 3: Running this file Make sure that you have downloaded highboost_pix2pix_real.h5 and lapfil_pix2pix_abs.h5 files and entered their path correctly Make sure you have loaded the path of the sample sketch from the sketch folder correctly For comaprison make sure you have loaded the path of the corresponding realistic image from the realistic image folder correctly Now run the code

You will be able to see the sketch input now transform into an abstract art You can also run the other .ipynb files in this repo to see output we got with other gan models by loading their Trained models

You can also watch this video to understand the working better: https://youtu.be/FAzkQlK5mMw

ai-art-generator's People

Contributors

rithikafjohnson avatar

Stargazers

 avatar  avatar  avatar  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.