Esempio n. 1
0
 def _save_losses(self) -> None:
     plot_save_losses(self._losses[:2], ['generator', 'critic'],
                      self._outputs_dir, 'gan_loss')
Esempio n. 2
0
 def _save_losses(self) -> None:
     plot_save_losses(self._losses[:2], ['generator', 'discriminator'],
                      self._outputs_dir, 'gan_loss')
     plot_save_losses(self._losses[2:3], ['k'], self._outputs_dir, 'k')
     plot_save_losses(self._losses[3:4], ['m_value'], self._outputs_dir,
                      'm_value')