Closed khalilo closed 5 years ago
Did you generate your training data?
@MhLiao I generate the training database and I have this error :
I0614 18:01:33.495789 13626 layer_factory.hpp:77] Creating layer data I0614 18:01:33.497731 13626 net.cpp:100] Creating Layer data I0614 18:01:33.497809 13626 net.cpp:408] data -> data I0614 18:01:33.497948 13626 net.cpp:408] data -> label I0614 18:01:33.498134 13629 db_lmdb.cpp:35] Opened lmdb /media/khalil/3da753f7-bd2c-43d5-a1e2-485bd5667bcf/khalil/Documents/Project/VGG-caffe/TextBoxes/examples/TextBoxes/icdar_train_lmdb F0614 18:01:33.514853 13626 data_transformer.cpp:810] Check failed: datum_channels > 0 (0 vs. 0) Check failure stack trace: @ 0x7f4bbc29b5cd google::LogMessage::Fail() @ 0x7f4bbc29d433 google::LogMessage::SendToLog() @ 0x7f4bbc29b15b google::LogMessage::Flush() @ 0x7f4bbc29de1e google::LogMessageFatal::~LogMessageFatal() @ 0x7f4bbc86751a caffe::DataTransformer<>::InferBlobShape() @ 0x7f4bbc786375 caffe::AnnotatedDataLayer<>::DataLayerSetUp() @ 0x7f4bbc77845a caffe::BasePrefetchingDataLayer<>::LayerSetUp() @ 0x7f4bbc860722 caffe::Net<>::Init() @ 0x7f4bbc861fb1 caffe::Net<>::Net() @ 0x7f4bbc8d2dfa caffe::Solver<>::InitTrainNet() @ 0x7f4bbc8d40f7 caffe::Solver<>::Init() @ 0x7f4bbc8d449a caffe::Solver<>::Solver() @ 0x7f4bbc8f3513 caffe::Creator_SGDSolver<>() @ 0x40ab99 train() @ 0x4074a8 main @ 0x7f4bbac53830 __libc_start_main @ 0x407eb9 _start @ (nil) (unknown) Aborted (core dumped)
@MhLiao Is there a solution for this problem ? Thanks.
@khalilo There may be some mistakes in your lmdb, according to your error information.
Do you haved solved the problem? I meet it , and can you tell me the method ? Thank you very much ! My data of lmdb is :
and my train data is 73 bytes, test data is 69 bytes , my data is from icdar2013.
and this is my data path setting in the train.py :
and this is my path setting in train.prototxt :and test.prototxt :
and my error is :
Looking forward to your reply! Thank you very much @khalilo
@MhLiao
@19931991 Have you solved this problem? I faced same issue, too. Please tell me the solution if you found it. Thank you.
please check the path of lmdb data. @19931991
@MhLiao There is an error when running train_icdar13.py.
The console shows that: I0614 14:06:31.362638 9607 layer_factory.hpp:77] Creating layer data I0614 14:06:31.371596 9607 net.cpp:100] Creating Layer data I0614 14:06:31.371624 9607 net.cpp:408] data -> data I0614 14:06:31.371659 9607 net.cpp:408] data -> label F0614 14:06:31.371739 9610 db_lmdb.hpp:15] Check failed: mdb_status == 0 (2 vs. 0) No such file or directory Check failure stack trace: @ 0x7f2c227e95cd google::LogMessage::Fail() @ 0x7f2c227eb433 google::LogMessage::SendToLog() @ 0x7f2c227e915b google::LogMessage::Flush() @ 0x7f2c227ebe1e google::LogMessageFatal::~LogMessageFatal() @ 0x7f2c22df1350 caffe::db::LMDB::Open() @ 0x7f2c22e2d276 caffe::DataReader<>::Body::InternalThreadEntry() @ 0x7f2c1f4225d5 (unknown) @ 0x7f2c1ecd06ba start_thread @ 0x7f2c2128782d clone @ (nil) (unknown) Aborted (core dumped)