Skip to content

amarzana/tensorflow-ipy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tensorflow-ipy

About

This project provides a Ubuntu (14.04) Vagrant Virtual Machine (VM) with the TensorFlow library from Google and IPython (now know as Jupyter) notebooks.

Follow the Requirements section below for a one-time setup of Virtualbox, Vagrant and Git before running the commands below. These instructions should work on Windows, Mac and Linux operating systems.

The list of releases of this project with a description of the main changes are included here.

Running TensorFlow

1. Start the VM

  1. Change to the tensorflow-ipy root directory

    cd tensorflow-ipy
    
  2. Start the Virtual machine (VM)

    vagrant up
    
  3. Login to the VM

    vagrant ssh
    

2. Run your first TensorFlow command line program

First run section 1.

  1. Change to the python directory

    cd /vagrant/python
    
  2. Run the first program

    python first-tensorflow.py
    
  3. Make sure the version printed on the first line of the output is the version you expect. The releases are documented on this page

3. Start the IPython (Jupyter) notebooks

First run section 1.

  1. Change to the notebooks directory

    cd /vagrant/notebooks
    
  2. Run the IPython notebook server

    chmod +x ipython-run.sh
    ./ipython-run.sh
    
  3. Open your browser to http://192.168.33.10:8888/ to view the notebooks

4. Get the TensorFlow source code and examples

First run section 1.

  1. Make the tensorflow directory if does not exist.

    mkdir /vagrant/tensorflow_source
    
  2. Change to the tensorflow directory (will not be checked in to git)

    cd /vagrant/tensorflow_source
    
  3. Clone the tensorflow repository

    git clone https://github.com/tensorflow/tensorflow
    

5. Run the Udacity TensorFlow examples

First run section 1.

  1. Change to the notebooks directory

    cd /vagrant/scripts
    
  2. Run the IPython notebook server with Udacity TensorFlow notebooks

    chmod +x ./ipy-udacity.sh
    ./ipy-udacity.sh
    
  3. Open your browser to http://192.168.33.10:8888/ to view the notebooks

Requirements

The following software is needed to get the software from github and run Vagrant. The Git environment also provides an SSH client for Windows.

About

VM with the TensorFlow library from Google

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 64.6%
  • Python 19.1%
  • Puppet 14.3%
  • Shell 2.0%