Skip to content

Commit

Permalink
forward key metrics (#3467)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon authored Sep 11, 2020
1 parent d1d48e2 commit 9e33a72
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pytorch_lightning/trainer/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,22 @@ def callback_metrics(self):
def callback_metrics(self, x):
self.logger_connector.callback_metrics = x

@property
def logged_metrics(self):
return self.logger_connector.logged_metrics

@logged_metrics.setter
def logged_metrics(self, x):
self.logger_connector.logged_metrics = x

@property
def progress_bar_metrics(self):
return self.logger_connector.progress_bar_metrics

@progress_bar_metrics.setter
def progress_bar_metrics(self, x):
self.logger_connector.progress_bar_metrics = x

@property
def state(self) -> TrainerState:
return self._state
Expand Down

0 comments on commit 9e33a72

Please sign in to comment.