Feat: Wandb logging (#95)

* wandb logging

* fix: start logging before train loop

* chore: add wandb dir to gitignore

* fix: wrap wandb functions

* fix: forget to send last samples

* chore: use valid type

* chore: use None when not type-checking

* chore: resolved complicated logic

* fix: follow log_every

---------

Co-authored-by: Plat <github@p1at.dev>
Co-authored-by: Jaret Burkett <jaretburkett@gmail.com>
This commit is contained in:
authored and GitHub committed 2024-09-19 20:01:01 -06:00
1 parent 951e223481
commit 79b4e04b80
6 files changed
+136 -7

No files matched your search

+1
View File
@@ -1318,6 +1318,7 @@ class StableDiffusion:
).images[0]
gen_config.save_image(img, i)
gen_config.log_image(img, i)
if self.adapter is not None and isinstance(self.adapter, ReferenceAdapter):
self.adapter.clear_memory()