Hi, I searched the net for the ANN library, but I couldn't find it. Does anyone know where it can be downloaded?
best
ANN library - where to get?
Hi, I searched the net for the ANN library, but I couldn't find it. Does anyone know where it can be downloaded?
best
Hi Elden,
I did find it in a svn repository. If you are on Linux, then it's just a matter of installing svn (sudo apt-get install subversion
) followed by svn checkout https://svn.code.sf.net/p/pure-data/svn/trunk/externals/ann/
.
Cheers,
Gilberto
Thanks!! I just don't understand how to install it.
The readme file at https://svn.code.sf.net/p/pure-data/svn/trunk/externals/ann/README.txt
says that I have to download FANN and anyhow compile it and so on. Really weird. Don't get it. Isn't there any external or something?
You will need to compile the external, that's just the source code not the externals per se. Which OS and architecture are you?
If you are on Linux, you can try compiling it in the terminal by executing make -f makefile.darwin
inside the folder /src. The problem I ran into is that it complains about the architecture of my system (64-bit).
Alternatively, you can ask IOhannes himself about it in the mailing list. Maybe he has a link for an already compiled library for your system.
Cheers,
Gilberto
I use Win7 64bit. Maybe I really should contakt IOhannes...
Sorry but I am not familiar at all with compilation on Windows (even on Linux I have a success rate lower than I wished). Try speaking to IOhannes, I am sure he will be able to help you.
I don't know if the content of this here: http://puredata.info/Members/dmorelli/ann/ann_win32/view is already compiled. Pd patches open, but the main objects don't load. What (except for defining paths in the preferences) can I do to make the object load?
best
elden
That looks to be compiled indeed, hence the .dll file. And since it was compiled in a 32-bit system, it should work on both 32 and 64. But I really don't know why the object isn't loading. Just to be sure that it's not the problem with the path, did you try copying the external file (dll) to the folder where your patch is and trying to create it?
Yeah I tried that...didn't work. All [ann_ ,,, ] objects just don't load. I don't get it. I always get the red "...couldn't create" message.
It's a bit odd. Down on this page here http://puredata.info/Members/dmorelli/ann/ann/ it says:
"FANN libraries are required for ann_mlp and ann_td, see
http://fann.sourceforge.net/
ann can be compiled on win32 (msvc)" ...But when I actually open the page and want to download the FANN library for puredata, the link opens the page http://puredata.info/Members/dmorelli/ann/ann/ again...
But when I actually open the page and want to download the FANN library for puredata, the link opens the page http://puredata.info/Members/dmorelli/ann/ann/ again...
Not here, see the page: http://leenissen.dk/fann/wp/download/
When clicking on the main link it redirects me to http://sourceforge.net/projects/fann/files/fann/2.2.0/FANN-2.2.0-Source.zip/download which is fine
So I've got the source code now...how to make pd objects with that? I don't get this sh** =D
the ANN-library contains a dll file and some pd-files. They should work, right? I mean, do I put it into wrong directories or what's the clue? It's really just the main objects [ann_mlp] and [ann_td] that don't load. Strange...
Hi Elden,
I am sorry but I really don't know the answer to these questions, I never used this library before, all I did was to search for it online and I found the source code. I honestly think you should ask IOhannes about it, since he is one of the creators of the library. Unless, of course, someone else in the forum is familiar with it. I am also not familiar at all with compilations on Windows, so there's that as well...
Cheers,
Gilberto
Yeah, ok.
I already contacted Davide and IOhannes. No answer, yet. Well, I'll try it with patience ...
Installed it now correctly. I had to cut - paste the content of the subfolders into the "extra" path. Works. I wonder what the maximum number of neurons is. I can't find any infos on that. I need really many of them. didn't get more than a hand full...
@elden i tried to compile the library a while ago too and had similar problems. great that you made it work for windows. if i understand it right the ann library is already compiled on this link, but i need to compile fann? http://puredata.info/Members/dmorelli/ann/ann/ which subfolders did you cut and copy into the "extra" path? the fann subfolders? and is it possible for you to upload a windows compiled version of fann?
Hello Jona, i'm sorry I cannot recall - it's about two years since that. I found a better way to do what I wanted, so the artificial neural net approach went obsolete for me pretty soon. I think you need to find out by trial and error.
Oops! Looks like something went wrong!