how to save the generated images by GAN?

3 次查看(过去 30 天)
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 个评论
Ranpreet Kaur
Ranpreet Kaur 2021-8-25
Hi,
Did you solve the question? how to save images generated by GAN.
Nagwa megahed
Nagwa megahed 2021-9-12
No, i still have the problem
please if you find a way or solution ,write it in a comment immediately

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2021-8-14
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 个评论
Nagwa megahed
Nagwa megahed 2021-10-28
编辑:Nagwa megahed 2021-10-28
Thanks alot, i did it with your help
amel laidi
amel laidi 2021-11-5
can you tell us in details how you used this solution on individual images? thank you

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by