Code Monkey home page Code Monkey logo

acl-gan's Introduction

Paper

Yihao Zhao, Ruihai Wu, Hao Dong, "Unpaired Image-to-Image Translation using Adversarial Consistency Loss", ECCV 2020

arXiv

project page

Code usage

For environment:

conda env create -f acl-gan.yaml

For dataset: The dataset should be stored in the following format:

\dataset

|     \train

|     |     \trainA

|     |     \trainB

|     \test

|     |     \testA

|     |     \testB

For training:

python train.py --config configs/male2female.yaml

For test:

python test.py --config configs/male2female.yaml --input inputs/test_male.jpg --checkpoint ./outputs/male2female/checkpoints/test.pt

Experimental Results

Ablation study

ablation_study

Male-to-female

male2female

Glasses Removal

glasses_removal

Selfie-to-anime

selfie2anime

For more results, please refer to our paper.

Citation

If you find this code useful for your research, please cite our paper:

@inproceedings{zhao2020aclgan,
  title={Unpaired Image-to-Image Translation using Adversarial Consistency Loss},
  author={Zhao, Yihao and Wu, Ruihai and Dong, Hao},
  booktitle={ECCV},
  year={2020}
}

acl-gan's People

Contributors

rivendile avatar zsdonghao 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.