ironjr commited on
Commit
57663b4
1 Parent(s): 2b068ec

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +0 -2
model.py CHANGED
@@ -1138,7 +1138,6 @@ class StreamMultiDiffusion(nn.Module):
1138
  bootstrap_mask_ = torch.concat([bootstrap_mask, bootstrap_mask], dim=0)
1139
  else:
1140
  bootstrap_mask_ = bootstrap_mask
1141
- print('2222222222222222222222222222222222222', model_pred.shape, bootstrap_mask_)
1142
  model_pred = shift_to_mask_bbox_center(model_pred, bootstrap_mask_)
1143
  x_t_latent = shift_to_mask_bbox_center(x_t_latent, bootstrap_mask)
1144
 
@@ -1223,7 +1222,6 @@ class StreamMultiDiffusion(nn.Module):
1223
  self.stock_noise_ = self.stock_noise.repeat_interleave(self.num_layers, dim=0) # (T * p, 77, 768)
1224
 
1225
  x_0_pred_batch = self.unet_step(latent)
1226
- print('111111111111111111111111111111111')
1227
  latent = x_0_pred_batch[-1:]
1228
  self.x_t_latent_buffer = (
1229
  self.alpha_prod_t_sqrt[1:] * x_0_pred_batch[:-1]
 
1138
  bootstrap_mask_ = torch.concat([bootstrap_mask, bootstrap_mask], dim=0)
1139
  else:
1140
  bootstrap_mask_ = bootstrap_mask
 
1141
  model_pred = shift_to_mask_bbox_center(model_pred, bootstrap_mask_)
1142
  x_t_latent = shift_to_mask_bbox_center(x_t_latent, bootstrap_mask)
1143
 
 
1222
  self.stock_noise_ = self.stock_noise.repeat_interleave(self.num_layers, dim=0) # (T * p, 77, 768)
1223
 
1224
  x_0_pred_batch = self.unet_step(latent)
 
1225
  latent = x_0_pred_batch[-1:]
1226
  self.x_t_latent_buffer = (
1227
  self.alpha_prod_t_sqrt[1:] * x_0_pred_batch[:-1]