wondervictor commited on
Commit
e57f3c4
·
verified ·
1 Parent(s): 340cc7b

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +0 -1
model.py CHANGED
@@ -279,7 +279,6 @@ class Model:
279
  sample.permute(1, 2, 0).cpu().detach().numpy().clip(0, 255).astype(np.uint8))
280
  for sample in samples
281
  ]
282
- del image_tensor
283
  del condition_img
284
  torch.cuda.empty_cache()
285
  return samples
 
279
  sample.permute(1, 2, 0).cpu().detach().numpy().clip(0, 255).astype(np.uint8))
280
  for sample in samples
281
  ]
 
282
  del condition_img
283
  torch.cuda.empty_cache()
284
  return samples