def main_class_lang_train(): dataset = "lang_data_clean" # good dataset #41(39 mfcc + pitch + magnitude) model = "model/lstm_lang_" train_multi_epoch(dataset, model + str(NUM_FEATURES), lstm_lang_model, train_deepnn, num_epoch_start=20, num_features=NUM_FEATURES, file_prefix="lang")
def main_class_gender_train(): dataset = "gender_data_clean" model = "model/lstm_gender_" train_multi_epoch(dataset, model + str(NUM_FEATURES), lstm_gender_model, train_deepnn, num_epoch_start=10, num_features=NUM_FEATURES, file_prefix="gender")