Coder Social home page Coder Social logo

image_barycenters's Introduction

image_barycenters

This repository can be used to reproduced the results reported in our paper, accepted to CVPR 2020.

If you use our work, please cite it:

@InProceedings{Simon_2020_CVPR,
author = {Simon, Dror and Aberdam, Aviad},
title = {Barycenters of Natural Images Constrained Wasserstein Barycenters for Image Morphing},
booktitle = {The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2020}
}

Training the model

  1. Download your data to the dataset folder. You can use the provided download script to start off with the Zappos50K dataset.
  2. Run train.py

Using Trained models

The networks folder contains a link for you to download models trained on the Zappos50K dataset.

Creating image transformations

Run generate_morph.py. If you do not mention specific images, random samples will be chosen from the provided dataset.

By default, the results will be saved to the "results" folder. Each output contains 3 rows in the following order:

  1. Optimal transport
  2. Our method
  3. GAN linear interpolation

Some samples:

image_barycenters's People

Contributors

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