Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions intermediate_source/tensorboard_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,9 @@ We'll begin with similar boilerplate code as in the `CIFAR-10 tutorial <https://
transform=transform)

# dataloaders
trainloader = torch.utils.data.DataLoader(trainset, batch_size=4,
shuffle=True, num_workers=2)
trainloader = torch.utils.data.DataLoader(trainset, batch_size=4, shuffle=True)


testloader = torch.utils.data.DataLoader(testset, batch_size=4,
shuffle=False, num_workers=2)
testloader = torch.utils.data.DataLoader(testset, batch_size=4, shuffle=False)

# constant for classes
classes = ('T-shirt/top', 'Trouser', 'Pullover', 'Dress', 'Coat',
Expand Down Expand Up @@ -159,7 +156,7 @@ Now running

::

tensorboard --logdir=runs
PYTHONWARNINGS="ignore:pkg_resources is deprecated as an API:UserWarning" tensorboard --logdir=runs

from the command line and then navigating to `http://localhost:6006 <http://localhost:6006>`_
should show the following.
Expand Down