TrackerCallback

class TrackerCallback(result_tracker)[source]

Bases: pykeen.training.callbacks.TrainingCallback

An adapter for the pykeen.trackers.ResultTracker.

It logs the loss after each epoch to the given result tracker,

Initialize the callback.

Parameters

result_tracker (ResultTracker) – The result tracker to which the loss is logged.

Methods Summary

post_epoch(epoch, epoch_loss, **kwargs)

Call after epoch.

Methods Documentation

post_epoch(epoch, epoch_loss, **kwargs)[source]

Call after epoch.

Return type

None