deep_bottleneck.callbacks package¶
Submodules¶
deep_bottleneck.callbacks.activityprojector module¶
-
class
deep_bottleneck.callbacks.activityprojector.
ActivityProjector
(train, test, log_dir='./logs', embeddings_freq=10)[source]¶ Bases:
sphinx.ext.autodoc.importer._MockObject
Read activity from layers of a Keras model and log is for TensorBoard
This callback reads activity from the hidden layers of a Keras model and logs it as Model Checkpoint files. The network activity patterns can then be explored in TensorBoard with its Embeddings Projector
-
on_epoch_end
(epoch, logs=None)[source]¶ Write layer activations to file :param epoch: Number of the current epoch :param logs: Quantities such as acc, loss which are passed by Sequential.fit()
Returns: None
-