UseMXNET Time, The first step is to make a matchmxnet Required input format.

When our task is:x It's image. Then?y How many( Or single) When the label is output, We can make a matchmxnet Required.rec format:

See for detailsmxnet Course:https://mxnet.incubator.apache.org/api/scala/io.html

English official website process:




Chinese annotation:

① generate.lst file, format:

Index label_0 label_1 label_2 label_3path

path: Picture name.

② generate.rec file( findtoolim2rec Running file, To configureMXNET Time to usemake This tool is available only when compiling by)

Command line input:.../bin/im2rec            a.lst          Picture path/       
a.rec   label_width=4

③mx.io.ImageRecordIter Load.rec Then train