ziqihuangg / Collaborative-Diffusion

[CVPR 2023] Collaborative Diffusion
https://ziqihuangg.github.io/projects/collaborative-diffusion.html
Other
406 stars 31 forks source link

I'm so confused by https://github.com/ziqihuangg/Collaborative-Diffusion/blob/master/editing/collaborative_edit.py #38

Open min-star opened 4 months ago

min-star commented 4 months ago

what's optDM.ckpt?where to got it.

FileNotFoundError: [Errno 2] No such file or directory: './test_data/test_mask_edit/test/optDM.ckpt'

jupytera commented 4 months ago

Have you solved this problem yet? I have also encountered the same problem

min-star commented 4 months ago

not yet.maybe it just can be solved by the author.

---Original--- From: @.> Date: Sat, Jul 13, 2024 13:59 PM To: @.>; Cc: @.**@.>; Subject: Re: [ziqihuangg/Collaborative-Diffusion] I'm so confused byhttps://github.com/ziqihuangg/Collaborative-Diffusion/blob/master/editing/collaborative_edit.py(Issue #38)

Have you solved this problem yet? I have also encountered the same problem

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ziqihuangg commented 4 months ago

Hi, these are the intermediate outputs from the mask-based editing branch, specifically from this script: https://github.com/ziqihuangg/Collaborative-Diffusion/blob/master/editing/imagic_edit_mask.py What Collaborative Diffusion does is to collaborate the mask-based and text-based edits to enable a text&mask-based edit.

Gromitmugs commented 3 weeks ago

@min-star Basically just run both imagic_edit_mask.py and imagic_edit_text.py first. Then, you would use the results from those 2 as an input arg for collaborative_edit.py