ermaker / dockerfile-keras-jupyter Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
python 2 seems to be selected, and no clear way to choose python 3.
Fresh docker install
Just exists after running the following:
~ $ docker run -it -p 8888:8888 -e KERAS_BACKEND=tensorflow ermaker/keras-jupyter
Unable to find image 'ermaker/keras-jupyter:latest' locally
latest: Pulling from ermaker/keras-jupyter
ae79f2514705: Pull complete
5ad56d5fc149: Pull complete
170e558760e8: Pull complete
395460e233f5: Pull complete
6f01dc62e444: Pull complete
344ad093c055: Pull complete
6d0b3fffdc28: Pull complete
2901ce725405: Pull complete
423a80a379e6: Pull complete
6741625fb888: Pull complete
Digest: sha256:5f8ed93689f6cd4142eaa2bd1d5aa3d68be60bd33d5ec00191af395ddc07b883
Status: Downloaded newer image for ermaker/keras-jupyter:latest
[I 04:18:48.497 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[W 04:18:48.509 NotebookApp] All authentication is disabled. Anyone who can connect to this server will be able to run code.
[C 04:18:48.513 NotebookApp] Running as root is not recommended. Use --allow-root to bypass.
~ $
From this Docker container init:
run -v $(pwd):/notebook -p 8890:8888 --name dsi-keras ermaker/keras-jupyter
To a frame in the notebook:
from keras.models import Sequential, Model
I get this output:
ImportErrorTraceback (most recent call last)
<ipython-input-35-a2ebb18d4113> in <module>()
----> 1 from keras.models import Sequential, Model
/root/miniconda2/lib/python2.7/site-packages/keras/__init__.py in <module>()
1 from __future__ import absolute_import
2
----> 3 from . import utils
4 from . import activations
5 from . import applications
/root/miniconda2/lib/python2.7/site-packages/keras/utils/__init__.py in <module>()
1 from __future__ import absolute_import
----> 2 from . import np_utils
3 from . import generic_utils
4 from . import data_utils
5 from . import io_utils
ImportError: cannot import name np_utils
I have not installed any other packages. I suppose this isn't the intended output or perhaps I'm missing something obvious? In any case, this is a heads up, or it's a point of information for me if I'm genuinely ignorant to something.
When I start up the latest docker image, I get a prompt for a jupyter notebook password. Is there a default password to use? Is it possible to set a password on the command line when I launch docker? . . . thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.