Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU Utilization #98

Open
divyeshrajpura4114 opened this issue Jun 12, 2021 · 2 comments
Open

High CPU Utilization #98

divyeshrajpura4114 opened this issue Jun 12, 2021 · 2 comments

Comments

@divyeshrajpura4114
Copy link

divyeshrajpura4114 commented Jun 12, 2021

I observe that exetacting MFCC or MFB features utilizes almost all the CPU with 100% capacity. I am sure that extracting these features doesn't requires so much of computation.

I am processing only one file at a time and not using any parallalization.
Here is the code I am using

import glob
import numpy as np
import scipy.io as sio
import scipy.io.wavfile
from python_speech_features import *
filelist = glob.glob("/home/divraj/scribetech/dataset/voxceleb1/test/wav/*/*/*.wav")
for file in filelist:
	sr, audio = sio.wavfile.read(file)
	features, energies = fbank(audio, samplerate=16000, nfilt=40, winlen=0.025, winfunc=np.hamming)

What is the reason for high CPU utilization?

@csukuangfj
Copy link

@divyeshrajpura4114
Would you like to try https://github.com/csukuangfj/kaldifeat ?

@zqs01
Copy link

zqs01 commented Sep 30, 2022

I also encountered this problem, the tool seems to take a lot of CPU resources and run slowly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants