{"action":"created","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/2780","repository_url":"https://api.github.com/repos/BVLC/caffe","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/2780/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/2780/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/2780/events","html_url":"https://github.com/BVLC/caffe/issues/2780","id":95695515,"number":2780,"title":"Check failed: mdb_status == 0 (2 vs. 0) No such file or directory","user":{"login":"p4tr1ckc4rs0n","id":12091151,"avatar_url":"https://avatars.githubusercontent.com/u/12091151?v=3","gravatar_id":"","url":"https://api.github.com/users/p4tr1ckc4rs0n","html_url":"https://github.com/p4tr1ckc4rs0n","followers_url":"https://api.github.com/users/p4tr1ckc4rs0n/followers","following_url":"https://api.github.com/users/p4tr1ckc4rs0n/following{/other_user}","gists_url":"https://api.github.com/users/p4tr1ckc4rs0n/gists{/gist_id}","starred_url":"https://api.github.com/users/p4tr1ckc4rs0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4tr1ckc4rs0n/subscriptions","organizations_url":"https://api.github.com/users/p4tr1ckc4rs0n/orgs","repos_url":"https://api.github.com/users/p4tr1ckc4rs0n/repos","events_url":"https://api.github.com/users/p4tr1ckc4rs0n/events{/privacy}","received_events_url":"https://api.github.com/users/p4tr1ckc4rs0n/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-17T16:44:23Z","updated_at":"2016-06-06T13:49:31Z","closed_at":"2015-07-23T05:01:39Z","body":"Upon running ./train_caffenet.sh; creating the training layer data, setting up the data, loading the training mean.binaryproto file and opening the training lmdb all works.\r\n\r\n\r\nHowever when it comes to loading the test mean.binaryproto file for the test data I get the following error:\r\n\r\n\r\nLoading mean file from: /home/pwhc/caffe/Learn/imagenet_mean_test.binaryproto\r\nF0716 13:12:13.917732  3385 db.hpp:109] Check failed: mdb_status == 0 (2 vs. 0) No such file or directory\r\n*** Check failure stack trace: ***\r\n    @     0x7f8337946daa  (unknown)\r\n    @     0x7f8337946ce4  (unknown)\r\n    @     0x7f83379466e6  (unknown)\r\n    @     0x7f8337949687  (unknown)\r\n    @     0x7f8337cbf5be  caffe::db::LMDB::Open()\r\n    @     0x7f8337d16b82  caffe::DataLayer<>::DataLayerSetUp()\r\n    @     0x7f8337d806f9  caffe::BasePrefetchingDataLayer<>::LayerSetUp()\r\n    @     0x7f8337ca3db3  caffe::Net<>::Init()\r\n    @     0x7f8337ca5b22  caffe::Net<>::Net()\r\n    @     0x7f8337cb0a24  caffe::Solver<>::InitTestNets()\r\n    @     0x7f8337cb111b  caffe::Solver<>::Init()\r\n    @     0x7f8337cb12e6  caffe::Solver<>::Solver()\r\n    @           0x40c4c0  caffe::GetSolver<>()\r\n    @           0x406503  train()\r\n    @           0x404ab1  main\r\n    @     0x7f8336e58ec5  (unknown)\r\n    @           0x40505d  (unknown)\r\n    @              (nil)  (unknown)\r\nAborted (core dumped)\r\n\r\nI modified the train_val.prototxt to point to the appropriate mean.binaryproto files (using absolute paths) and have checked and double checked to make sure  the paths match up\r\n\r\n\r\nAny thoughts would be greatly appreciated!"},"comment":{"url":"https://api.github.com/repos/BVLC/caffe/issues/comments/223964292","html_url":"https://github.com/BVLC/caffe/issues/2780#issuecomment-223964292","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/2780","id":223964292,"user":{"login":"linrio","id":16930748,"avatar_url":"https://avatars.githubusercontent.com/u/16930748?v=3","gravatar_id":"","url":"https://api.github.com/users/linrio","html_url":"https://github.com/linrio","followers_url":"https://api.github.com/users/linrio/followers","following_url":"https://api.github.com/users/linrio/following{/other_user}","gists_url":"https://api.github.com/users/linrio/gists{/gist_id}","starred_url":"https://api.github.com/users/linrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linrio/subscriptions","organizations_url":"https://api.github.com/users/linrio/orgs","repos_url":"https://api.github.com/users/linrio/repos","events_url":"https://api.github.com/users/linrio/events{/privacy}","received_events_url":"https://api.github.com/users/linrio/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T13:49:31Z","updated_at":"2016-06-06T13:49:31Z","body":"@lukeyeager  **cifar10_full_train_test.prototxt** : `name: \"CIFAR10_full\"\r\nlayer {\r\n  name: \"cifar\"\r\n  type: \"Data\"\r\n  top: \"data\"\r\n  top: \"label\"\r\n  include {\r\n    phase: TRAIN\r\n  }\r\n  transform_param {\r\n    mean_file: \"examples/cifar10/mean.binaryproto\"\r\n  }\r\n  data_param {\r\n    source: \"examples/cifar10/cifar10_train_lmdb\"\r\n    batch_size: 100\r\n    backend: LMDB\r\n  }\r\n}`\r\nBut I do not find  **cifar10_train_lmdb** and **mean.binaryproto** in the cifar10 file. I happen the same problem:\r\n**Check failed: mdb_status == 0 (2 vs. 0) No such file or directory**"}}
{"actor":{"display_login":"linrio"}}