Created
October 2, 2019 15:58
-
-
Save epietrowicz/2e9954be3dcbed9f253f0abc6aab17ab to your computer and use it in GitHub Desktop.
cfg
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 | |
class Config: | |
def __init__(self, mode='conv', nfilt=26, nfeat=13, nfft=512, rate=16000): | |
self.mode = mode | |
self.nfilt = nfilt | |
self.nfft = nfft | |
self.nfeat = nfeat | |
self.rate = rate | |
self.step = int(rate/10) | |
self.model_path = os.path.join('models', mode + '.model') | |
self.p_path = os.path.join('pickles', mode + '.p') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment