Spaces:
Runtime error
Runtime error
attention-refocusing
commited on
Commit
β’
530dd92
1
Parent(s):
ff2c5f2
Update gligen/ldm/models/diffusion/plms.py
Browse files
gligen/ldm/models/diffusion/plms.py
CHANGED
@@ -125,11 +125,11 @@ class PLMSSampler(object):
|
|
125 |
loss_scale = 3
|
126 |
max_iter = 1
|
127 |
else:
|
128 |
-
loss_scale =
|
129 |
max_iter = 1
|
130 |
|
131 |
loss_threshold = 0.1
|
132 |
-
max_index =
|
133 |
x = deepcopy(input["x"])
|
134 |
iteration = 0
|
135 |
loss = torch.tensor(10000)
|
|
|
125 |
loss_scale = 3
|
126 |
max_iter = 1
|
127 |
else:
|
128 |
+
loss_scale = 1
|
129 |
max_iter = 1
|
130 |
|
131 |
loss_threshold = 0.1
|
132 |
+
max_index = 30
|
133 |
x = deepcopy(input["x"])
|
134 |
iteration = 0
|
135 |
loss = torch.tensor(10000)
|