You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/hpc/2018-07-19-jupyter-tensorflow.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ If you find a command hanging or failing, you might need to re-authenticate the
29
29
password, or you might be entering the wrong password.
30
30
31
31
32
-
###Step 1: Download the Repository
32
+
## Step 1: Download the Repository
33
33
First, clone the repository, and remember the location. You will generate a parameters flie
34
34
`params.sh` that you can go back to and use again.
35
35
@@ -50,7 +50,7 @@ As a reminder from the previous post, here are the files that we have to work wi
50
50
└── start.sh (-- how you start a connection
51
51
```
52
52
53
-
### Step 2: Generate your Parameters
53
+
## Step 2: Generate your Parameters
54
54
55
55
You will need to generate a file of parameters to source before using the tool. Importantly, if you
56
56
want to use tensorflow with a gpu, you should selectthe partition to be "gpu" when it asks you.
@@ -90,7 +90,7 @@ MEM="20G"
90
90
TIME="8:00:00"
91
91
```
92
92
93
-
### Step 3: SSH Credentials
93
+
## Step 3: SSH Credentials
94
94
95
95
Follow the <a href="https://www.sherlock.stanford.edu/docs/getting-started/connecting/" target="_blank">instructions here</a> to set up your Sherlock credentials. You
96
96
can see what you have by looking at your `~/.ssh/config`:
@@ -129,7 +129,7 @@ or just do the entire thing programatically:
129
129
bash hosts/sherlock_ssh.sh >>~/.ssh/config
130
130
```
131
131
132
-
### Step 4. On Sherlock
132
+
## Step 4. On Sherlock
133
133
134
134
<br>
135
135
@@ -155,7 +155,7 @@ $ pip install protobuf --user
155
155
$ pip3 install protobuf --user
156
156
```
157
157
158
-
### Step 5. Usage
158
+
## Step 5. Usage
159
159
160
160
We have just set up a password on Sherlock, and are now back on our _local machine_. Here are the general commands to start and stop sessions. In the tutorial below, we will walk through using Jupyter notebook.
Once you have jupyter running, you want to **make sure you selectthe python kernel corresponding to
213
213
the one for your job!** For our tutorial, we loaded python 2, so we would want to create a Python 2 notebook.
@@ -290,7 +290,7 @@ to see rules for usage, and your options.
290
290
291
291
Well what are you waiting for? Ask forhelp by <a href="https://github.com/drorlab/forward" target="_blank">opening an issue</a>! or submitting a pull request.
292
292
293
-
## Why not Containers
293
+
## Wait, Why not Containers?
294
294
295
295
It occurs to me, it's pretty annoying to need to load modules, and still have broken dependencies.
296
296
Would you be interested in a function like this to start an interactive container? And then allow it to
0 commit comments