LogClassifierCallback¶
Inheritance Diagram

-
class
ashpy.callbacks.classifier.LogClassifierCallback(event=<Event.ON_EPOCH_END: 'ON_EPOCH_END'>, name='log_classifier_callback', event_freq=1)[source]¶ Bases:
ashpy.callbacks.counter_callback.CounterCallbackCallback used for logging Classifier images to Tensorboard.
Logs the Input Image and true label.
Methods
__init__([event, name, event_freq])Initialize the LogClassifierCallback. Attributes
nameReturn the name of the callback. name_scopeReturns a tf.name_scope instance for this class. submodulesSequence of all sub-modules. trainable_variablesSequence of variables owned by this module and it’s submodules. variablesSequence of variables owned by this module and it’s submodules. -
__init__(event=<Event.ON_EPOCH_END: 'ON_EPOCH_END'>, name='log_classifier_callback', event_freq=1)[source]¶ Initialize the LogClassifierCallback.
Parameters:
-
static
_log_fn(context)[source]¶ Log output of the image and label to Tensorboard.
Parameters: context ( ClassifierContext) – current contextReturn type: None
-