Sen descrición

Hao SUN 7d73cf04f0 migrate to new scipy %!s(int64=4) %!d(string=hai) anos
datasets aa2d50d2df added data %!s(int64=6) %!d(string=hai) anos
imgs 9d0cb59da7 initial commit %!s(int64=6) %!d(string=hai) anos
.gitattributes c0c20cf92b Initial commit %!s(int64=6) %!d(string=hai) anos
.gitignore aa2d50d2df added data %!s(int64=6) %!d(string=hai) anos
README.md 7d73cf04f0 migrate to new scipy %!s(int64=4) %!d(string=hai) anos
dice_score.m 9d0cb59da7 initial commit %!s(int64=6) %!d(string=hai) anos
dice_score_multiple.m 9d0cb59da7 initial commit %!s(int64=6) %!d(string=hai) anos
main.py 7d73cf04f0 migrate to new scipy %!s(int64=4) %!d(string=hai) anos
model.py 7d73cf04f0 migrate to new scipy %!s(int64=4) %!d(string=hai) anos
module.py 9d0cb59da7 initial commit %!s(int64=6) %!d(string=hai) anos
ops.py 9d0cb59da7 initial commit %!s(int64=6) %!d(string=hai) anos
prepareimgs.m 9d0cb59da7 initial commit %!s(int64=6) %!d(string=hai) anos
requirements.txt 9d0cb59da7 initial commit %!s(int64=6) %!d(string=hai) anos
utils.py 7d73cf04f0 migrate to new scipy %!s(int64=4) %!d(string=hai) anos

README.md

CycleGAN

As proposed by Jun-Yan Zhu in Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks.

Prerequisites

  • tensorflow r1.1
  • numpy 1.11.0
  • scipy 0.17.0
  • pillow 3.3.0

Train

python main.py --dataset_dir=med-image

Test

python main.py --dataset_dir=med-image --phase=test --which_direction=AtoB

References