deep learning images with data

I need to classify with deep learning a group of images with a modified CNN architecture with transfer learning. The question is how I can add whether one image belongs to one group and the other image belongs to the other group. In machine learning is easy to create a row with 0 1 or -1 1. But in this case I don't know how to proceed.
Thanks for the help in advance.

Respuestas (1)

Mandar
Mandar el 2 de Feb. de 2023

0 votos

The “imageDatastore” function assign the labels for all the images in subfolder, given a "LabelSource".
Refer the following MATLAB documentation link to know more about “imageDatastore” function.
In addition, refer the following link to the MATLAB documentation link for a demo example on image category classification using deep learning.

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Preguntada:

el 9 de Jun. de 2022

Respondida:

el 2 de Feb. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by