MXNet provides a Python utility to create RecordIO packages of data that are supported by framework’s data iterators.

Little detail, the doesn’t support .png files, unless you manually adjust the script and add it as allowed extensions.

In order to create a rec file, you first need to make a list of files using this command:

After you get .lst files, lets create a record set.

Record objects will be about the same size as the data that being used for the objects.

here we eliminating –list argument so the script will be working on .rec files.

At the end of its execution, it should display something like

and in the folder where you have your dataset you will see files

and same for train and validation sets.



One thought on “MXNet

Leave a Reply

Your email address will not be published. Required fields are marked *