Git Product home page Git Product logo

sketchedit's Introduction

SketchEdit: Mask-Free Local Image Manipulation with Partial Sketches

[Paper][Project Page][Interactive Demo][Supplementary Material]

img

Update

Star this project to get notified.

  • 🆕 Uploading custom photos are now enabled in the demo
  • 🆕 Edit face in a fullbody/upper body photo

  • 🆕 Enable general scenes editing in the demo
  • Exposing predicted mask & mask revising?

Usage

environment

The code only has been tested on Ubuntu 20.04.

GPU is required.

  1. Clone the repo:
git clone --single-branch https://github.com/zengxianyu/sketchedit
git submodule init
git submodule update
  1. Install using the provided docker file Dockerfile or
conda env create -f environment.yml
  1. Switch to the installed environment
conda activate editline

Testing

  1. Download pretrained model
chmod +x download/*
./download/download_model.sh
  1. Use the model trained on CelebAHQ
./test_celeb.sh
  1. Use the model trained on Places
./test_places.sh

Interactive demo

http://47.57.135.203:8001/

Training code and data

Training code and data is coming soon. Star this project to get notified.

Citation

@inproceedings{zeng2022sketchedit,
  title={SketchEdit: Mask-Free Local Image Manipulation with Partial Sketches},
  author={Zeng, Yu and Lin, Zhe and Patel, Vishal M.},
  booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
  year={2022}
}

Acknowledgments

sketchedit's People

Contributors

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