(self, scalars, it, is_train)
| 34 | self._writer.export_scalars_to_json(self._tb_path) |
| 35 | |
| 36 | def plot_scalars(self, scalars, it, is_train): |
| 37 | for label, scalar in scalars.items(): |
| 38 | sum_name = '{}/{}'.format('Train' if is_train else 'Test', label) |
| 39 | self._writer.add_scalar(sum_name, scalar, it) |
| 40 | |
| 41 | def print_current_train_errors(self, epoch, i, iters_per_epoch, errors, t, visuals_were_stored): |
| 42 | log_time = time.strftime("[%d/%m/%Y %H:%M:%S]") |
no outgoing calls
no test coverage detected