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
A valid Caffe installation was not found on your system. Use the envvar CAFFE_ROOT to indicate a valid installation. #1107
Comments
Thanks very much ,but every time I use digits,I must input CAFFE_ROOT=/home/mx/caffe/ in terminal, |
# These instructions are for bash
$ echo $SHELL
/bin/bash
# Check the current value of your envvar
$ echo $CAFFE_ROOT
# Add the envvar to ~/.profile so it will load automatically when you login
$ echo "export CAFFE_ROOT=/home/username/caffe/" >> ~/.profile
# Load the new configuration
$ source ~/.profile
# Check the new envvar value
$ echo $CAFFE_ROOT
/home/username/caffe/ If you need more help or if you use a different shell, you can probably find what you need via Google. Setting environment variables is a good skill to learn. |
I am having the same problem, however I have completed these steps and I have CAFFE_ROOT pointing to the correct place. #1390 |
Did you install with a deb package? If so, please follow these instructions for changing the configuration: |
In my case, when I try to set a CAFFE_ROOT value, it says my path is not valid for some reason. |
I have installed all of the prerequisites. I have the CAFFE_ROOT in /home/user/caffe which is a path. | _ / | | / | A valid Caffe installation was not found on your system. thank you so much, |
# when I input ./digits-devserver, an error occur,
# this is the error information, my caffe is in /home/mx/caffe/
A valid Caffe installation was not found on your system.
Use the envvar CAFFE_ROOT to indicate a valid installation.
Traceback (most recent call last):
File "./digits-devserver", line 8, in
import digits.config
File "/home/mx/digits/digits/config/init.py", line 7, in
from . import caffe
File "/home/mx/digits/digits/config/caffe.py", line 227, in
executable, version, flavor = load_from_path()
File "/home/mx/digits/digits/config/caffe.py", line 51, in load_from_path
raise ValueError('Caffe executable not found in PATH')
ValueError: Caffe executable not found in PATH
The text was updated successfully, but these errors were encountered: