classifier¶
Classifier callbacks.
Classes
LogClassifierCallback |
Callback used for logging Classifier images to Tensorboard. |
-
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.CounterCallback
Callback used for logging Classifier images to Tensorboard.
Logs the Input Image and true label.
-
__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
-