mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
add attention masks
This commit is contained in:
@@ -152,6 +152,8 @@ class StableDiffusionProcessing:
|
||||
self.positive_pooleds = []
|
||||
self.negative_embeds = []
|
||||
self.negative_pooleds = []
|
||||
self.prompt_attention_masks = []
|
||||
self.negative_prompt_attention_masks = []
|
||||
self.disable_extra_networks = False
|
||||
self.iteration = 0
|
||||
self.network_data = {}
|
||||
@@ -321,6 +323,8 @@ class StableDiffusionProcessing:
|
||||
self.positive_pooleds = []
|
||||
self.negative_embeds = []
|
||||
self.negative_pooleds = []
|
||||
self.prompt_attention_masks = []
|
||||
self.negative_prompt_attention_mask = []
|
||||
|
||||
def __str__(self):
|
||||
return f'{self.__class__.__name__}: {self.__dict__}'
|
||||
|
||||
Reference in New Issue
Block a user