-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Factor out common functionality from PrintLog .. that it will share with TensorBoard. In addition, improve docstring and move the handling of keys_ignored being a string to initialize method (so that init params are not modified). * (WIP) TensorBoard callback for automatic logging to tensorboard There will be an update to one of the existing notebooks to use this callback and show how to extend it. * Add tensorboard as optional dependency Skip TensorBoard tests if tensorboard is installed. * Fix typo in requirements-dev.txt * Tensorboard needs past which needs future * SummaryWriter also needs PIL * Fix typo in docstring Co-Authored-By: Sergey Alexandrov <alexandrov88@gmail.com> * Add TensorBoard to MNIST-torchvision notebook Also demonstrates how to subclass TensorBoard callback. * Improve docstrings for clarity As suggested by taketwo * Add (failing) test for add_graph with dict input * Remove add_graph for now from TensorBoard It works most of the time but not all of the time. Therefore, we remove this functionality for now, so that we have at least the scalar logging (which is more useful anyway). Still show in the notebook how to add graphs. * Add instruction how to start tensorboard Addressing reviewer suggestion. * Satisfy pylint on tensorboard install Addresses reviewer comment * Use contextlib.suppress instead of empty catch Addresses reviewer comment
- Loading branch information
1 parent
066eb39
commit b8cb53f
Showing
10 changed files
with
695 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
fire | ||
flaky | ||
future>=0.17.1 | ||
jupyter | ||
matplotlib>=2.0.2 | ||
numpydoc | ||
openpyxl | ||
pandas | ||
pillow | ||
pylint | ||
pytest>=3.4 | ||
pytest-cov | ||
sphinx | ||
sphinx_rtd_theme | ||
tensorboard>=1.14.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.