Update tensorboard.rst in SummaryWriterCallback (#822)

* Update tensorboard.rst

* update changelog.rst

* update changelog.rst, add username
This commit is contained in:
Yuan 2022-03-15 21:48:52 +01:00 committed by GitHub
parent e88eb1c9ca
commit 009bb0549a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -265,7 +265,7 @@ can get direct access to the underlying SummaryWriter in a callback:
def _on_training_start(self): def _on_training_start(self):
self._log_freq = 1000 # log every 1000 calls self._log_freq = 1000 # log every 1000 calls
output_formats = self.logger.Logger.CURRENT.output_formats output_formats = self.logger.output_formats
# Save reference to tensorboard formatter object # Save reference to tensorboard formatter object
# note: the failure case (not formatter found) is not handled here, should be done with try/except. # note: the failure case (not formatter found) is not handled here, should be done with try/except.
self.tb_formatter = next(formatter for formatter in output_formats if isinstance(formatter, TensorBoardOutputFormat)) self.tb_formatter = next(formatter for formatter in output_formats if isinstance(formatter, TensorBoardOutputFormat))

View file

@ -48,6 +48,7 @@ Documentation:
- Fix indentation 2 spaces to 4 spaces in custom env documentation example (@Gautam-J) - Fix indentation 2 spaces to 4 spaces in custom env documentation example (@Gautam-J)
- Update MlpExtractor docstring (@gianlucadecola) - Update MlpExtractor docstring (@gianlucadecola)
- Added explanation of the logger output - Added explanation of the logger output
- Update ``Directly Accessing The Summary Writer`` in tensorboard integration (@xy9485)
Release 1.4.0 (2022-01-18) Release 1.4.0 (2022-01-18)
--------------------------- ---------------------------
@ -926,4 +927,4 @@ And all the contributors:
@benblack769 @bstee615 @c-rizz @skandermoalla @MihaiAnca13 @davidblom603 @ayeright @cyprienc @benblack769 @bstee615 @c-rizz @skandermoalla @MihaiAnca13 @davidblom603 @ayeright @cyprienc
@wkirgsn @AechPro @CUN-bjy @batu @IljaAvadiev @timokau @kachayev @cleversonahum @wkirgsn @AechPro @CUN-bjy @batu @IljaAvadiev @timokau @kachayev @cleversonahum
@eleurent @ac-93 @cove9988 @theDebugger811 @hsuehch @Demetrio92 @thomasgubler @IperGiove @ScheiklP @eleurent @ac-93 @cove9988 @theDebugger811 @hsuehch @Demetrio92 @thomasgubler @IperGiove @ScheiklP
@simoninithomas @armandpl @manuel-delverme @Gautam-J @gianlucadecola @buoyancy99 @caburu @simoninithomas @armandpl @manuel-delverme @Gautam-J @gianlucadecola @buoyancy99 @caburu @xy9485