Inverting the color of MNIST images from black to white and white to black using CycleGAN implemented with PyTorch.
- Python 3.6
- PyTorch 0.1.12 (PyTorch is currently available only on Linux and OSX)
- The code has been written on Linux (ubuntu 16.04 LTS) system
$ python CycleGAN_MNIST_Invert.py
Number of Iteration | Original Image | Generated (Inverted) Image |
---|---|---|
0 | ![]() |
![]() |
15 | ![]() |
![]() |
300 | ![]() |
![]() |
Number of Iteration | Original Image | Generated (Inverted) Image |
---|---|---|
0 | ![]() |
![]() |
15 | ![]() |
![]() |
300 | ![]() |
![]() |