Added a flag to keep loading the image when latents are cached. Useful for DFE and other methods that target pixelspace losses.
This commit is contained in:
1 parent
faa770fc79
commit
c730d64478
3 files changed
+18
-13
No files matched your search
@@ -962,6 +962,7 @@ class DatasetConfig:
|
||||
self.cache_latents_to_disk: bool = kwargs.get('cache_latents_to_disk', False)
|
||||
self.cache_clip_vision_to_disk: bool = kwargs.get('cache_clip_vision_to_disk', False)
|
||||
self.cache_text_embeddings: bool = kwargs.get('cache_text_embeddings', False)
|
||||
self.load_image_when_caching_latents: bool = kwargs.get('load_image_when_caching_latents', False)
|
||||
|
||||
self.standardize_images: bool = kwargs.get('standardize_images', False)
|
||||
|
||||
|
||||
Reference in new issue
Block a user