vBaiCai / python-pesq

A python package for calculating the PESQ.
MIT License
353 stars 69 forks source link

The PESQ score is nan #9

Open BilalDendani opened 5 years ago

BilalDendani commented 5 years ago

Hi everyone. I am asking about the meaning of nan PESQ score. After some successful compute of PESQ score for my speech samples I got the following error for the residual samples

anaconda3/lib/python3.6/site-packages/pypesq-1.0-py3.6-linux-x86_64.egg/pypesq/init.py:16: RuntimeWarning: invalid value encountered in true_divide deg = 0.999*deg/np.max(np.abs(deg)) Thank you.

vBaiCai commented 5 years ago

please confirm the deg or ref signal is not an all-zero array.

WangQian0107 commented 4 years ago

hello everyone. I am asking about the ImportError: No module named pesq_core. I can't find the module, can you tell me where I can get the module. Thanks.

radkoff commented 3 years ago

I too see a nan PESQ score. My audio is 3 seconds at 16k (48000 sample points), confirmed non-zero.