-
Notifications
You must be signed in to change notification settings - Fork 17
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
Instructions could use a bit more detail for basic Jupyter use case #10
Comments
Creating 2 .toml files.. adding my user to the docker group and rebooting my machine solved the problem.. However this issue still persists better instructions are needed. |
When launching a container, be sure to supply the port mappings argument to map the port from the container to the host.
Within the container, you may start the Jupyter notebook with
Which will give you the address and token to use for accessing it from your host OS, like so: |
I would like a Wiki in GitHub. This project is really nice to play around with tensorflow. But it took me ~6h to geht object recognition started. |
@twosky2000 The README.md documents all the behavior of Tensorman. Which areas did you feel weren't explained well enough? |
I niemals usw python, so i had Problems installing packets. I then das the custom Image Part and got it to work. -> start tensorman with --root and --name, Install packages, tensorman save name Image. That's a quick recap, i will hopfully get to it tomorrow and open respective issues |
For the most part, you can install Python libraries locally in your project workspace, that way it doesn't have to be in the Docker image. If you do need some C libraries in the system image, you can do that by creating a new image. If you have any ideas for how to make this easier, I'm all ears. |
Here's what I did. I'm not certain this is right, but so far, it's what worked for me:
That brings up a container running the Docker image. Then from the new "I have no name" prompt
Then in your browser, go to 127.0.0.1:8888 Put your notebooks in ~/project/ on your own system -- not the Docker image. |
@mmstick I'm currently trying to get fastai to work. I have it cloned inside my project directory. Should I make a virtual environment on my host and pip install fastai? Is it that easy? BTW, thank you for creating such an awesome distro! |
I tested the Tensorflow inside the container and it doesn't work. import tensorflow as tf hello = tf.constant('Hello, TensorFlow!') print(sess.run(hello)) Traceback (most recent call last): |
That bit about passing through the port and how to fire up the notebook is very useful. I wonder if that should not be included in the official docs somewhere. To me the -jupyter flag feels useless without knowing how to actual get to the notebook. I also can't help but wonder if there is not some way to have it spin up the docker environment and execute this command in one go. |
@chriswininger Thank you. I've moved on, however. I'm running Ubuntu 18.04 with Lamda Labs' Lambda stack. That works fine for me. I have installed the pop theme and the pop shop, and I've installed Popsicle. I'll look at Pop!_OS again when 20.04 comes out. I think it's a terrific distro. |
I think you have TF 2.0 which replaces |
@Cattleman Thank you for the info. Everything changes all the time. It's hard to do actual work when one has to spend so much time keeping up with multiple APIs. Cheers. |
PLEASE add this to the instructions. |
I would be interestet how a simple project setup is.
It would make the use of tensorman much easier. |
Hi all, Feedback welcome - hope this helps folks. I'll add |
Nice job, Ian! Thank you. |
Is there a way to combine Tensorman with Anaconda (or Miniconda)? What would the workflow look like? I am currently doing everything through Miniconda (lots of Python libraries and Jupyter-Lab for coding). |
Hi @AAnzel, |
Thanks for the answer @Cattleman! I used Google Colab until now, so this is pretty new to me. I will try to set it up and see what happens. |
Currently using the provided instructions results in
'Traceback (most recent call last):
File "/usr/local/bin/jupyter-notebook", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/traitlets/config/application.py", line 657, in launch_instance
app.initialize(argv)
File "</usr/local/lib/python3.6/dist-packages/decorator.py:decorator-gen-7>", line 2, in initialize
File "/usr/local/lib/python3.6/dist-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/notebook/notebookapp.py", line 1679, in initialize
self.init_webapp()
File "/usr/local/lib/python3.6/dist-packages/notebook/notebookapp.py", line 1442, in init_webapp
self.http_server.listen(port, self.ip)
File "/usr/local/lib/python3.6/dist-packages/tornado/tcpserver.py", line 151, in listen
sockets = bind_sockets(port, address=address)
File "/usr/local/lib/python3.6/dist-packages/tornado/netutil.py", line 174, in bind_sockets
sock.bind(sockaddr)
OSError: [Errno 99] Cannot assign requested address'
using the --ip option attempts to actually work but it is not possible to connect to the notebook from the desktop.
tried --ip options:
localhost
127.0.0.1
0.0.0.0
the command even lists a file to access the notebook by, however it does not work either.
The text was updated successfully, but these errors were encountered: