Cropinky commited on
Commit
647a0a1
1 Parent(s): c45158c

implemented generating 16 images instead of 1

Browse files
Files changed (1) hide show
  1. image_generator.py +1 -1
image_generator.py CHANGED
@@ -138,7 +138,7 @@ def generate_images(
138
  else:
139
  imgs_row = np.hstack((imgs_row, img[0].cpu().numpy()))
140
  #img = PIL.Image.fromarray(img[0].cpu().numpy(), 'RGB')
141
- PIL.Image.fromarray(img[0].cpu().numpy(), 'RGB').save(f'{outdir}/seed{seed:04d}.png')
142
  #napravi vsplit i toe to ka
143
  imgs_complete = np.vstack(np.hsplit(imgs_row, 4))
144
  #cv2.imshow("lalaxd", imgs_complete)
 
138
  else:
139
  imgs_row = np.hstack((imgs_row, img[0].cpu().numpy()))
140
  #img = PIL.Image.fromarray(img[0].cpu().numpy(), 'RGB')
141
+ #PIL.Image.fromarray(img[0].cpu().numpy(), 'RGB').save(f'{outdir}/seed{seed:04d}.png')
142
  #napravi vsplit i toe to ka
143
  imgs_complete = np.vstack(np.hsplit(imgs_row, 4))
144
  #cv2.imshow("lalaxd", imgs_complete)