FANN Error 11: Unable to allocate memory

In a FANN implementation in Python, I got this error from

from pyfann import libfann ann = libfann.neural_net() ann.create_standard(4, 2, 8, 9, 1) #FANN Error 11: Unable to allocate memory. 

Any suggestion?

+7
source share
1 answer

There is an error in create_standard, and the other is simple. Workaround

 ann.create_standard_array([2,8,9,1]) 

for create_sparse and create_shortcut .

+6
source

All Articles