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.

回答 (1 件)

Mandar
Mandar 2023 年 2 月 2 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

製品

リリース

R2020b

質問済み:

2022 年 6 月 9 日

回答済み:

2023 年 2 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by