deephyper.evaluator.callback.TqdmCallback#
- class deephyper.evaluator.callback.TqdmCallback(description: str = None)[source]#
Bases:
CallbackPrint information when jobs are completed by the
Evaluator.- Parameters:
description (str, optional) – an optional description to add to the progressbar.
An example usage can be:
>>> evaluator.create(method="ray", method_kwargs={..., "callbacks": [TqdmCallback()]})
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.Setter for the maximum number of evaluations.
- 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.