How do I create .rec and .idx files?

I was creating a dataset of cropped png images and I need to convert them into a binary dataset consisting or .rec, .idx and .bin files. How do I do this?

Hi @anshumankmr,

You can find examples in the RecordIO section of the tutorial found here and the Prepare Data section in the tutorial here. But if you’re using Gluon, have you looked at ImageFolderDataset?


I was not using Gluon as I am working on learning the basics from your tutorial on youtube.