CIFAR - 10 dataset kaggle
5 次查看(过去 30 天)
显示 更早的评论
How can I read CIFAR-10 dataset from Kaggle. I want to test my CNN with kaggle dataset. They have a folder with all images named from 1 to 50000, and a separate CSV file with labels. Same for test but no label file. I did use the imageDatastore to read the folder but how can I provide the labels ?
Please help
2 个评论
KSSV
2019-7-12
REad bout the function...you need to provide labels in a csv file. There is an option to provide labels.
采纳的回答
Walter Roberson
2019-7-12
When you use imageDataStore, use 'labelsource', 'none' . But after you create the object, set its Labels property to a cell array of character vectors (or to a string() array) of data that you read in from the csv .
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!