class TrainingControllerWrapper(threading.Thread): def __init__(self, dataset_id): super(TrainingControllerWrapper, self).__init__() self.training_controller = Trainer(dataset_id, base_folder = "/Users/dkislyuk/synced/audio/training_sets") self.training_controller.create_folders() def run(self): self.training_controller.load_from_api(resample = False)
def __init__(self, dataset_id): super(TrainingControllerWrapper, self).__init__() self.training_controller = Trainer(dataset_id, base_folder = "/Users/dkislyuk/synced/audio/training_sets") self.training_controller.create_folders()