From 161bcf42addf331661c3929073688b9f2c13502c Mon Sep 17 00:00:00 2001 From: Deepak Mallubhotla Date: Thu, 27 Jul 2023 17:09:52 -0500 Subject: [PATCH] fix: fixes bug if case of clamping necessary --- deepdog/bayes_run_with_ss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepdog/bayes_run_with_ss.py b/deepdog/bayes_run_with_ss.py index f8f0a48..27a1571 100644 --- a/deepdog/bayes_run_with_ss.py +++ b/deepdog/bayes_run_with_ss.py @@ -208,7 +208,7 @@ class BayesRunWithSubspaceSimulation: for (name, result) in zip(self.model_names, results): if result.over_target_likelihood is None: - clamped_likelihood = result.probs_list[-1][0] / CLAMPING_FACTOR + clamped_likelihood = result.lowest_likelihood / CLAMPING_FACTOR _logger.warning( f"got a none result, clamping to {clamped_likelihood}" )