Update inference.py

change segment size for memory issues
This commit is contained in:
Eloi Moliner Juanpere 2022-01-20 14:16:09 +02:00 committed by GitHub
parent 4d202cce17
commit 293d68f621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ def run(args):
segment_size=44100*20 #20s segments
segment_size=44100*5 #20s segments
length_data=len(data)
overlapsize=2048 #samples (46 ms)