caffe-yolo icon indicating copy to clipboard operation
caffe-yolo copied to clipboard

I got this error 'std::bad_alloc'

Open Jaekyumkim opened this issue 8 years ago • 2 comments

Hi, when i'm trying to run ./train.sh i got this error

I0206 19:07:41.957289 4240 db_lmdb.cpp:35] Opened lmdb ../../data/yolo/lmdb/trainval_lmdb terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc *** Aborted at 1486375661 (unix time) try "date -d @1486375" if you are using GNU date *** PC: @ 0x7fcc79408428 gsignal *** SIGABRT (@0x3e800001088) received by PID 4232 (TID 0x7fcc4b6f0700) from PID 4232; stack trace: ***

and when i'm trying to run ./test.sh, i got this error

I0206 19:08:18.079627 4259 layer_factory.hpp:77] Creating layer data I0206 19:08:18.079963 4259 net.cpp:91] Creating Layer data I0206 19:08:18.079974 4259 net.cpp:399] data -> data I0206 19:08:18.079996 4259 net.cpp:399] data -> label I0206 19:08:18.081296 4267 db_lmdb.cpp:35] Opened lmdb ../../data/yolo/lmdb/test2007_lmdb terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)

I think the dataset is the problem, but i followed your readme. i ran convert.sh Please tell me what is wrong.

Jaekyumkim avatar Feb 06 '17 10:02 Jaekyumkim

@Jaekyumkim Can you please check the file size of data.mdb that locate inside trainval_lmdb and test2007_lmdb?

tankienleong avatar May 15 '17 09:05 tankienleong

Hi,

Have you find the answer . please help.

RuaYahya avatar Nov 16 '19 01:11 RuaYahya