Git Product home page Git Product logo

deepharmonization's Introduction

Deep Image Harmonization

Alt Text

Project webpage: https://sites.google.com/site/yihsuantsai/research/cvpr17-harmonization
Contact: Yi-Hsuan Tsai (wasidennis at gmail dot com)

Paper

Deep Image Harmonization
Yi-Hsuan Tsai, Xiaohui Shen, Zhe Lin, Kalyan Sunkavalli, Xin Lu and Ming-Hsuan Yang
IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017.

This is the authors' demo code described in the above paper. Please cite our paper if you find it useful for your research.

Installation and Usage

  • Download and unzip the code.

  • Install Caffe: http://caffe.berkeleyvision.org/.

  • Download the pre-trained caffe model and move it under the model folder.

  • Run demo.py on real composite images (including our test set collected in the paper).

Evaluation Set

  • Download our complete set of real composite images, including our harmonization results here.

Note

The model, code and dataset are available for non-commercial research purposes only.

Log

  • 03/2017: demo code released
  • 05/2017: complete evaluation set released

deepharmonization's People

Contributors

wasidennis 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  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

deepharmonization's Issues

Curated Dataset for Training

Is it possible for you to share the complete dataset (including ground truth) you used for training the model (apart from test images you shared)?

About your network achitecture

Hi, Thanks for your useful code, I have a problem when I trying to reproduce your experiment.
For the last Conv layer used in the network, you said it's a 4x4 conv layer in your paper, but in your prototxt, it's a fully-connected layer. If you could answer my question, It would be very appreciated.

Running demo.py resulting in complete white images

Hi,
I just tried to run the demo.py script, and the results are all white. I wanted to debug it to see the output values before the clipping to 0,255 but I don't see what I'm trying to print (I'm new to caffe - is it not possible to print to std out on inference?).

Caffe version: 0.17.0
Ubuntu: 16.04.2
Python: 2.7.12

Thank you!
Adva

Can not initiate a model

Hi guys,
Thanks for the interesting paper and released code!

I've downloaded a model (harmonize_iter_200000.caffemodel) but it's not working:

root@6400dcb7b629:/DeepHarmonization# python demo.py
...
I0222 20:06:22.437355    17 net.cpp:284] Network initialization done.
I0222 20:06:22.616809    17 net.cpp:791] Ignoring source layer data
I0222 20:06:22.616827    17 net.cpp:791] Ignoring source layer mask_data_1_split
F0222 20:06:22.616842    17 net.cpp:797] Check failed: target_blobs.size() == source_layer.blobs_size() (5 vs. 3) Incompatible number of blobs for layer bn0
*** Check failure stack trace: ***
Aborted (core dumped)

Are there any specific requirements I should care about?

Ask for help about caffemodel

Thanks for your open source code for others. However, it is said that the caffemodel to this link has been removed or set to be private. Can you provide another link to the caffemodel? Thank you very much!

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.