how to save the generated images by GAN?

3 Ansichten (letzte 30 Tage)
Nagwa megahed
Nagwa megahed am 14 Aug. 2021
Kommentiert: amel laidi am 5 Nov. 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 Kommentare
Ranpreet Kaur
Ranpreet Kaur am 25 Aug. 2021
Hi,
Did you solve the question? how to save images generated by GAN.
Nagwa megahed
Nagwa megahed am 12 Sep. 2021
No, i still have the problem
please if you find a way or solution ,write it in a comment immediately

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 14 Aug. 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 Kommentare
Nagwa megahed
Nagwa megahed am 28 Okt. 2021
Bearbeitet: Nagwa megahed am 28 Okt. 2021
Thanks alot, i did it with your help
amel laidi
amel laidi am 5 Nov. 2021
can you tell us in details how you used this solution on individual images? thank you

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by