Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bde989b

Browse files
authored
Merge pull request #620 from ohadf/patch-1
Fixed typo in running loss calculation
2 parents 54f4c2e + d7cf553 commit bde989b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

intermediate_source/tensorboard_tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ batch.
316316
317317
# ...log the running loss
318318
writer.add_scalar('training loss',
319-
running_loss / 2000,
319+
running_loss / 1000,
320320
epoch * len(trainloader) + i)
321321
322322
# ...log a Matplotlib Figure showing the model's predictions on a

0 commit comments

Comments
 (0)