コード例 #1
0
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)
コード例 #2
0
 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()