inferno.trainers.callbacks.logging package¶
Submodules¶
inferno.trainers.callbacks.logging.base module¶
-
class
inferno.trainers.callbacks.logging.base.
Logger
(log_directory=None)[source]¶ Bases: inferno.trainers.callbacks.base.Callback
A special callback for logging.
Loggers are special because they’re required to be serializable, whereas other callbacks have no such guarantees. In this regard, they jointly handled by trainers and the callback engine.
-
log_directory
¶
-
inferno.trainers.callbacks.logging.tensorboard module¶
-
class
inferno.trainers.callbacks.logging.tensorboard.
TensorboardLogger
(log_directory=None, log_scalars_every=None, log_images_every=None, send_image_at_batch_indices='all', send_image_at_channel_indices='all', send_volume_at_z_indices='mid')[source]¶ Bases: inferno.trainers.callbacks.logging.base.Logger
Class to enable logging of training progress to Tensorboard.
Currently supports logging scalars and images.
-
log_images_every
¶
-
log_images_now
¶
-
log_scalar
(tag, value, step)[source]¶ - tag : basestring
- Name of the scalar
value step : int
training iteration
-
log_scalars_every
¶
-
log_scalars_now
¶
-
writer
¶
-
Module contents¶
-
class
inferno.trainers.callbacks.logging.
TensorboardLogger
(log_directory=None, log_scalars_every=None, log_images_every=None, send_image_at_batch_indices='all', send_image_at_channel_indices='all', send_volume_at_z_indices='mid')[source]¶ Bases: inferno.trainers.callbacks.logging.base.Logger
Class to enable logging of training progress to Tensorboard.
Currently supports logging scalars and images.
-
log_images_every
¶
-
log_images_now
¶
-
log_scalar
(tag, value, step)[source]¶ - tag : basestring
- Name of the scalar
value step : int
training iteration
-
log_scalars_every
¶
-
log_scalars_now
¶
-
writer
¶
-