Skip to content

Error in caffe: double free or corruption #1333

@tleyden

Description

@tleyden

I'm using commit 51be352 and getting the following error when trying to do training:

...
I1020 15:24:48.951339  3162 caffe.cpp:121] Optimization Done.
*** Error in `/opt/caffe/build/tools/caffe': double free or corruption (out): 0x0000000001db6160 ***
Aborted (core dumped)

To reproduce the error:

  • $ git clone https://github.com/tleyden/caffe.git
  • $ git checkout feature/alpha_example
  • $ cd caffe/data/alphabet_classification && ./get_alpha.sh
  • $ cd caffe/examples/alphabet_classification && ./train_alpha.sh

Here are the caffe configuration files and training data I'm using:

The image set consists of 28x28 greyscale images of 0-9A-Z (36 classes in all), generated with a few different fonts.

I suppose there is something wrong in my configuration or training data (I'm a caffe Noob), but the reason I'm filing a bug is that:

  • I wouldn't expect caffe to crash.
  • If caffe is going to crash, it should at least give me a better and more actionable error message.

Would be very interested in hearing what I need to change in my configuration / training set to avoid this error, but also think it's an opportunity to make caffe more robust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions