mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
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
10 lines
396 B
Bash
Executable File
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 "$@"
|