This commit is contained in:
shahules786 2022-08-24 19:46:15 +05:30
parent 375cb8bc44
commit 74d8e2602c
2 changed files with 26 additions and 0 deletions

8
conf.yaml Normal file
View File

@ -0,0 +1,8 @@
files:
train_clean: clean_testset_wav
train_noisy: noisy_testset_wav
test_clean: clean_testset_wav
test_noisy: noisy_testset_wav
paths:
data: ${hydra:runtime.cwd}/../data/vctk
log: ./runs

18
enhancer/utils/config.py Normal file
View File

@ -0,0 +1,18 @@
from dataclasses import dataclass
@dataclass
class Paths:
log : str
data : str
@dataclass
class Files:
train_clean : str
train_noisy : str
test_clean : str
test_noisy : str
@dataclass
class EnhancerConfig:
path : Paths
files: Files