How to use the livelossplot.tensorboard.TensorboardLogger function in livelossplot

To help you get started, we’ve selected a few livelossplot examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github stared / livelossplot / livelossplot / generic_plot.py View on Github external
# backward compatibility
            self.series_fmt['validation'] = validation_fmt
        self.logs = None
        self.base_metrics = None
        self.metrics_extrema = None
        self.plot_extrema = plot_extrema
        self.skip_first = skip_first
        self.target = target
        self._validate_target()
        if target == MATPLOTLIB_TARGET:
            not_inline_warning()
        self.fig_path = fig_path

        if tensorboard_dir:
            from .tensorboard import TensorboardLogger
            self.tensorboard_logger = TensorboardLogger(tensorboard_dir)
        else:
            self.tensorboard_logger = None

        self.set_max_epoch(max_epoch)
        self.extra_plots = extra_plots
        self.global_step = 0