gpt4 book ai didi

python - 范恩错误 11 : Unable to allocate memory

转载 作者:太空狗 更新时间:2023-10-29 21:47:12 27 4
gpt4 key购买 nike

在 FANN 的 Python 实现中,我得到了这个错误

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

有什么建议吗?

最佳答案

create_standard 和其他简单创建有一个错误。解决方法是

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

create_sparsecreate_shortcut 相同。

关于python - 范恩错误 11 : Unable to allocate memory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11331520/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com