hgupta01 / Weather_Effect_Generator

Code to generate adverse weather effect in RGB images
Apache License 2.0
20 stars 6 forks source link

The speed of clear2snowy #6

Open Z-Z188 opened 2 months ago

Z-Z188 commented 2 months ago

Hello author, thank you very much for your work. I used the model you provided for clear2rain and clear2snow, and the results were good. But the speed of clear2snow is very slow, almost 30 seconds to process a picture, is this normal? Looking forward to your reply, thank you!!

hgupta01 commented 2 months ago

Hi, thanks for the interest.

Yes, snow generation is time-consuming because of the crystallization effect applied to the snow mask. If the amount of noise is large, the time will increase. To speed up the process, you can replace the snow mask generation with the precomputed masks provided in the SRRS (Snow Removal in a Realistic Scenario) dataset.

Z-Z188 commented 2 months ago

Hi, thanks for the interest.

Yes, snow generation is time-consuming because of the crystallization effect applied to the snow mask. If the amount of noise is large, the time will increase. To speed up the process, you can replace the snow mask generation with the precomputed masks provided in the SRRS (Snow Removal in a Realistic Scenario) dataset.

Thanks for the advice! Do you think it's possible to speed up the process of generating snow masks on GPU? Looking forward to your reply, thank you!!!