Divide all data into training data and test data, and make a test.list and a training.list for for training of YOLO.
gcc -o divide_files divide_files.c
./divide_files
or
./divide_files [portion]
portion: the portion of test data. The default value is 0.2.