mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-03-08 03:59:49 +00:00
Added a converter back to ldm from diffusers for sdxl. Can finally get to training it properly
This commit is contained in:
@@ -95,7 +95,7 @@ class ImageReferenceSliderTrainerProcess(BaseSDTrainProcess):
|
||||
if weight_jitter > 0.0:
|
||||
jitter_list = random.uniform(-weight_jitter, weight_jitter)
|
||||
network_pos_weight += jitter_list
|
||||
network_neg_weight += jitter_list
|
||||
network_neg_weight += (jitter_list * -1.0)
|
||||
|
||||
# if items in network_weight list are tensors, convert them to floats
|
||||
|
||||
|
||||
Reference in New Issue
Block a user