MATLAB: Cifar-10 dataset

digital image processingimage analysisimage processingmachine learning

After i download Cifare-10 for matlab, how to extract images from the 5 batch files so i have 10 sperated folders for training and test set?. I find some pseducode for get only two folders for training and test images. I want the same strucure as follows ;
├── test
│ ├── airplane
│ ├── automobile
│ ├── bird
│ ├── cat
│ ├── deer
│ ├── dog
│ ├── frog
│ ├── horse
│ ├── ship
│ └── truck
└── train
├── airplane
├── automobile
├── bird
├── cat
├── deer
├── dog
├── frog
├── horse
├── ship
└── truck

Best Answer

Hi Mohammed,
You may refer to the following link to see how to extract the CIFAR-10 dataset in MATLAB.