Quantcast
Channel: Saving GAN generated images
Browsing all 6 articles
Browse latest View live

Saving GAN generated images

Hi, I am following the DC GAN tutorial of pytorch for generating synthetic images. I want to store generated after the last epoch individually....

View Article



Saving GAN generated images

Torchvision has a function called save_image(). Here is the documentation. You might want to take a look at this old discussion to see some examples. Here is also a minimal example. from...

View Article

Saving GAN generated images

Thank you very much for your reply. This code will save only one image. Do I have to use loop to save all images individuallly? Read full topic

View Article

Image may be NSFW.
Clik here to view.

Saving GAN generated images

Depending on what you want to save, if you want to save every image individually then yes, you can make a loop and save every one of them. Or you can use the following code to save a grid of all of...

View Article

Saving GAN generated images

Thank you. It will solve my issue. Read full topic

View Article


Saving GAN generated images

I was able to save the images individually like this: import os sample_dir = ‘samples’ if not os.path.exists(sample_dir): os.makedirs(sample_dir) if(epoch == num_epochs-1 ): fake_fname =...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images