Saving progress on using gevent to speed up the creation of the training set