Coder Social home page Coder Social logo

liuguoyou / coupe.unsupervised-color-enhance Goto Github PK

View Code? Open in Web Editor NEW

This project forked from posgraph/coupe.unsupervised-color-enhance

0.0 1.0 0.0 13.86 MB

Unsupervised image color enhancement using implementation of CycleGAN-tensorflow

License: GNU Affero General Public License v3.0

Shell 3.25% Python 96.75%

coupe.unsupervised-color-enhance's Introduction

Unsupervised Color Enhancement

Tensorflow implementation for learning an image-to-image color enhancement using CycleGAN structure (unsupervised).

For image example: color_enhance

It learns color affine transform function for each pixel in CIE L*a*b*. Network structure for transformation network looks: affine_structure

This implementation is based on CycleGAN-tensorflow of xhujoy (https://github.com/xhujoy). This repository contains train and test codes for reproduce. Pretrained network model and dataset will be distributed soon.


Prerequisites

  • tensorflow r1.0 or higher version
  • numpy 1.11.0
  • scipy 0.17.0
  • pillow 3.3.0

Getting Started

Installation

git clone https://github.com/JunhoJeon/unsupervised-color-enhance
cd CycleGAN-tensorflow

Main Files

  • main.py: Main training/testing code
  • model.py: CycleGAN model code for training and testing
  • module.py: Defining network structure (affine transformation network)
  • train.sh: Training shell script for parameterized training

Training and Test Details

To train a model,

CUDA_VISIBLE_DEVICES=0 python main.py --dataset_dir=/path/to/data/

Models are saved to ./checkpoints/ (can be changed by passing --checkpoint_dir=your_dir).

To test the model,

CUDA_VISIBLE_DEVICES=0 python main.py --dataset_dir=/path/to/data/ --phase=test --which_direction=AtoB/BtoA

Reference

License

This software is being made available under the terms in the LICENSE file.

Any exemptions to these terms requires a license from the Pohang University of Science and Technology.

About Coupe Project

Project ‘COUPE’ aims to develop software that evaluates and improves the quality of images and videos based on big visual data. To achieve the goal, we extract sharpness, color, composition features from images and develop technologies for restoring and improving by using it. In addition, personalization technology through user preference analysis is under study.

Please checkout out other Coupe repositories in our Posgraph github organization.

Useful Links

coupe.unsupervised-color-enhance's People

Contributors

cyberj0g avatar junhojeon avatar spacejake avatar

Watchers

 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.