Added this not that guidance. Added ability to replace prompts.

This commit is contained in:
Jaret Burkett committed 2024-02-28 20:10:14 -07:00
1 parent 561914d8e6
commit 337945de9a
7 files changed
+114 -5

No files matched your search

+2
View File
@@ -496,6 +496,8 @@ class DatasetConfig:
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)
self.replacements: List[str] = kwargs.get('replacements', [])
self.loss_multiplier: float = kwargs.get('loss_multiplier', 1.0)
def preprocess_dataset_raw_config(raw_config: List[dict]) -> List[dict]: