ykdai / Flare7K

Official Implementation of "Flare7K: A Phenomenological Nighttime Flare Removal Dataset"
https://ykdai.github.io/projects/Flare7K
Other
119 stars 16 forks source link

Training with U-Net #24

Open clue3clue32 opened 1 month ago

clue3clue32 commented 1 month ago

Hi, I was trying to reproduce the training process of Unet with unet_arch.py under the basicsr/archs folder. I changed the parameter 'type' of 'network_g' to 'U_Net' and remove the 'img_size' in uformer_flare7kpp_baseline_option.yml. No errors were reported during the training process. The results of running test.py on checkpoints are as follows : net_g_5000: 00000_blend_5000 net_g_10000: 00000_blend_10000 net_g_25000: 00000_blend_25000 What led to the occurrence of this problem? Thank you!

ykdai commented 1 month ago

Have you ever tried to modify the config using U-Net based on 'uformer_flare7k_option.yml'? In my memory, using U-Net on flare7kpp's setting is a little bit difficult to converge.

clue3clue32 commented 3 weeks ago

Thanks for your reply, the results based on uformer_flare7k_option.yml under the blend folder are like this: 00025_blend 00006_blend

ykdai commented 3 weeks ago

Have you ever checked the dataloader's output of your training data, or can you report the trainning log? The seems that the deflared image is just the black image.