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

Student predicts nans #3

Open
HashiamKadhim opened this issue Nov 12, 2018 · 0 comments
Open

Student predicts nans #3

HashiamKadhim opened this issue Nov 12, 2018 · 0 comments

Comments

@HashiamKadhim
Copy link

when trying to run synthesize_student, I get the following error:

/usr/local/lib/python3.5/dist-packages/torch/nn/functional.py:995: UserWarning: nn.functional.tanh is deprecated. Use torch.tanh instead.
warnings.warn("nn.functional.tanh is deprecated. Use torch.tanh instead.")
/usr/local/lib/python3.5/dist-packages/torch/nn/functional.py:1006: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
0.6159329414367676 seconds
Traceback (most recent call last):
File "synthesize_student.py", line 133, in
librosa.output.write_wav(wav_name, wav, sr=22050)
File "/usr/local/lib/python3.5/dist-packages/librosa/output.py", line 216, in write_wav
util.valid_audio(y, mono=False)
File "/usr/local/lib/python3.5/dist-packages/librosa/util/utils.py", line 157, in valid_audio
raise ParameterError('Audio buffer is not finite everywhere')
librosa.util.exceptions.ParameterError: Audio buffer is not finite everywhere

After further investigation, I found that most of the entries in wav are nans.

Any ideas what caused this? Does this work for anyone else?

BTW, I'm trying to severely overfit on my training examples to make sure that the model is capable of learning, so I'm training for a very long time, could this be the cause? My teacher is at step 395000 and my student is at step 9000

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

1 participant