pytorch/scripts/start_ipython_notebook.sh
Fei Sun 53f9a0f03d Ipython notebook directory name is changed, Change from ipython to jupyter, Also pass arguments instead of fixing --ip
Summary:
Change the directory name for ipython notebook.
Change the executable name fro ipython to jupyter
Pass arguments to the script to the notebook, instead of fixing --ip='*'. In some setup, --ip='*' cause jupyter notebook not displayed.
Closes https://github.com/caffe2/caffe2/pull/1546

Reviewed By: pietern

Differential Revision: D6460324

Pulled By: sf-wind

fbshipit-source-id: f73d7be96525e2ab97f3d0e7fcb4b1557934f873
2017-12-11 13:05:40 -08:00

10 lines
396 B
Bash
Executable File

#!/usr/bin/env sh
# This script simply starts the ipython notebook and allows all network machines
# to access it.
# Use the following command for very verbose prints.
# GLOG_logtostderr=1 GLOG_v=1 PYTHONPATH=../../../build:$PYTHONPATH jupyter notebook "$@"
# Use the following command for a normal run.
PYTHONPATH=build:$PYTHONPATH jupyter notebook --notebook-dir=caffe2/python/tutorials "$@"