You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more details, please read example.ipynb. Please feel free to pull your proposed fundus enhancement methods as backend.
Catalog
Training guidance
Support for ArcNet and SCRNet
Add related codes for data-driven degradation
Inference pipeline
Train
For training your own LED, you need to update few lines in configs/train_led.yaml
train_good_image_dir: # update to training hq images directrorytrain_bad_image_dir: # update to training lq images directrorytrain_degraded_image_dir: # update to training degraded images directroryval_good_image_dir: # update to validation hq images directroryval_bad_image_dir: # update to validation lq images directrory
Please note that train_degraded_image_dir should contain degraded high-qualty images by any data-driven methods. We will inculde related codes in our future workspace. However, you can consider using some existing repos instead, like CUT or CycleGAN.
More GPUs will take significant performance improvement.
Acknowledgement
Thanks for PCENet, ArcNet and SCRNet for sharing their powerful pre-trained weights! Thansk for diffusers for sharing codes.
Citation
If this work is helpful for your research, please consider citing the following BibTeX entry.
@article{cheng2023learning,
title={Learning Enhancement From Degradation: A Diffusion Model For Fundus Image Enhancement},
author={Cheng, Pujin and Lin, Li and Huang, Yijin and He, Huaqing and Luo, Wenhan and Tang, Xiaoying},
journal={arXiv preprint arXiv:2303.04603},
year={2023}
}
License
This repository is released under the Apache 2.0 license as found in the LICENSE file.
About
Learning Enhancement From Degradation: A Diffusion Model For Fundus Image Enhancement