diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

[Dreambooth] Add a function to log interim generation

Open discus0434 opened this issue 3 years ago • 2 comments

This pull request allows to log interim generation during Dreambooth.

Usage add an argument --generating_progress_steps <int>. The process generates an interim image per steps you choose. To be able to generate deterministically, you can also set --seed argument such as --seed 42.

Generated images are stored at f"{args.output_dir}/logs/.

This PR is almost same as #1711 . To avoid throw PR from main, I reopen this one.

discus0434 avatar Dec 15 '22 11:12 discus0434

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

This should be solved by: https://github.com/huggingface/diffusers/pull/1668 no?

patrickvonplaten avatar Dec 19 '22 17:12 patrickvonplaten

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Jan 14 '23 15:01 github-actions[bot]

This is actually not solved yet (cc @patil-suraj ).

Same issue was opened here: https://github.com/huggingface/diffusers/issues/1993

patrickvonplaten avatar Jan 16 '23 11:01 patrickvonplaten

Adding this to my todo list.

patil-suraj avatar Jan 16 '23 13:01 patil-suraj

We should add intermediate logging exactly as it's done here for textual inversion actually: https://github.com/huggingface/diffusers/pull/2178#pullrequestreview-1298450036

patrickvonplaten avatar Feb 14 '23 21:02 patrickvonplaten

cc @yiyixuxu would you like to give this a try?

patrickvonplaten avatar Mar 02 '23 17:03 patrickvonplaten