Discussion:
Problem with fann_run
Chris Wilson
2009-07-14 15:04:02 UTC
Permalink
I am having a problem with fann_run, described also by this forum thread:

http://leenissen.dk/fann/forum/viewtopic.php?f=1&t=354

Basically, fann_run breaks for me as long as I include doublefann.h instead
of fann.h. I get the same results as the poster in the thread linked: very
small near-zero values as output no matter what the input. Training and
Testing seem to work fine. I could maybe switch from doublefann.h to fann.h,
but I don't relish the idea of losing that extra precision.

Is there a way to fix this? I'm using Visual Studio .NET 2008 on Windows,
and I compiled the library using the provided "libfann.vcproj" project file.
Any help would be appreciated... thanks!
Steven Levis
2009-07-14 18:13:22 UTC
Permalink
Hi Chris,
Please make sure you are linking with the doublefann lib also. Linking
with the default fann lib will often not function properly.

-Steve
Post by Chris Wilson
http://leenissen.dk/fann/forum/viewtopic.php?f=1&t=354
Basically, fann_run breaks for me as long as I include doublefann.h instead
of fann.h. I get the same results as the poster in the thread linked: very
small near-zero values as output no matter what the input. Training and
Testing seem to work fine. I could maybe switch from doublefann.h to fann.h,
but I don't relish the idea of losing that extra precision.
Is there a way to fix this? I'm using Visual Studio .NET 2008 on Windows,
and I compiled the library using the provided "libfann.vcproj" project file.
Any help would be appreciated... thanks!
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
Chris Wilson
2009-07-15 14:49:28 UTC
Permalink
Thanks for the reply. I looked into it a bit more, and it looks like the
provided project (libfann.vcproj) builds the floatfann lib without
explicitly naming it as such. In that case, how do I build the doublefann
lib in Visual Studio?

--
Chris Wilson
Post by Steven Levis
Hi Chris,
Please make sure you are linking with the doublefann lib also. Linking
with the default fann lib will often not function properly.
-Steve
Post by Chris Wilson
http://leenissen.dk/fann/forum/viewtopic.php?f=1&t=354
Basically, fann_run breaks for me as long as I include doublefann.h
instead of fann.h. I get the same results as the poster in the thread
linked: very small near-zero values as output no matter what the input.
Training and Testing seem to work fine. I could maybe switch from
doublefann.h to fann.h, but I don't relish the idea of losing that extra
precision.
Is there a way to fix this? I'm using Visual Studio .NET 2008 on Windows,
and I compiled the library using the provided "libfann.vcproj" project file.
Any help would be appreciated... thanks!
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
Chris Wilson
2009-07-16 18:05:04 UTC
Permalink
Nevermind, found what I needed in the MicrosoftWindowsDLL directory.
Post by Chris Wilson
Thanks for the reply. I looked into it a bit more, and it looks like the
provided project (libfann.vcproj) builds the floatfann lib without
explicitly naming it as such. In that case, how do I build the doublefann
lib in Visual Studio?
--
Chris Wilson
Post by Steven Levis
Hi Chris,
Please make sure you are linking with the doublefann lib also. Linking
with the default fann lib will often not function properly.
-Steve
Post by Chris Wilson
http://leenissen.dk/fann/forum/viewtopic.php?f=1&t=354
Basically, fann_run breaks for me as long as I include doublefann.h
instead of fann.h. I get the same results as the poster in the thread
linked: very small near-zero values as output no matter what the input.
Training and Testing seem to work fine. I could maybe switch from
doublefann.h to fann.h, but I don't relish the idea of losing that extra
precision.
Is there a way to fix this? I'm using Visual Studio .NET 2008 on Windows,
and I compiled the library using the provided "libfann.vcproj" project file.
Any help would be appreciated... thanks!
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
Continue reading on narkive:
Loading...