Returns keys2 e.g. loss,acc.
(self, key: str, epoch: int = None)
| 77 | return tuple(self.stats[epoch]) |
| 78 | |
| 79 | def get_keys2(self, key: str, epoch: int = None) -> Tuple[str, ...]: |
| 80 | """Returns keys2 e.g. loss,acc.""" |
| 81 | if epoch is None: |
| 82 | epoch = self.get_epoch() |
| 83 | d = self.stats[epoch][key] |
| 84 | keys2 = tuple(k for k in d if k not in ("time", "total_count")) |
| 85 | return keys2 |
| 86 | |
| 87 | def plot_stats(self): |
| 88 | self.matplotlib_plot(self.log_dir) |
no test coverage detected