IGITUGraz / WeatherDiffusion

Code for "Restoring Vision in Adverse Weather Conditions with Patch-Based Denoising Diffusion Models" [TPAMI 2023]
MIT License
286 stars 25 forks source link

Could you provide train bash? #11

Closed YifanChen-thu closed 1 year ago

YifanChen-thu commented 1 year ago

Thank you for your wonderful work.Could you provide train bash or correct my bash? I find some color differences when I use your code to train other images.Thus, I want to check if this is something wrong with train bash.

my train bash: CUDA_VISIBLE_DEVICES=1,2 python train_diffusion.py --config "allweather.yml" --image_folder='results/all_weather'

oozdenizci commented 1 year ago

Thanks! The train bash would exactly be as you indicate here. The config file 'allweather.yml' should in this case be of course modified according to your input images' directory etc.

What kind of color differences? Early during training, generated patch samples collected in the image_folder might have significant contrast differences of course, which is normal. This should vanish later during training.