image-restoration-sde
image-restoration-sde copied to clipboard
Shadow removing model
Hi!
I can't find a pretrained model for the shadow removing task in the list you provided.
https://drive.google.com/drive/folders/1RxkJ9u-vR3UlJ5PYy1D7jienEZd5d6my
Hi here is the link for our Refusion model’s weights and results: https://drive.google.com/drive/folders/1Xy7z9CH0weck775ixePnjD6fZIjAbre7?usp=share_link
Thank you so much!
Is it possible to provide a tile processing script for deshadow task? I have out of memory when trying to process 3072*4608 image.
Hi, I think the current shadow removal code can't process such a large-size image. One possible way is to downsample the image with a smaller size (e.g., [w/2, h/2]) and then upsample it after deshadowing. It might lose some accuracy but is the simplest way to process large images.
And another choice is to re-train a latent-refusion model to process large-size images (please refer to the code of unet-latent and latent-dehazing).