espejelomar commited on
Commit
55780aa
1 Parent(s): 315db2e

Agregar ims en return

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -15,4 +15,4 @@ def genera(gan, batch_size=1):
15
  with torch.no_grad():
16
  ims = gan.G(torch.randn(batch_size, gan.latent_dim)).clamp_(0.0, 1.0) * 255
17
  ims = ims.permute(0,2,3,1).detach().cpu().numpy().astype(np.uint8)
18
- return
15
  with torch.no_grad():
16
  ims = gan.G(torch.randn(batch_size, gan.latent_dim)).clamp_(0.0, 1.0) * 255
17
  ims = ims.permute(0,2,3,1).detach().cpu().numpy().astype(np.uint8)
18
+ return ims