allow loss to be used for early stopping (#127)
This commit is contained in:
parent
bdd86087e6
commit
308239cef0
|
@ -325,7 +325,7 @@ class Trainer(TrainerIO):
|
|||
@property
|
||||
def __tng_tqdm_dic(self):
|
||||
tqdm_dic = {
|
||||
'tng_loss': '{0:.3f}'.format(self.avg_loss),
|
||||
'loss': '{0:.3f}'.format(self.avg_loss),
|
||||
'epoch': '{}'.format(self.current_epoch),
|
||||
'batch_nb': '{}'.format(self.batch_nb),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue