mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 22:35:09 +00:00
fix to work ControlNetSubset with custom_attributes
This commit is contained in:
@@ -578,6 +578,7 @@ class ControlNetSubset(BaseSubset):
|
|||||||
caption_suffix,
|
caption_suffix,
|
||||||
token_warmup_min,
|
token_warmup_min,
|
||||||
token_warmup_step,
|
token_warmup_step,
|
||||||
|
custom_attributes: Optional[Dict[str, Any]] = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
assert image_dir is not None, "image_dir must be specified / image_dirは指定が必須です"
|
assert image_dir is not None, "image_dir must be specified / image_dirは指定が必須です"
|
||||||
|
|
||||||
@@ -602,6 +603,7 @@ class ControlNetSubset(BaseSubset):
|
|||||||
caption_suffix,
|
caption_suffix,
|
||||||
token_warmup_min,
|
token_warmup_min,
|
||||||
token_warmup_step,
|
token_warmup_step,
|
||||||
|
custom_attributes=custom_attributes,
|
||||||
)
|
)
|
||||||
|
|
||||||
self.conditioning_data_dir = conditioning_data_dir
|
self.conditioning_data_dir = conditioning_data_dir
|
||||||
|
|||||||
Reference in New Issue
Block a user