CycleGAN implementation in tensorflow using keras layers
Supports up to 2 GPUs
- Supports up to 2 GPUs
- Outputs a TensorBoard log file and the model checkpoints in the 'runs' directory
- The model checkpoints are at the Keras hdf5 saved model format. To load a model, use keras.models.load_model(path_to_model)
See example_config.py
python train.py config_file dataA_path dataB_path
python src/train.py config_file dataA_path dataB_path path_to_checkpoints epoch
python src/generate.py checkpoint_path files_path output_path
- python3
- numpy
- tensorflow >= 1.10
- python-opencv
- progressbar2
- Vanilla CycleGAN generator and discriminator
- PatchGAN discriminator
- UNet generator