How to classify digital images that belong to one or more classes using deep learning (convolutional neural networks)? The classes of each image are described in a CSV file.

1 次查看(过去 30 天)
I have an image dataset.
Each image can belong to one or more classes.
That is, in the same image there are one or more classes.
The dataset has a CSV file with 5 columns, with the first column in the file name of each image and the other 4 columns refer to 4 classes (A, B, C, D).
For example the image 1.jpg may belong to class A (1) and B (1), it does not belong to class C (0) and there is uncertainty whether it belongs to class D (-1).
In other words, 1 = belongs, 0 = does not belong and -1 = uncertain.
I can't divide the dataset by classes (folders for each class), as the images can belong to several classes.
Someone can help me

回答(1 个)

o.cefet cefet
o.cefet cefet 2020-5-29
This is data_meta CSV
Image ,Class A, Class B, Class C, Class D
00000001_000.png,1,1,0,0
00000001_001.png,1,1,0,1
00000001_002.png,0,0,0,1
00000002_000.png,0,0,0,0
00000003_000.png,0,0,1,-1
00000003_001.png,0,-1,0,1
00000003_002.png,1,0,0,0
00000003_003.png,0,0,0,1
00000003_004.png,0,1,0,0
00000003_005.png,0,0,1,0
00000003_006.png,0,1,1,0
00000003_007.png,1,0,0,1
00000004_000.png,0,0,1,0
00000005_000.png,0,1,0,0
00000005_001.png,-1,-1,1,0
00000005_002.png,0,1,-1,0
00000005_003.png,0,0,0,1
00000005_004.png,0,0,1,0
00000005_005.png,0,1,0,0
00000005_006.png,0,0,-1,1
00000005_007.png,0,1,0,-1
00000006_000.png,0,0,0,1
00000007_000.png,0,1,0,0
00000008_000.png,0,0,1,0
00000008_001.png,0,0,0,1
......
......
......
......
  5 个评论
o.cefet cefet
o.cefet cefet 2020-5-30
This is a dataset. I want to train, validate and test a convolutional neural network so that the algorithm is able to classify an image in order to predict what kind of class an image belongs to.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by