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
Problems with MDB in the mnist example #1298
Comments
@moegitree I just tried the mnist example and it works, could you pull again. Make sure you do |
@sguada I am having the same problem. If you make clean, there will be no build folder that is referenced by the create_mnist script. |
Then you have to Sergio 2014-10-22 16:51 GMT-07:00 Scott Little notifications@github.com:
|
@moegitree How much free disk space do you have? I read that mdb_put errors happen when there isn't enough space. I have 100 GB of free space. According to the MNIST website, there should be around 10 MB of data. |
@moegitree I have also experience some errors with LMDB when using conver_imageset. |
Same issue |
mapsize is set to 1TB. It might be worthwhile inspecting the resulting mapsize after the environment has been opened. You could try the following after the call to
I can't reproduce the bug. Can you send instructions? |
I changed mapsize to 1073741824 (1GB) and it works now.
It seems that 1TB is too huge. I'm running 32-bit Ubuntu, maybe that's the cause. |
That's probably the case since |
Yes, it did report, but I didn't notice that. |
I have same problem, I am using it for training imageNet, 1GB seems too small for ImageNet. My free disk is 1.1TB, I also tried 300GB, 500GB, all failed. I have no idea. |
Hi, @moegitree I have same problem, have you fix your problem? |
I am also using Ubuntu 32 bit and got this error. Changing the |
Can we add a compile flag for this? It seems to be a common issue (I just had to come here to fix it). |
Same issue fixed with your modification of the mnist script on my Ubuntu 32 bits, 14.04 ; |
I have the exact same error and tried the same fix by chaning value to 1gb, but the error is still there and exactly the same. What can be the problem? |
Exact output: `Creating lmdb... F0407 08:02:22.195675 24302 convert_mnist_data.cpp:138] Check failed: mdb_put(mdb_txn, mdb_dbi, &mdb_key, &mdb_data, 0) == 0 (-30792 vs. 0) mdb_put failed *** Check failure stack trace: ***
Aborted F0407 08:02:22.427784 24305 convert_mnist_data.cpp:138] Check failed: mdb_put(mdb_txn, mdb_dbi, &mdb_key, &mdb_data, 0) == 0 (-30792 vs. 0) mdb_put failed *** Check failure stack trace: ***
Aborted |
Made Caffe again and now it works. |
My fix at #3731 may help avoid these problems in the future. |
When I tried to do the dataset praparation in Mnist example and execute " ./examples/mnist/create_mnist.sh ", it turns out some failures like this:
Creating lmdb...
F1016 14:22:01.290793 9722 convert_mnist_data.cpp:132] Check failed: mdb_put(mdb_txn, mdb_dbi, &mdb_key, &mdb_data, 0) == 0 (-30792 vs. 0) mdb_put failed
*** Check failure stack trace: ***
Aborted (core dumped)
F1016 14:22:01.431432 9724 convert_mnist_data.cpp:132] Check failed: mdb_put(mdb_txn, mdb_dbi, &mdb_key, &mdb_data, 0) == 0 (-30792 vs. 0) mdb_put failed
*** Check failure stack trace: ***
Aborted (core dumped)
Done.
How can I fix this problem?
thanks
The text was updated successfully, but these errors were encountered: