1. 程式人生 > >Experimenting with TensorFlow on Android Part 1

Experimenting with TensorFlow on Android Part 1

Let us start by installing TensorFlow, I tried a couple methods of installing it and ended up using docker

docker run -it gcr.io/tensorflow/tensorflow:latest-devel

You can also use IPython with TensorFlow and TFLean by running the following

docker run -it -p 8888:8888 -v ~/Work/notebooks:/notebooks tensorflow/tensorflow:0.10.0rc0

Notice that “~/Work/notebooks” is a local directory so I will not lose my changes after closing the running container.