vBaiCai / python-pesq

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

Trigger conditions err_info->Nutterances < 1 #25

Closed luyan66 closed 3 years ago

luyan66 commented 3 years ago
    if (err_info->Nutterances < 1)
    {
        /*printf ("Processing error!\n");*/
        /*exit (1);*/
        PyErr_SetString(PyExc_RuntimeError, "processing error!");
    }

Log print warnings.warn('Processing Error! return NaN........') use older version, i see it stop at conditions err_info->Nutterances < 1 processing error! WHY? but if i change metric="pesq" to metric="" ,training is ok!

luyan66 commented 3 years ago

sorry, i got this promblem when i use DeepComplexUNet(https://github.com/sweetcocoa/DeepComplexUNetPyTorch/issues/8) DeepComplexUNet use this pesq as it's metric