Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numpy.vstack Memory Error #21

Open
michaelcheah opened this issue Jun 4, 2018 · 0 comments
Open

numpy.vstack Memory Error #21

michaelcheah opened this issue Jun 4, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@michaelcheah
Copy link
Collaborator

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

@michaelcheah michaelcheah added the bug Something isn't working label Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant