sup3r.models.abstract.TensorboardMixIn#
- class TensorboardMixIn[source]#
Bases:
object
MixIn class for tensorboard logging and profiling.
Note: To monitor model training with tensorboard run
ssh -N -f -L localhost:6006:localhost:6006 <user>@<host>
on your local machine and thentensorboard --logdir <log_dir>
on the remote machineMethods
dict_to_tensorboard
(entry)Write data to tensorboard log file.
profile_to_tensorboard
(name)Write profile data to tensorboard log file.
Attributes
Record of total number of batches for logging.
- property total_batches#
Record of total number of batches for logging.