Giter Site home page Giter Site logo

tanminggang / smart-sketch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from noyoshi/smart-sketch

0.0 0.0 0.0 138.27 MB

๐Ÿ–Œ photorealistic drawings from simple sketches using NVIDIA's GauGAN

License: GNU General Public License v3.0

Dockerfile 0.13% Shell 0.35% Python 84.63% HTML 8.23% JavaScript 5.31% CSS 1.34%

smart-sketch's Introduction

SmartSketch

Supercharge your creativity with state of the art image synthesis

promo.png

Video Demo below!

Credits

Set Up

  • You'll need to install the pretrained generator model for the COCO dataset into checkpoints/coco_pretrained/. Instructions for this can be found on the nvlabs/spade repo.

  • Make sure you install all the Python requirements using pip3 install -r requirements.txt (in /backend folder).

  • Once you do so, you should be able to run the server using python3 server.py. It will run it on 0.0.0.0 on port 80 (on 127.0.0.1 for Windows users). Unfortunately, these are hardcoded into the server and right now you cannot pass CLI arguments to the server to specify the port and host, as the PyTorch stuff also reads from the command line (will fix this soon). If you would like to change this, locate line 195 in backend/server.py.

TODOS

  • Change how we run the model, make it easier to use (don't use their options object)
  • Make a seperate frontend server and a backend server (for scaling)
  • Try to containerize at least the backend components

smart-sketch's People

Contributors

noyoshi avatar tinawu-23 avatar gabemagee 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.