how to save the generated images by GAN?

2 visualizaciones (últimos 30 días)
Nagwa megahed
Nagwa megahed el 14 de Ag. de 2021
Comentada: amel laidi el 5 de Nov. de 2021
i need to generate images by GAN ,so i followed ' Train Generative Adversarial Network' example presented here
but i have a difficulty in saving the generated images as a separated images not a dlarray
can any one help?
  2 comentarios
Ranpreet Kaur
Ranpreet Kaur el 25 de Ag. de 2021
Hi,
Did you solve the question? how to save images generated by GAN.
Nagwa megahed
Nagwa megahed el 12 de Sept. de 2021
No, i still have the problem
please if you find a way or solution ,write it in a comment immediately

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 14 de Ag. de 2021
Look where they display the images:
I = imtile(extractdata(dlXGeneratedNew));
I = rescale(I);
figure
image(I)
axis off
title("Generated Images")
So can't you just use extractdata() to get one image and then use imwrite() on that?
  6 comentarios
Nagwa megahed
Nagwa megahed el 28 de Oct. de 2021
Editada: Nagwa megahed el 28 de Oct. de 2021
Thanks alot, i did it with your help
amel laidi
amel laidi el 5 de Nov. de 2021
can you tell us in details how you used this solution on individual images? thank you

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by