utility for training import see commit: 747e20d02db66326db36f62cc6d8824eaeb060a5