Train classifier with GAN generated images

I would like to compare a classifier trained with original images and then I would like to train the same classifier with GAN generated images + original images.
Could you please guide me on how to train the classifier with GAN generated images + original images.

답변 (1개)

Muskan
Muskan 2023년 3월 27일

0 개 추천

Hi Anbarasi,
As per my understanding of the question, you can followmay try the following steps for help with your problem to resolve the issue you are facing:
i) Collect and pre-process your original images dataset. Then train your original image classifier using any algorithm you wish to.
ii) Using the GAN model, generate a new dataset of images.
iii) Using the "imageDatastore" function combine the original and GAN generated images. Then, train a new classifier using the combined dataset by using the same algorithm.
iv) Now, you can evaluate the performance of both the classifiers using a test dataset.
You can refer to the following documentation for "imageDatastore" function:
I hope the above information helps in resolveing your query.
Thanks,
Muskan.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

릴리스

R2022a

질문:

2022년 12월 1일

답변:

2023년 3월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by