In the Python implementation of FANN, 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?
There is a bug in create_standard and the other simple creates. The workaround is
ann.create_standard_array([2,8,9,1])
same for create_sparse
and create_shortcut
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With