Skip to content

Commit

Permalink
noop
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 333200261
  • Loading branch information
tfx-copybara committed Sep 23, 2020
1 parent 664e7ca commit 98ffe4d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tfx/components/evaluator/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ def Do(self, input_dict: Dict[Text, List[types.Artifact]],
eval_config = tfma.EvalConfig()
json_format.Parse(exec_properties['eval_config'], eval_config)
eval_config = tfma.update_eval_config_with_defaults(
eval_config,
maybe_add_baseline=has_baseline,
maybe_remove_baseline=not has_baseline)
eval_config, has_baseline=has_baseline)
tfma.verify_eval_config(eval_config)
# Do not validate model when there is no thresholds configured. This is to
# avoid accidentally blessing models when users forget to set thresholds.
Expand Down

0 comments on commit 98ffe4d

Please sign in to comment.