-
-
Save MdFaysal97/06bf4f1027baa167e1ba0b841d8962a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
# dataset path | |
UTT_SPK_PATH = 'data/asr_bengali/utt_spk_text.tsv' | |
FLAC_AUDIO_DIR = 'data/asr_bengali/data' | |
# training params | |
EPOCHS = 5 | |
INITIAL_EPOCHS = 0 | |
TRAIN_BATCH_SIZE = 16 | |
VALID_BATCH_SIZE = 4 | |
# 99% training and 1% validation | |
TRAINING_DATA_PERCENTAGES = 0.99 | |
MODEL_SAVE_DIR = 'models' | |
# CHECKPOINT_PATH = os.path.join(MODEL_SAVE_DIR, 'bnasr-{epoch:02d}-{val_loss:.4f}') | |
CHECKPOINT_PATH = os.path.join(MODEL_SAVE_DIR, 'bnasr-{epoch:02d}') | |
# resume trained model or not | |
RESUME_TRAINING = False | |
RESUEM_MODEL_DIR = 'models' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment