-
Notifications
You must be signed in to change notification settings - Fork 93
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
loss increase and appear nan #12
Comments
Can you tell me which dataset you use for training? |
Hi, I do some changes as follow: |
Hi , I found the problem, the reason of increasing loss is following:
Actually, I quite don't understand why you write like this... The reason of nan is CustomLoss |
Hi @YangangCao for nan appear error Thanks |
I have checked the feature extracted from original 48k wav, they are all range from 0 to 1, including float point number, lots of 0 and sparse 1. When I set the count of extracted feature as 1e5, no nan appears( I tried more than one time). However, When I set as 1e6 and 1e7, nan appears again. I am not sure the relationship between count and nan. |
Code has error in 'rnn_train.py' so that loss is nan.
but in 'denoise.cpp':
rb < 0, so that torch.pow(gb, 0.5) is nan You should change code in 'rnn_train.py' to:
|
Thanks I've fix in #24 |
There is a new question for 'loss nan'. The feature of pitch correlation could be 'nan'. The value 'error' could be zero in the file named 'celt_lpc.cpp', which make pitch correlation be nan. |
Hi, thanks for your excellent work.
I extract feature from speech(pcm, 12GB) and noise(pcm, 9GB), and set count into 10000000. Then, I run run_train.py and get the following output:
Can you help me? thanks again!
The text was updated successfully, but these errors were encountered: