Print data suitable for caffe train.txt file