dcase_util.keras.BaseCallback

class dcase_util.keras.BaseCallback(epochs=None, manual_update=False, external_metric_labels=None, **kwargs)[source]

Base class for Callbacks

__init__(epochs=None, manual_update=False, external_metric_labels=None, **kwargs)[source]

Methods

__init__([epochs, manual_update, ...])

add_external_metric(metric_label)

get_operator(metric)

on_batch_begin(batch[, logs])

on_batch_end(batch[, logs])

on_epoch_begin(epoch[, logs])

on_epoch_end(epoch[, logs])

on_train_begin([logs])

on_train_end([logs])

set_external_metric_value(metric_label, ...)

set_model(model)

set_params(params)

update()

Attributes

logger