niftynet.engine.handler_console module

This module implements a console output writer.

class ConsoleLogger(**_unused)[source]

Bases: object

This class handles iteration events to print output to the console.

read_console_vars(sender, **msg)[source]

Event handler to add all console output ops to the iteration message

Parameters:
  • sender – a niftynet.application instance
  • msg – an iteration message instance
Returns:

print_console_vars(_sender, **msg)[source]

Printing iteration message with tf.logging interface.

Parameters:
  • _sender
  • msg – an iteration message instance
Returns: