added debugging util

This commit is contained in:
William Falcon 2019-07-24 10:38:45 -04:00
parent 5b9a59d486
commit b3ed4abe0f
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ class Trainer(TrainerIO):
@property @property
def __tng_tqdm_dic(self): def __tng_tqdm_dic(self):
ForkedPdb().set_trace() # ForkedPdb().set_trace()
tqdm_dic = { tqdm_dic = {
'tng_loss': '{0:.3f}'.format(self.avg_loss), 'tng_loss': '{0:.3f}'.format(self.avg_loss),
'v_nb': '{}'.format(self.experiment.version), 'v_nb': '{}'.format(self.experiment.version),