Giter Site home page Giter Site logo

val-iisc / sketch-parse Goto Github PK

View Code? Open in Web Editor NEW
79.0 12.0 13.0 30.13 MB

Code, demos and data for SketchParse (a neural network for sketch segmentation). Paper:

Home Page: https://arxiv.org/abs/1709.01295

License: MIT License

Python 7.79% CSS 0.26% JavaScript 24.14% HTML 0.79% Jupyter Notebook 31.48% MATLAB 23.82% C++ 11.73% M 0.01%
semantic-segmentation sketches pytorch deep-learning

sketch-parse's Introduction

sketch-parse

This repository contains code and additional material for our paper titled "SketchParse: Towards Rich Descriptions For Poorly Drawn Sketches Using Multi-Task Deep Networks", ACM Multimedia (ACMMM) 2017.

This is a neural network for (semantic) sketch segmentation. Use it to associate semantics with your freehand sketches!

Results

The four panels are chosen from the 100th, 75th, 50th, 25th percentile accuracy of segmentation (by IoU) respectively. As you can see, even in (relatively) bad cases, we can provide fairly accurate segmentations!

Model

We have a multi-task deep neural network that can segment freehand sketches as well as predict a global pose:

Results

Contents

Requirements

This code was developed and tested on an Ubuntu 14.04 machine with python 2.7 and pyTorch (v0.1.12). We used an NVIDIA TITAN X for training and evaluating our model.

If you use this work, please cite the paper:

SketchParse: Towards Rich Descriptions For Poorly Drawn Sketches Using Multi-Task Deep Networks

Questions ?

  • For questions regarding the main segmentation network, please contact Isht ([email protected])

  • For questions regarding the annotation tool, please contact Sahil ([email protected])

  • For questions regarding the pose subnetwork and the sketch-based image retrieval application, please contact Abhijat ([email protected])

  • For any other questions, please contact Ravi ([email protected])

sketch-parse's People

Contributors

ajdroid avatar altairmn avatar dependabot[bot] avatar isht7 avatar ravika avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sketch-parse's Issues

Requesting for Caffe folder

Hi, when i run "table1.py" with my caffe folder, it got this error "ImportError: /home/vipgpu/trang/caffe/python/caffe/../../build/lib/libcaffe.so.1.0.0: undefined symbol:_ZN5caffe20hdf5_load_nd_datasetIdEEvlPKciiPNS_4BlobIT_EEb"
Can you upload your your caffe folder which you used in this project?

Thanks

'unexpected key "pose_r0.PoseC1.0.weight" in state_dict'

Hi, I tried to run "Retrieval-demo.ipynb" in 'retrieval-src" folder to get segment for sketch. But i dunno why it got this error "unexpected key "pose_r0.PoseC1.0.weight" in state_dict" when loading model using this command: "model.load_state_dict(saved_state_dict)".
Im sure that i downloaded "model_r5_p50x_D1_17000.pth" file and it is in correct folder.
Do you have any suggestion?
Thanks

Which model is the one that get the best performance?

Hi,

As you have uploaded too much models, I cannot tell which one is the model with the best performance. Can you tell me which one is the best? I think it should corresponds to the one named "BCP-R5" (63.17%) in Table 6 of your paper.

Thank you very much.

Train model with new data

Hi,
I want to train model again with my data. My data is sketch of human object with 14 parts segmentation (hair, face, arm, leg,shoes, dress, skirt...). could you give me some suggestions to get good result for this new data? so far my result is not good.
This is example of my sketch and segmentation of human object:
10_a
10_a
Thanks

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.