Skip to content

numpy.vstack Memory Error #21

@michaelcheah

Description

@michaelcheah
Traceback (most recent call last):
  File "pretrain.py", line 31, in <module>
    model.fit(augmented, 3)
  File "/home/michael_cmx/Desktop/BetaGo-master/Model/Model.py", line 84, in fit
    boards = np.vstack(tuple(boards))
  File "/home/michael_cmx/tensorflow/lib/python3.6/site-packages/numpy/core/shape_base.py", line 234, in vstack
    return _nx.concatenate([atleast_2d(_m) for _m in tup], 0)
MemoryError

Getting memory error with numpy.vstack trying to run pretrain.py for 75 data sets of 100 games each, with total size of 291.2MB

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions