Discussion:
Help finding the SOM/GNG code
Ed Cottrell
2007-12-17 02:12:50 UTC
Permalink
Hello all,



I am a new FANN user and would like to use the self-organizing maps and
growing neural gas code developed this summer, but I don't see it in the CVS
tree. Can somebody point me to the code? Where can I download it, either by
HTTP or CVS (or any other method)?



Thanks,

Ed
Zsolt Kira
2007-12-17 03:08:05 UTC
Permalink
Hi,

The som/gng code is in the gsoc2007 (google summer of code) branch.

You can currently check it out using the command:
cvs -z3 -d:pserver:anonymous-***@public.gmane.org:/cvsroot/fann co
-r gsoc2007 -P fann

Zsolt
Post by Ed Cottrell
Hello all,
I am a new FANN user and would like to use the self-organizing maps and
growing neural gas code developed this summer, but I don't see it in the CVS
tree. Can somebody point me to the code? Where can I download it, either by
HTTP or CVS (or any other method)?
Thanks,
Ed
------------------------------------------------------------------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
------------------------------------------------------------------------
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Ed Cottrell
2007-12-17 04:21:45 UTC
Permalink
Got it, thanks! Great work on adding this code, by the way.

One problem: I tried compiling the code into a Windows DLL, but got a bunch
of compiler errors:

C:\Users\Ed\Documents\CProjects\fann-gsoc\src\fann.c:43:19: dlfcn.h:
No such file or directory
C:\Users\Ed\Documents\CProjects\fann-gsoc\src\fann.c: In function
`find_function':
C:\Users\Ed\Documents\CProjects\fann-gsoc\src\fann.c:82: error:
`RTLD_LAZY' undeclared (first use in this function)
C:\Users\Ed\Documents\CProjects\fann-gsoc\src\fann.c:82: error:
(Each undeclared identifier is reported only once
C:\Users\Ed\Documents\CProjects\fann-gsoc\src\fann.c:82: error: for
each function it appears in.)

Can you help me understand what's going wrong?

Thanks,
Ed

-----Original Message-----
From: fann-general-bounces-5NWGOfrQmneRv+***@public.gmane.org
[mailto:fann-general-bounces-5NWGOfrQmneRv+***@public.gmane.org] On Behalf Of Zsolt Kira
Sent: Sunday, December 16, 2007 9:08 PM
To: FANN General and development discussion
Subject: Re: [Fann-general] Help finding the SOM/GNG code


Hi,

The som/gng code is in the gsoc2007 (google summer of code) branch.

You can currently check it out using the command:
cvs -z3 -d:pserver:anonymous-***@public.gmane.org:/cvsroot/fann co
-r gsoc2007 -P fann

Zsolt
Post by Ed Cottrell
Hello all,
I am a new FANN user and would like to use the self-organizing maps and
growing neural gas code developed this summer, but I don't see it in the CVS
tree. Can somebody point me to the code? Where can I download it, either by
HTTP or CVS (or any other method)?
Thanks,
Ed
------------------------------------------------------------------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Post by Ed Cottrell
------------------------------------------------------------------------
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fann-general mailing list
Fann-general-5NWGOfrQmneRv+***@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/fann-general



-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Vincenzo Di Massa
2007-12-17 11:40:31 UTC
Permalink
It seems that make is not able to detect it is running on windows...

Please try editing fann.c:
find (at the very beginnig) the line

#if ! defined(_MSC_VER)

and change it to

#if 0

It should then work (you are forcing make to disable an unix only feature).

If anyone knows how to preoperly fix it... I'm open for suggestions :-)

Regards
Vincenzo
Post by Ed Cottrell
Got it, thanks! Great work on adding this code, by the way.
One problem: I tried compiling the code into a Windows DLL, but got a bunch
No such file or directory
C:\Users\Ed\Documents\CProjects\fann-gsoc\src\fann.c: In function
`RTLD_LAZY' undeclared (first use in this function)
(Each undeclared identifier is reported only once
C:\Users\Ed\Documents\CProjects\fann-gsoc\src\fann.c:82: error: for
each function it appears in.)
Can you help me understand what's going wrong?
Thanks,
Ed
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Ed Cottrell
2007-12-17 18:46:08 UTC
Permalink
Hi,

I tried that, but ran into a few more errors.

First, asprintf() isn't defined on Windows systems (at least not in mingw -
maybe somebody can help me here?). I put in a malloc/sprintf workaround,
which may be causing the third error...

Second, there are a bunch of function names in find_function() (the
non-DLOPEN variation) which don't appear to be defined anywhere - I got a
ton of errors when trying to compile, saying things like
fann_layer_constructor_connected_any_any weren't defined. (After commenting
out the guts of find_function(), my DLL would compile, at least...)

Third, when I try to compile the xor test, I'm getting an immediate
FANN_E_CANT_ALLOCATE_MEM error. I believe it's somewhere down in
fann_setup_layer_descr(), when it gets called from within
fann_create_standard_array_typed().

I was able to get the normal CVS files to compile just fine; just not the
GSOC stuff. Any thoughts?

Best,
Ed

-----Original Message-----
From: fann-general-bounces-5NWGOfrQmneRv+***@public.gmane.org
[mailto:fann-general-bounces-5NWGOfrQmneRv+***@public.gmane.org] On Behalf Of Vincenzo Di
Massa
Sent: Monday, December 17, 2007 5:41 AM
To: FANN General and development discussion
Subject: Re: [Fann-general] Help finding the SOM/GNG code

It seems that make is not able to detect it is running on windows...

Please try editing fann.c:
find (at the very beginnig) the line

#if ! defined(_MSC_VER)

and change it to

#if 0

It should then work (you are forcing make to disable an unix only feature).

If anyone knows how to preoperly fix it... I'm open for suggestions :-)

Regards
Vincenzo
Post by Ed Cottrell
Got it, thanks! Great work on adding this code, by the way.
One problem: I tried compiling the code into a Windows DLL, but got a bunch
No such file or directory
C:\Users\Ed\Documents\CProjects\fann-gsoc\src\fann.c: In function
`RTLD_LAZY' undeclared (first use in this function)
(Each undeclared identifier is reported only once
C:\Users\Ed\Documents\CProjects\fann-gsoc\src\fann.c:82: error: for
each function it appears in.)
Can you help me understand what's going wrong?
Thanks,
Ed
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fann-general mailing list
Fann-general-5NWGOfrQmneRv+***@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/fann-general



-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Loading...