Artifact that contains the evaluation of a trained model.
tfx.v1.types.standard_artifacts.ModelBlessing( *args, **kwargs )
This artifact is usually used with Conditional when determining whether to push this model on service or not.
# Run pusher if evaluator has blessed the model. with tfx.dsl.Cond(evaluator.outputs['blessing'].future() .custom_property('blessed') == 1): pusher = Pusher(...)
BLESSED: if the evaluator has blessed the model.
NOT_BLESSED: if the evaluator has not blessed the model.
- See tfx/components/evaluator/executor.py for how to write ModelBlessing.
Commonly used custom properties of the ModelBlessing artifact:
blessed: int value that represents whether the evaluator has blessed its model or not.