add code to generate info file and create postive samples for train