Note
November 2024: New Pre-trained Models are available, check the Pre-trained Models section.
This project is the implementation for my Computer Science MSc thesis in the University of Debrecen.
Dissertation: [PDF] Simulating Weather Conditions on Digital Images (Debrecen, 2020).
Foggy-CycleGAN is a CycleGAN model trained to synthesize fog on clear images. More details in the dissertation above.
The full source code is available under GPL-3.0 License in my Github repository ghaiszaher/Foggy-CycleGAN
A Jupyter Notebook file Foggy_CycleGAN.ipynb is available in the repository.
(as of June 2020)
As previous pre-trained models are no longer compatible with newer Keras/Tensorflow versions, I have retrained the model and made the new weights available to download.
Each of the following models was trained in Google Colab using the same dataset, the parameters for building the models and number of trained epochs are a bit different:
Model | Trained Epochs | Config |
---|---|---|
2020-06 (legacy) | 145 |
use_transmission_map=False use_gauss_filter=False use_resize_conv=False |
2024-11-17-rev1-000 | 522 |
use_transmission_map=False use_gauss_filter=False use_resize_conv=False |
2024-11-17-rev2-110 | 100 |
use_transmission_map=True use_gauss_filter=True use_resize_conv=False |
2024-11-17-rev3-111 | 103 |
use_transmission_map=True use_gauss_filter=True use_resize_conv=True |
2024-11-17-rev4-001 | 39 |
use_transmission_map=False use_gauss_filter=False use_resize_conv=True |
The results of the new models are similar to the previous ones, here are some samples: