Make default segment size for cutting 3.0s for OOM prevention on fp32 GPUs (10 series/1660ti)

It will change to 3.7 on capable GPUs like it did before
This commit is contained in:
kalomaze
2023-07-30 04:50:52 -05:00
committed by GitHub
parent f93e94d641
commit ee2b5e5226

View File

@@ -45,7 +45,7 @@ class PreProcess:
)
self.sr = sr
self.bh, self.ah = signal.butter(N=5, Wn=48, btype="high", fs=self.sr)
self.per = 3.7
self.per = 3.0
self.overlap = 0.3
self.tail = self.per + self.overlap
self.max = 0.9