Fixes for sdxl ip adapter training. Bug fixes

This commit is contained in:
Jaret Burkett
2023-12-21 11:15:58 -07:00
parent 0f597f453e
commit 7703e3a15e
5 changed files with 63 additions and 11 deletions

View File

@@ -423,6 +423,8 @@ class DatasetConfig:
# ip adapter / reference dataset
self.clip_image_path: str = kwargs.get('clip_image_path', None) # depth maps, etc
self.clip_image_augmentations: List[dict] = kwargs.get('clip_image_augmentations', None)
self.clip_image_shuffle_augmentations: bool = kwargs.get('clip_image_shuffle_augmentations', False)
def preprocess_dataset_raw_config(raw_config: List[dict]) -> List[dict]: