pplonski/keras2cpp

memory error while running example

ckirksey3 opened this issue · 2 comments

I'm able to walk through the entire example until I get to running the dumped file. When I run:
./a.out

I get this error:

Layers 12
Layer 0 Convolution2D
Layer 0 Convolution2D
Layer 0 Convolution2D
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

Any idea what's going on?

Hi there! I think that might be a Keras version problem, I assume based on PR from you that you are on 2.0? Have you tried with older Keras version?

No, I'll give that a try and let you know.