Git Product home page Git Product logo

cycle-ir's Introduction

Cycle-IR: Deep Cyclic Image Retargeting

1. Overview

Paper

This is a Tensorflow implementation of Cycle-IR approach for content-aware image retargeting. The munuscript is available at: https://ieeexplore.ieee.org/document/8943352.

Result

The retargeting results of our approach on RetargetMe dataset are available at the folder "Our Cycle-IR result".

Citation

@ARTICLE{CycleIR_TMM2019, author={W. {Tan} and B. {Yan} and C. {Lin} and X. {Niu}}, journal={IEEE Transactions on Multimedia (TMM'2019)}, title={Cycle-IR: Deep Cyclic Image Retargeting}, year={2019}, volume={}, number={}, pages={1-1}, doi={10.1109/TMM.2019.2959925}, ISSN={1941-0077}, month={},}

This project includes the source code of TensorFlow implementation for our munuscript of "Cycle-IR: Deep Cyclic Image Retargeting". We demonstrate that image retargeting problem can be solved by using a promising way of unsupervised deep learning.

2. System requirements

2.1 Hardware Requirements

The package requires only a standard computer with GPU and enough RAM to support the operations defined by a user. 
For optimal performance, we recommend a computer with the following specs:
RAM: 32+ GB
CPU: 8+ cores, 3.6+ GHz/core
GPU:GeForce RTX 1080 Ti GPU

2.2 Software Requirements

numpy 1.15.4
tensorflow 1.6.0
scipy 1.1.0
scikit-learn 0.20.2
scikit-image 0.14.1
opencv-python 3.3.0.10
matplotlib 3.0.2
pillow 5.3.0

3. Installation Guide

A working version of CUDA, python and tensorflow. This should be easy and simple installation. CUDA(https://developer.nvidia.com/cuda-downloads) tensorflow(https://www.tensorflow.org/install/) python(https://www.python.org/downloads/)

4. Usage of source code

Download traning data and put it into the folder of "training data" Download VGG-16 model and put it into the folder of "VGG_MODEL" please be careful of the consistency of these names with the code. These may be some changes to make them consistency.

4.1 run test_CycleIR.py to test the images in the "test_image" folder.

4.2 run train_CycleIR.py to training. The trained model is saved in the ckpt-wgan folder.

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.