Skip to content

Instantly share code, notes, and snippets.

@gnperdue
Created January 4, 2016 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnperdue/ab23daf1e15e1ce78cc5 to your computer and use it in GitHub Desktop.
Save gnperdue/ab23daf1e15e1ce78cc5 to your computer and use it in GitHub Desktop.
Caffe MNIST Tutorial Error
I am attempting the MNIST tutorial and having an error when I attempt to create the lmdb data set. Retrieval goes fine, but in creation I have:
perdue@gpu1> ./examples/mnist/create_mnist.sh
Creating lmdb...
F1220 18:12:13.079504 22480 convert_mnist_data.cpp:91] Check failed: mdb_env_open(mdb_env, db_path, 0, 0664) == 0 (5 vs. 0) mdb_env_open failed
*** Check failure stack trace: ***
@ 0x2aceadd7db4d google::LogMessage::Fail()
@ 0x2aceadd81b67 google::LogMessage::SendToLog()
@ 0x2aceadd7f9e9 google::LogMessage::Flush()
@ 0x2aceadd7fced google::LogMessageFatal::~LogMessageFatal()
@ 0x403d29 convert_dataset()
@ 0x40462c main
@ 0x2aceb6345d5d __libc_start_main
@ 0x4025a9 (unknown)
./examples/mnist/create_mnist.sh: line 17: 22480 Aborted convert_mnist_data.bin $DATA/train-images-idx3-ubyte $DATA/train-labels-idx1-ubyte $EXAMPLE/mnist_train_${BACKEND} --backend=${BACKEND}
I'm not sure what error code 5 means. Is it a general I/O error? When I run the script, it creates lock files in the examples/mnist area, but that is all
perdue@gpu1> ls -l examples/mnist/mnist_test_lmdb/
total 0
-rw-r--r-- 1 perdue e-938 0 Dec 20 18:12 lock.mdb
perdue@gpu1> ls -l examples/mnist/mnist_train_lmdb/
total 0
-rw-r--r-- 1 perdue e-938 0 Dec 20 18:10 lock.mdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment