Coder Social home page Coder Social logo

thanos-server's Introduction

Frontend repo is here

Process

Instance Segmentation & Generative Inpainting

Example Cases

Before you start

Locate inpaint directory under the model_logs directory

Run

1. Run your virtualenv with python3

2. Install dependency with pip install -r requirements.txt

3. Start Flask server with S3_BUCKET_NAME='YOUR_BUCKET_NAME' python app.py

Project Structure

app.py

Contain Flask's endpoint handler. Integrating and Image save process are located.

segmentation.py

Contain instant segmentation logic with torchvision. This module generate four image.

  1. Persons erased image
  2. Whole persons mask
  3. Half of persons mask
  4. Another half of persons mask

inpaint.py

Contain inpainting logic with tensorflow. From the segmentation module's '1. Persons erased image' and '2. whole persons mask', process inpainting logic and return output image.

thanos-server's People

Contributors

jiggum avatar

Stargazers

snoop2head avatar SUK HWA HAM avatar

Watchers

James Cloos 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.