Skip to content

Commit

Permalink
TensorBoard Next Integration
Browse files Browse the repository at this point in the history
Summary: We had to roll D44153511 due to writing to the Logarithm Writer after closing it. D45011889 has a fix for that.

Reviewed By: newstzpz

Differential Revision: D45012174

fbshipit-source-id: cd6bb59f2a855a4e3b4c7949ff546fda2a13b5ec
  • Loading branch information
Hamza Jazmati authored and facebook-github-bot committed Apr 27, 2023
1 parent ecb786c commit a17c6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detectron2/utils/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def __init__(self, max_iter: Optional[int] = None, window_size: int = 20):
Used to compute ETA. If not given, ETA will not be printed.
window_size (int): the losses will be median-smoothed by this window size
"""
self.logger = logging.getLogger(__name__)
self.logger = logging.getLogger("detectron2.utils.events")
self._max_iter = max_iter
self._window_size = window_size
self._last_write = None # (step, time) of last call to write(). Used to compute ETA
Expand Down

0 comments on commit a17c6b6

Please sign in to comment.