MATLAB Answers

Please, advice how to pre-processing the image labelling.

1 view (last 30 days)
jaewoo choi
jaewoo choi on 5 Feb 2021
Answered: yanqi liu on 5 Feb 2021
I'm initially trying to use alexnet to train the image in the kaggle competition.
there are 4 defect classes(1 ~ 4) .
Problem is that the images which don't have defect were not labeled, so these are not included in the csv file.
How can I delete the unlabeled images and make the label on neural network?
This is the website :
steel_ds = imageDatastore('*.jpg');
information = readtable('train.csv');

Answers (1)

yanqi liu
yanqi liu on 5 Feb 2021
loop for table
use exist(filename, 'file') to judge the file is or not exist

Categories

Community Treasure Hunt

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

Start Hunting!