Pusheen commited on
Commit
cb81ccc
1 Parent(s): 3bb012e

Update gligen/ldm/models/diffusion/plms.py

Browse files
gligen/ldm/models/diffusion/plms.py CHANGED
@@ -172,7 +172,8 @@ class PLMSSampler(object):
172
  # return x
173
 
174
  def update_loss_LoCo(self, input,index1, index, ts,type_loss='self_accross'):
175
-
 
176
  if index1 < 10:
177
  loss_scale = 5
178
  max_iter = 5
 
172
  # return x
173
 
174
  def update_loss_LoCo(self, input,index1, index, ts,type_loss='self_accross'):
175
+
176
+ max_iter = 0
177
  if index1 < 10:
178
  loss_scale = 5
179
  max_iter = 5