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.

Risposte (1)

Mandar
Mandar il 2 Feb 2023

0 voti

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.

Categorie

Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange

Prodotti

Release

R2020b

Richiesto:

il 9 Giu 2022

Risposto:

il 2 Feb 2023

Community Treasure Hunt

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

Start Hunting!

Translated by