flair.trainers.plugins.ClearmlLoggerPlugin#

class flair.trainers.plugins.ClearmlLoggerPlugin(task_id_or_task)View on GitHub#

Bases: TrainerPlugin

__init__(task_id_or_task)View on GitHub#

Initialize the base plugin.

Methods

__init__(task_id_or_task)

Initialize the base plugin.

attach_to(pluggable)

Attach this plugin to a Pluggable.

detach()

Detach a plugin from the Pluggable it is attached to.

get_state()

hook([first_arg])

Convience function for BasePlugin.mark_func_as_hook).

mark_func_as_hook(func, *events)

Mark method as a hook triggered by the Pluggable.

metric_recorded(record)

Attributes

attach_to_all_processes

If set, the plugin will be attached to all processes when distributed, not just the main process.

corpus

logger

model

pluggable

trainer

property logger#
metric_recorded(record)View on GitHub#
Return type:

None

property attach_to_all_processes: bool#

If set, the plugin will be attached to all processes when distributed, not just the main process.