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
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.
Ml-Lib includs a neural network tool too. Works right away.
Esta lloviendo in Berlin...
@Hugo Legrand thanks a lot. i downloaded the file "ml-0.17.0-alpha-WIN32.zip" from this link: https://github.com/cmuartfab/ml-lib/releases somehow the windows build contains only 2 .pd objects (ml.svm-help and ml.zerox-help) but a lot of .dll´s. i added the library path to the search path and the name to start processes and pd prints can´t load library. the 2 objects are recognized but only half of the messages do work. so i am not sure if i do something wrong, or if the build does not work (for me). i tried it with the osx build, in comparison to windows build the library get loaded on startup but everything else seems the same.
this are the printed messages if i click every help-file message from ml.svm-help.pd:
ml.svm: Support Vector Machines based on the GRT library version 0.2.5 revision: 2-Jan-2017
error: ml.svm: messages with the selector 'bang' are not supported
error: ml.svm: function not implemented
error: ml.svm: messages with the selector 'bang' are not supported
error: ml.svm: messages with the selector 'normalise' are not supported
error: ml.svm: function not implemented
ml.svm: new input vector size, adjusting num_inputs to 4
error: ml.svm: class label must be a positive integer
error: ml.svm: messages with the selector 'predict' are not supported
error: ml.svm: messages with the selector 'estimates' are not supported
error: ml.svm: messages with the selector 'load' are not supported
error: ml.svm: messages with the selector 'save' are not supported
On mac we have access to the 0.18 2.0 alpha. It was released 7 days ago.
Maybe a new window version is on its way. You can wait or send a message to Jammie bullock.
By the way, when I start pd, it tells me it cannot load ML-lib, but all objects are availaible and fully operationnal. Except ml-dtree that instantly causes pd to desapear ^^ Seems like it's the same for you so
don't worry.
To know what messages you can use, send a "help" into the left inlet of any
of the object. Then look at the pd window. It works in the last release.
The neural network is the "ml-mlp" object.
Esta lloviendo in Berlin...
Oops! Looks like something went wrong!