Skip to content

Commit

Permalink
Merge branch 'master' of github.com:awni/cinc17
Browse files Browse the repository at this point in the history
  • Loading branch information
awni committed Apr 2, 2017
2 parents a027226 + 733726d commit 82c1536
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### Install

Install dependencies for running on the deep cluster with Python 3 and GPU enabled Tensorflow

```
Expand All @@ -22,15 +24,36 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-8.0/lib64
export PATH=$PATH:/usr/local/cuda-8.0/bin:
```

### Run

Run with
```
gpu=0
env CUDA_VISIBLE_DEVICES=$gpu python train.py
```

### Tensorboard

To view results run:
```
port=8888
log_dir=<directory_of_saved_models>
tensorboard --port $port --logdir $log_dir
```

### Jupyter Notebook

First install `jupyter` with
```
pip install jupyter
```

Then to launch the notebook

```
cd notebooks
env CUDA_VISIBLE_DEVICES=<gpu> jupyter notebook --port <port> --ip 0.0.0.0
```
replace `<gpu>` and `<port>` with desired values.


0 comments on commit 82c1536

Please sign in to comment.