-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
When ./create_mnist.sh, fault: convert_mnist_data.bin: not found #1251
Comments
All examples should be run from the Caffe root dir -- this example's documentation wasn't updated, but has been now: http://caffe.berkeleyvision.org/gathered/examples/mnist.html |
@shelhamer Thank you very much! It works. And thanks to the caffe. Very nice work! |
I'm having the same problem, and I checked the $CAFFE_ROOT/build directory for the examples folder, yet all I see in the build folder is: lib, src, test, tools. Did my caffe compilation not work fully, and there is supposed to be an examples folder there? |
@ErnstHowie I've encountered the same problem. I followed all the instructions but I still can't figure out what's wrong. Can you tell me how you solve this problem? |
@zirohut @mtmarsh2 |
@ErnstHowie Could you tell me what happens when you run 'ls' in $CAFFE_ROOT/build/examples/mnist? All I have in that directory is 'convert_mnist_data', but according to the error I should have: 'convert_mnist_data.bin', which is the file I have except with a '.bin' extension. |
@ErnstHowie |
@mtmarsh2 You can't run from the 'examples' or other dir, you must run from the Caffe root dir. Please see "The guide specifies all paths and assumes all commands are executed from the root caffe directory" : http://caffe.berkeleyvision.org/gathered/examples/imagenet.html. |
@ErnstHowie, vi ./examples/mnist/create_mnist.sh, change 'convert_mnist_data.bin' to 'onvert_mnist_data' |
@guoyilin: why this works? But there is 'convert_mnist_data.cpp' |
@jhuxiang , because after using cmake for building, I see $build/examples/mnist/convert_mnist_data, not 'convert_mnist_data.bin' |
Recompiling everything again with |
@guoyilin sorry, I don't have the ''build'' folder, do you know why? |
@renexdev : Instead of using make, can I use Visual Studio by opening the Caffe.sln file in /windows/ ? In my case, I used VS 2013 to build Caffe.sln. However, convert_mnist_data.bin was not found in any folder. Update! I was able to run it in Command Prompt |
I haven't try with VS, instead I ran it in the linux command line. Nice that it works! |
I run the same thing, correctly from $CAFFE_ROOT:
But when I check my examples/mnist/ directory, there is actually no Is there any reason this would be the case. @guoyilin @jhuxiang changing |
@ErnstHowie |
when I train mnist data,there are something wrong like this: |
In ubuntu try: sudo cp convert_mnist_data.bin [caffe_path]/build/examples/mnist/ Worked for me |
I also happen to this problem. And I solve it. I just |
I am on Anaconda environment, facing the same issue(convert_mnist_data.bin: not found). How should i approch to solve this problem? is it okay to recompile this conda caffe pakage? |
@mintisan i remove build in examples/mnist/create_mnist.sh, and that way works for me. but why it work? do you know why? |
the reason that there didn't exist "convert_mnist_data.bin" is i used this order "make clean" before i keyed "make pycaffe" . inputting "make all, make test, make runtest" one by one solved my problem. |
Maybe you have solved this problem.I solved by doing this: |
Thank you very much! it works for me!!! |
I have followed all installation instructions to install caffe in Ubuntu 14.04. And
make all
make test
make runtest
Everything is ok. All tests have passed. But when I ran the MNIST demo there are something wrong like this:
$ ./create_mnist.sh
Creating lmdb...
./create_mnist.sh: 16: ./create_mnist.sh: build/examples/mnist/convert_mnist_data.bin: not found
./create_mnist.sh: 18: ./create_mnist.sh: build/examples/mnist/convert_mnist_data.bin: not found
Done.
In fact, “convert_mnist_data.bin” existed and its address was correct.
I'm a linux/Ubuntu novice. I have no any idea. So any pointers would be much appreciated.
The text was updated successfully, but these errors were encountered: