deephyper.evaluator.callback.LoggerCallback#
- class deephyper.evaluator.callback.LoggerCallback[source]#
Bases:
CallbackPrint information when jobs are completed by the
Evaluator.An example usage can be:
>>> evaluator.create(method="ray", method_kwargs={..., "callbacks": [LoggerCallback()]})
Methods
Called when the evaluator is being closed.
Called when a local job has been gathered.
Called after gathering local jobs on available remote jobs that are done.
Called after gathering jobs.
Called each time a
Jobis created by theEvaluator.- on_close()#
Called when the evaluator is being closed.
- on_done_other(job)[source]#
Called after gathering local jobs on available remote jobs that are done.