Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tigist-d committed Sep 20, 2021
1 parent 8fcfc2b commit d96839e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ training will work but will take a very long time.
Without docker:
```bash
$ CHECKPOINT_PATH=$(echo ./runs/imagewoof/*/lightning_logs/version_0/checkpoints/last.ckpt)
$ CHECKPOINT_PATH=$(echo ./runs/imagewoof_rotpred/*/lightning_logs/version_0/checkpoints/last.ckpt)
$ open_sesemi -cn imagewoof_rotpred \
run.mode=VALIDATE \
run.pretrained_checkpoint_path=$CHECKPOINT_PATH
Expand All @@ -109,7 +109,7 @@ training will work but will take a very long time.
```bash
$ USER_ID=$(id -u) SESEMI_IMAGE=sesemi GPUS=all
$ CHECKPOINT_PATH=$(echo ./runs/imagewoof/*/lightning_logs/version_0/checkpoints/last.ckpt)
$ CHECKPOINT_PATH=$(echo ./runs/imagewoof_rotpred/*/lightning_logs/version_0/checkpoints/last.ckpt)
$ docker run \
--gpus ${GPUS} \
-u ${USER_ID} \
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ <h2>Getting Started<a class="headerlink" href="#getting-started" title="Permalin
<blockquote>
<div><p>Without docker:</p>
</div></blockquote>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> $ <span class="nv">CHECKPOINT_PATH</span><span class="o">=</span><span class="k">$(</span><span class="nb">echo</span> ./runs/imagewoof/*/lightning_logs/version_0/checkpoints/last.ckpt<span class="k">)</span>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> $ <span class="nv">CHECKPOINT_PATH</span><span class="o">=</span><span class="k">$(</span><span class="nb">echo</span> ./runs/imagewoof_rotpred/*/lightning_logs/version_0/checkpoints/last.ckpt<span class="k">)</span>
$ open_sesemi -cn imagewoof_rotpred <span class="se">\</span>
run.mode<span class="o">=</span>VALIDATE <span class="se">\</span>
run.pretrained_checkpoint_path<span class="o">=</span><span class="nv">$CHECKPOINT_PATH</span>
Expand All @@ -258,7 +258,7 @@ <h2>Getting Started<a class="headerlink" href="#getting-started" title="Permalin
</pre></div>
</div>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ <span class="nv">USER_ID</span><span class="o">=</span><span class="k">$(</span>id -u<span class="k">)</span> <span class="nv">SESEMI_IMAGE</span><span class="o">=</span>sesemi <span class="nv">GPUS</span><span class="o">=</span>all
$ <span class="nv">CHECKPOINT_PATH</span><span class="o">=</span><span class="k">$(</span><span class="nb">echo</span> ./runs/imagewoof/*/lightning_logs/version_0/checkpoints/last.ckpt<span class="k">)</span>
$ <span class="nv">CHECKPOINT_PATH</span><span class="o">=</span><span class="k">$(</span><span class="nb">echo</span> ./runs/imagewoof_rotpred/*/lightning_logs/version_0/checkpoints/last.ckpt<span class="k">)</span>
$ docker run <span class="se">\</span>
--gpus <span class="si">${</span><span class="nv">GPUS</span><span class="si">}</span> <span class="se">\</span>
-u <span class="si">${</span><span class="nv">USER_ID</span><span class="si">}</span> <span class="se">\</span>
Expand Down
Loading

0 comments on commit d96839e

Please sign in to comment.