0

I am following this tutorial to build cat-dog classifier using caffe. But while training I got this error;enter image description here why?

  • please do not post screen shots - copy-paste the run log and error message. Search engines cannot index screenshots. – Shai Nov 28 '18 at 12:55

1 Answers1

0

The error you got "std::bad_alloc" usually refers to CPU memory allocation: you are out of memory.
Judging by the stack trace, you got the error when trying to read an element from the LMDB file. You need to check your LMDB: is it possible you store HUGE images there? is it possible the LMDB is corrupt? can you read it with different software?

Shai
  • 111,146
  • 38
  • 238
  • 371