Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when run ./convert.sh #6

Closed
batigooal opened this issue Dec 27, 2016 · 4 comments
Closed

error when run ./convert.sh #6

batigooal opened this issue Dec 27, 2016 · 4 comments

Comments

@batigooal
Copy link

@yeahkun, i meet a problem when running ./convert.sh

I1227 15:21:08.608003 22007 convert_box_data.cpp:99] Shuffling data
I1227 15:21:08.908648 22007 convert_box_data.cpp:102] A total of 7970 images.
F1227 15:21:08.908772 22007 db_lmdb.cpp:13] Check failed: mkdir(source.c_str(), 0744) == 0 (-1 vs. 0) mkdir ./lmdb/trainval_lmdb failed
*** Check failure stack trace: ***
@ 0x7f01d0f895cd google::LogMessage::Fail()
@ 0x7f01d0f8b433 google::LogMessage::SendToLog()
@ 0x7f01d0f8915b google::LogMessage::Flush()
@ 0x7f01d0f8be1e google::LogMessageFatal::~LogMessageFatal()
@ 0x7f01d136e7d0 caffe::db::LMDB::Open()
@ 0x4043bd main
@ 0x7f01cf290830 __libc_start_main
@ 0x4055a9 _start
@ (nil) (unknown)
Aborted

Do you know how to solve this problem?

Thank you!

@choasup
Copy link

choasup commented Jan 4, 2017

you should mkdir lmdb first by hand.

@Harick1
Copy link
Owner

Harick1 commented Jan 7, 2017

@batigooal , What @choasup said is right.

@Harick1 Harick1 closed this as completed Jan 7, 2017
@mohanadkaleia
Copy link

I have folder created as lmdb, in the same level as convert.sh script,
But got same error,
Did I miss something?

@mohanadkaleia
Copy link

Actually, I got this error, (slightly different than the one listed in the question)

 ./convert.sh 
I0411 21:43:24.670166  5449 convert_box_data.cpp:99] Shuffling data
I0411 21:43:24.670377  5449 convert_box_data.cpp:102] A total of 0 images.
F0411 21:43:24.670413  5449 db_lmdb.cpp:13] Check failed: mkdir(source.c_str(), 0744) == 0 (-1 vs. 0) mkdir ../../data/yolo/trainval.txt failed
*** Check failure stack trace: ***
    @     0x7f6b8c3d05cd  google::LogMessage::Fail()
    @     0x7f6b8c3d2433  google::LogMessage::SendToLog()
    @     0x7f6b8c3d015b  google::LogMessage::Flush()
    @     0x7f6b8c3d2e1e  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f6b8c7eff80  caffe::db::LMDB::Open()
    @           0x4043dd  main
    @     0x7f6b8b341830  __libc_start_main
    @           0x4055c9  _start
    @              (nil)  (unknown)
Aborted (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants