gerb030 / Tensorflow

tensor flow setup and exercises

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Using Visual Studio Code or simply bask

Pre-requisites:

Using existing image:

  1. open project /working directory
  2. start up xquarts
  3. Start docker (note IP is dynamic): docker run -it -e DISPLAY=10.0.1.20:0 -p 8888:8888 -p 6006:6006 -v $(pwd)/notebooks:/notebooks --privileged --name tf5 amaksimov/python_data_science
  4. SSH into docker container: docker exec -it tf5 bash
  5. enter:
apt-get update
apt-get install -y python3-tk
cd notebooks
python3 house_price_prediction.py

Using docker-compose: TODO 2. spin up docker engine: docker-compose up 3. in another terminal run: docker exec -it tf4 bash apt-get update apt-get install -y python3-tk cd notebooks export HOSTNAME=hostname 4. Start brew install socat socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:"$DISPLAY"

Links: https://dev-ops-notes.com/docker/howto-run-jupiter-keras-tensorflow-pandas-sklearn-and-matplotlib-docker-container/ https://dzone.com/articles/docker-x11-client-via-ssh jessfraz/dockerfiles#169

About

tensor flow setup and exercises


Languages

Language:Python 99.1%Language:Shell 0.9%