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

Inf while testing with steepness_train.c #124

Open
sangeeta0201 opened this issue Jan 7, 2021 · 0 comments
Open

Inf while testing with steepness_train.c #124

sangeeta0201 opened this issue Jan 7, 2021 · 0 comments

Comments

@sangeeta0201
Copy link

Hello,

I have been trying to learn how to use fann for my project. I tried steepness_train example from the examples directory. For this example, I used -ldoublefann. For every epoch, I am getting the same "Current error: 0.2500000000". While investigating further it turns out that max_sum in src/fann.c:790 is giving inf and the reason seems to be that steepness is not initialized.
Can please somebody tell me how this issue can be fixed?
To reproduce this bug, you can modify Makefile in the examples folder to link with -ldoublefann, run steepness_train, and check for max_sum value.

@sangeeta0201 sangeeta0201 changed the title Inf while testing with steepness Inf while testing with steepness_train.c Jan 7, 2021
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