diff --git a/docs/guide/tensorboard.rst b/docs/guide/tensorboard.rst index 6235a14..dc39d8b 100644 --- a/docs/guide/tensorboard.rst +++ b/docs/guide/tensorboard.rst @@ -265,7 +265,7 @@ can get direct access to the underlying SummaryWriter in a callback: def _on_training_start(self): 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 # 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)) diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst index 599ff95..c1d8d16 100644 --- a/docs/misc/changelog.rst +++ b/docs/misc/changelog.rst @@ -48,6 +48,7 @@ Documentation: - Fix indentation 2 spaces to 4 spaces in custom env documentation example (@Gautam-J) - Update MlpExtractor docstring (@gianlucadecola) - Added explanation of the logger output +- Update ``Directly Accessing The Summary Writer`` in tensorboard integration (@xy9485) Release 1.4.0 (2022-01-18) --------------------------- @@ -926,4 +927,4 @@ And all the contributors: @benblack769 @bstee615 @c-rizz @skandermoalla @MihaiAnca13 @davidblom603 @ayeright @cyprienc @wkirgsn @AechPro @CUN-bjy @batu @IljaAvadiev @timokau @kachayev @cleversonahum @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