Switched ip adapter dataloader to clip_image paths so the control paths can be used for training assistant adapters while training ip adapters

This commit is contained in:
Jaret Burkett committed 2023-12-20 10:32:24 -07:00
1 parent dfb64b5957
commit 0f597f453e
5 files changed
+94 -12

No files matched your search

+3
View File
@@ -421,6 +421,9 @@ class DatasetConfig:
self.caption_type = self.caption_ext
self.guidance_type: GuidanceType = kwargs.get('guidance_type', 'targeted')
# ip adapter / reference dataset
self.clip_image_path: str = kwargs.get('clip_image_path', None) # depth maps, etc
def preprocess_dataset_raw_config(raw_config: List[dict]) -> List[dict]:
"""