Open
Description
The “TensorBoard in notebooks” tutorial starts with setup
instructions, which makes sense. But while the setup instructions for
90% of users are just %load_ext tensorboard
, the first four paragraphs
of the section, including the first code block, are for niche edge cases
like cross-virtualenv Jupyter installs and Docker users. This makes it
hard to find what most users should actually run.
We should consider relegating the edge-case setup instructions to the
end of the notebook, and put a note referring to them after the common
setup:
# Setup
Start by installing TF 2.0 and loading the TensorBoard notebook extension:
```python
%load_ext tensorboard
```
**For Jupyter users:** If you use a non-standard virtualenv setup and
are running into problems, see “Advanced setup” below.
**For Docker users:** See “Advanced setup” below.
# TensorBoard in notebooks
Download the [FashionMNIST] dataset and scale it:
```python
import datetime, os
```
```python
fashion_mnist = ...
```