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.

Antworten (1)

Mandar
Mandar am 2 Feb. 2023

0 Stimmen

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.

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020b

Gefragt:

am 9 Jun. 2022

Beantwortet:

am 2 Feb. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by