ShadowDiffusion icon indicating copy to clipboard operation
ShadowDiffusion copied to clipboard

About Predict

Open finnn00 opened this issue 1 year ago • 1 comments

If now I only have a shadow image, how can the model predict and generate the shadow-free image ? Does the model include a mask detector?

finnn00 avatar Feb 12 '24 09:02 finnn00

This repo does not include a mask detector. But you can try to initialize the shadow mask as all-one matrix and re-train (or finetune) the model.

GuoLanqing avatar Feb 16 '24 08:02 GuoLanqing

If now I only have a shadow image, how can the model predict and generate the shadow-free image ? Does the model include a mask detector?

I am very sorry for asking again after so long. I want to use custom images. I saw infer.py but the sr_sr3_64_512.json mentioned in it is not provided. Thank you very much for helping me use custom images

7yzx avatar Mar 28 '25 14:03 7yzx