Loggers
- class neuromancer.loggers.BasicLogger(args=None, savedir='test', verbosity=10, stdout=('nstep_dev_loss', 'loop_dev_loss', 'best_loop_dev_loss', 'nstep_dev_ref_loss', 'loop_dev_ref_loss'))[source]
-
- log_artifacts(artifacts)[source]
Stores artifacts created in training to disc.
- Parameters:
artifacts – (dict {str: Object})
- log_metrics(output, step=None)[source]
Print metrics to stdout.
- Parameters:
output – (dict {str: tensor}) Will only record 0d tensors (scalars)
step – (int) Epoch of training
- class neuromancer.loggers.MLFlowLogger(args=None, savedir='test', verbosity=1, id=None, stdout=('nstep_dev_loss', 'loop_dev_loss', 'best_loop_dev_loss', 'nstep_dev_ref_loss', 'loop_dev_ref_loss'), logout=None)[source]
-
- log_artifacts(artifacts={})[source]
Stores artifacts created in training to mlflow.
- Parameters:
artifacts – (dict {str: Object})