NXTfusion.Logger module

class NXTfusion.Logger.Logger(log_dir)[source]

Bases: object

This class actually writes data on the tensorboard logger. It could be used directly or it can be used through the MetaLogger class

__init__(log_dir)[source]

Create a summary writer logging to log_dir.

histo_summary(tag, values, step, bins=1000)[source]

Log a histogram of the tensor of values.

image_summary(tag, images, step)[source]

Log a list of images.

list_summary(tags, values, step)[source]
scalar_summary(tag, value, step)[source]

Log a scalar variable.

class NXTfusion.Logger.MetaLogger(model, port=6006)[source]

Bases: object

This class incapsulates the tensorboard logging code, but uses the underlying Logger class to do all the real work.

shutdown()[source]
writeTensorboardLog(step, errTot, lossScores, relationList, te)[source]
NXTfusion.Logger.signal_term_handler(signal, frame)[source]
NXTfusion.Logger.to_np(x)[source]
NXTfusion.Logger.to_var(x)[source]