jzi040941 / PercepNet

Unofficial implementation of PercepNet: A Perceptually-Motivated Approach for Low-Complexity, Real-Time Enhancement of Fullband Speech
BSD 3-Clause "New" or "Revised" License
325 stars 91 forks source link

Hi,the questions of make -j #19

Closed ghost closed 1 year ago

ghost commented 3 years ago

image

jzi040941 commented 3 years ago

can you send me the above error message too, I think it's because you don't have nnet_data.cpp

ghost commented 3 years ago

Thanks! I solve this problem by upgrading gcc to 7.3, but I meet a new problem when execute "make -j" ? image

jzi040941 commented 3 years ago

error occur when nnet_data.cpp is not exist I didn't consider in case when there's no nnet_data.cpp which is generated by dump_percepnet.py I fixed CMakeLists.txt on commit beb518f now you can do "make -j" whether you have nnet_data.cpp or not Thanks for letting me know the error.

ghost commented 3 years ago

Hi, when I am training, the loss appear nan. Tha clean data is VCTK 28speak + 56speak, the noise data is DEMAND. I merged into one large clean pcm and noise pcm. image

jzi040941 commented 3 years ago

Maybe you can fix nan problem refer to #22 !

mehdi-zn commented 2 years ago

Hi, encountered the following issues:

Step 3: "segmentation fault (core dumped)" Step 5: No "/bin/src/percepNet_run" exist Thanks in advance!

jzi040941 commented 2 years ago

Hi, encountered the following issues:

Step 3: "segmentation fault (core dumped)" Step 5: No "/bin/src/percepNet_run" exist Thanks in advance!

Hi, sorry for late reply Could you tell me more specific information. Did you type command for Step 3 like below? bin/src/percepNet sampledata/speech/speech.pcm sampledata/noise/noise20db.raw 4000 test.output

Inference is step7, furthermore you cannot run step 7 if you don't have nnet_data.h which is generated on step 4,5,6.

mehdi-zn commented 2 years ago

Could you tell me more specific information. Did you type command for Step 3 like below?

Thanks for reply. Yes I used commands. When typing command cmake .. I get the following warning: "nnet_data.cpp is not exist. Do not generate inference executable..." Then, when running bin/src/percepNet sampledata/speech/speech.pcm sampledata/noise/noise20db.raw 4000 test.output I got the Segmentation fault error.

jzi040941 commented 2 years ago

use this command instead

bin/src/percepNet sampledata/speech/speech.pcm sampledata/noise/noise.pcm 4000 test.output

noise20db.raw is not exist in this repo that's why you get error message segmentation fault

mehdi-zn commented 2 years ago

use this command instead

bin/src/percepNet sampledata/speech/speech.pcm sampledata/noise/noise.pcm 4000 test.output

noise20db.raw is not exist in this repo that's why you get error message segmentation fault

Thanks. That was solved and next steps proceeded successfully. However, by the end of step 7 there is no output in file percepnet_output.pcm.