Giter Club home page Giter Club logo

dockerfile-keras-jupyter's People

Contributors

ermaker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dockerfile-keras-jupyter's Issues

Running as root is not recommended. Use --allow-root to bypass

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.
~ $ 

Default state, cannot import Keras with error "cannot import name np_utils"

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.

Password Prompt

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.