How to separate Images from GAN generated images in pytorch?

I am using the following code in pytorch (https://github.com/carpedm20/BEGAN-pytorch).

This images has 16*12 = 192 images. I need to separate these images so that I can get 192 individual images and save this image in a folder. How can I do that? Thanks in advanced.

You can use whatever image processing library you like to do the splits. Here is the first SO answer I saw when I googled for it: https://stackoverflow.com/questions/5953373/how-to-split-image-into-multiple-pieces-in-python

@ezyang Thank you so much.