Comments (5)
Hi macgyverfan, please run this command when the container exits so we can know what actually happened:
docker logs digits
Paste the results here. Thanks!
from have-fun-with-machine-learning.
BirkhoffLee please see below.
Thanks
| _ / | | / |
| |) | | ( || | | | _
|/_|| || |__/ 5.1-dev
Did you forget to "make pycaffe"?
"/root/caffe" from CAFFE_HOME does not point to a valid installation of Caffe.
Use the envvar CAFFE_ROOT to indicate a valid installation.
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/root/digits/digits/main.py", line 70, in
main()
File "/root/digits/digits/main.py", line 53, in main
import digits.config
File "digits/config/init.py", line 7, in
from . import ( # noqa
File "digits/config/caffe.py", line 228, in
executable, version, flavor = load_from_envvar('CAFFE_HOME')
File "digits/config/caffe.py", line 37, in load_from_envvar
import_pycaffe(python_dir)
File "digits/config/caffe.py", line 126, in import_pycaffe
import caffe
File "/root/caffe/python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
File "/root/caffe/python/caffe/pycaffe.py", line 13, in
from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver,
ImportError: /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4: invalid ELF header
from have-fun-with-machine-learning.
Mine did work. I have no idea why yours didn't.
birkhoff at Birkhoff-MBPR in ~/dev/have-fun-with-machine-learning (master)
$ docker run --name digits -d -p 8080:5000 -v $(pwd):/data/repo kaixhin/digits
Unable to find image 'kaixhin/digits:latest' locally
latest: Pulling from kaixhin/digits
16da43b30d89: Pull complete
1840843dafed: Pull complete
91246eb75b7d: Pull complete
7faa681b41d7: Pull complete
97b84c64d426: Pull complete
0b483d8c35bc: Pull complete
01f5c1884863: Pull complete
905f6e60ec15: Pull complete
d88440c3aa80: Pull complete
30d383ac5437: Pull complete
Digest: sha256:7a4091e1a66cc4768df5e6f03cd5c5fca1c15b4e9ee7cf9c876a2885af020ce4
Status: Downloaded newer image for kaixhin/digits:latest
c3d92781ccdcfd7929113a40bb74af7cc570461da58e600b6da6c44b0a9462c7
birkhoff at Birkhoff-MBPR in ~/dev/have-fun-with-machine-learning (master)
$ docker logs -f c3d92781ccdcfd7929113a40bb74af7cc570461da58e600b6da6c44b0a9462c7
libdc1394 error: Failed to initialize libdc1394
/usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
___ ___ ___ ___ _____ ___
| \_ _/ __|_ _|_ _/ __|
| |) | | (_ || | | | \__ \
|___/___\___|___| |_| |___/ 5.1-dev
2018-01-26 07:46:24 [INFO ] Loaded 0 jobs.
Try running the following commands and run the DIGITS container with sudo again:
docker stop digits
docker rm digits
docker rmi kaixhin/digits
from have-fun-with-machine-learning.
Ran the above as you said and reran without sudo and in the directory of the cloned repository so I could run the docker command exactly as you have it above and it worked.
Cheers!
from have-fun-with-machine-learning.
Glad to hear :)
from have-fun-with-machine-learning.
Related Issues (20)
- Question: The influence of a GPU card on a model's accuracy HOT 2
- Size, shape and small differences in classification ... HOT 3
- the path is not shared from os x and is not known to docker. HOT 10
- Add TensorFlow instructions and walkthrough HOT 6
- the issue of installation HOT 2
- error -9 when training caffe-alexnet model HOT 3
- Dataset Creation HOT 4
- No "Pretrained Models" tab | "processing" and "segmentation" do not show up within drop-down list HOT 4
- Accuracy 55% in model-attempt-1 approach HOT 3
- classify-samples.py run failed
- BadRequestKeyError, when uploading pertained models HOT 8
- docker那句 HOT 6
- Inference Result is different between DIGITS(WEB) and Python Code
- Docker option not using all CPU resources
- bin/polygram.js
- korean translation HOT 3
- How to train the network on a remote server HOT 1
- Translation HOT 8
- Renaming the layers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from have-fun-with-machine-learning.