Skip to content

Commit

Permalink
Docs/update examples (#571)
Browse files Browse the repository at this point in the history
* Update quickstart notebook

* Update vae example

* Update docs

* Add callbacks notebook

* Update basic opt example

* Update basic_opt notebook

* Update basic_opt

* Add adversarial example

* Update link

* Spelling

* Update notebook docs

* Update travis.yml

* Update travis.yml

* Remove legacy statekeys
  • Loading branch information
MattPainter01 committed Jun 13, 2019
1 parent 86389d2 commit 3255f09
Show file tree
Hide file tree
Showing 10 changed files with 1,905 additions and 228 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@ ENV/
/docs/_static/examples/data
/docs/_static/examples/images
/docs/_static/examples/logs
/docs/_static/notebooks/data
/docs/_static/notebooks/*.png
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ matrix:
dist: xenial
sudo: true
env: TORCH_VERSION=1.1.0 TORCH_URL=http://download.pytorch.org/whl/cpu/torch-1.1.0-cp37-cp37m-linux_x86_64.whl
before_install:
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qE '^(torchbearer/|tests/)'
then
echo "Only docs were updated, not running the CI."
exit
fi
# command to install dependencies
install:
- pip install -q coverage
Expand Down
540 changes: 540 additions & 0 deletions docs/_static/notebooks/adversarial.ipynb

Large diffs are not rendered by default.

344 changes: 288 additions & 56 deletions docs/_static/notebooks/basic_opt.ipynb

Large diffs are not rendered by default.

672 changes: 672 additions & 0 deletions docs/_static/notebooks/callbacks.ipynb

Large diffs are not rendered by default.

300 changes: 212 additions & 88 deletions docs/_static/notebooks/quickstart.ipynb

Large diffs are not rendered by default.

0 comments on commit 3255f09

Please sign in to comment.