various bug fixes. Created an contextual alpha mask module to calculate alpha mask
This commit is contained in:
@@ -1085,7 +1085,7 @@ class SDTrainer(BaseSDTrainProcess):
|
||||
noise=noise,
|
||||
batch=batch,
|
||||
unconditional_embeds=unconditional_embeds
|
||||
)
|
||||
).detach()
|
||||
|
||||
# do the custom adapter after the prior prediction
|
||||
if self.adapter and isinstance(self.adapter, CustomAdapter) and has_clip_image:
|
||||
|
||||
Reference in New Issue
Block a user