layout-guidance icon indicating copy to clipboard operation
layout-guidance copied to clipboard

When will the real image editing released

Open RunpuWei opened this issue 1 year ago • 7 comments

Dear author.

Thank you for your awesome work, and congratulations on your work being accepted by WACV2024.

I wonder when the real image editing will be released, I am very interested in your work and hope to replicate it.

Thank you!

RunpuWei avatar Dec 04 '23 13:12 RunpuWei

Hi, thanks for your interest in our work. I plan to release the real image editing part within this month. Hope it can inspire you somehow.

silent-chen avatar Dec 04 '23 14:12 silent-chen

Sorry for the late update. I was kind of busy last month. I will try to clean up the code and release it soon.

silent-chen avatar Jan 14 '24 14:01 silent-chen

Thank you for your hard work. Looking forward to it!

RunpuWei avatar Jan 16 '24 05:01 RunpuWei

Has real image editing been released yet?

Sjey-Lyn avatar Mar 15 '24 02:03 Sjey-Lyn

Hi all, sorry for the late release. I just cleaned the real image editing code and pushed it to the repo. I also updated the dependent library because the CLIPFeatureExtractor is now deprecated in diffusers now. Please update the corresponding libs. Let me know if you have further questions.

silent-chen avatar Mar 18 '24 16:03 silent-chen

I'm using a 4090 and it's showing that I don't have enough cuda memory, what is the minimum amount of memory needed?

Sjey-Lyn avatar Mar 22 '24 01:03 Sjey-Lyn

It will cost ~28GB memory for text inversion and ~31GB for Dreambooth. To reduce the GPU memory usage in text inversion, you can try to reduce the batch size for text inversion by setting batch_size in conf/real_image_editing_config.yaml . To get similar results as using a batch size of 4, please use accumulated gradient and increase the iteration numbers accordinately. For dreambooth, it requires at least 30GB. You can probably reduce the memory usage by using xformers.

silent-chen avatar Mar 22 '24 04:03 silent-chen