Skip to content

gplotsel2d memory error? #9

@andrewgait

Description

@andrewgait

Hello, I'm trying to use this connection set algebra in our work with neuromorphic computing using PyNN on SpiNNaker. I've installed CSA using pip install and then followed the README.md file; everything seems to work fine until I get to the gplotsel2d(...) command, at which point I get a MemoryError:

Traceback (most recent call last):
  File "/localhome/mbbssag3/spinnaker/git/MySpiNNakerProblems/user_problems/test_csa_commands.py", line 97, in <module>
    gplotsel2d(g,c,434)
  File "/usr/local/lib/python2.7/dist-packages/csa/plot.py", line 55, in gplotsel2d
    N = len (cset)
  File "/usr/local/lib/python2.7/dist-packages/csa/connset.py", line 233, in __len__
    for c in self:
  File "/usr/local/lib/python2.7/dist-packages/csa/connset.py", line 726, in simpleIterator
    state):
  File "/usr/local/lib/python2.7/dist-packages/csa/_misc.py", line 87, in iterator
    for j in range (low1, high1):
MemoryError

Do you have any idea what might be causing this to happen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions