gwang-kim / DiffusionCLIP

[CVPR 2022] Official PyTorch Implementation for DiffusionCLIP: Text-guided Image Manipulation Using Diffusion Models
Other
785 stars 113 forks source link

How to see the reconstructed face ? #9

Closed Jiakui closed 2 years ago

Jiakui commented 2 years ago

Dear author,

The command "python main.py --edit_one_image " let me see the edited face, but I also want to see the reconstructed face without any editing. How could I do that ?

Thanks!

winnechan commented 2 years ago

I think you can try setting "self.args.deterministic_inv" as True. However, in my reimplementation of the "edit_one_image" function for my own diffusion model, I cannot reconstruct the image for large t0.

gwang-kim commented 2 years ago

Hi, @Jiakui. As @winnechan commented, you can try setting self.args.deterministic_inv as 1.