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

evtF1 results in nan when running with tensorflow backend #30

Open
sladomic opened this issue Dec 20, 2018 · 0 comments
Open

evtF1 results in nan when running with tensorflow backend #30

sladomic opened this issue Dec 20, 2018 · 0 comments

Comments

@sladomic
Copy link

sladomic commented Dec 20, 2018

Hi,
I'm running the code for task2 (keras_seq and task2_cakir) on the GPU using the tensorflow backend. The evtF1 score at some point comes close to zero and then finally results in a nan while the evtER is 1.

I tried to decrease the learning_rate which resulted in postponing the problem to a later epoch, but evtF1 still results in a nan.

Do you know how to tune the hyperparameters when switching from theano to tensorflow?

PS: the DR is also 1, so the model just learns to predict no class resulting in a recall of 0

EDIT: I just figured out, that the CNN model seems to work and only the RNN / CRNN models have the issue described above.

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