Created
March 8, 2020 15:03
-
-
Save yuyyuyu/2e39bdd4c0c86a4605664a4dceebd8e7 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 | |
class Config: | |
def __init__(self,mode='conv',nfilt=26,nfeat=13,nfft=2048,rate=44100): | |
self.mode=mode | |
self.nfilt=nfilt | |
self.nfeat=nfeat | |
self.nfft=nfft | |
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