From 3b2f9fe4da2d544db96e050ca87a2c7657167869 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Thu, 18 Jul 2019 13:27:40 +0200 Subject: [PATCH] Fixed entropy threshold keyword argument Signed-off-by: Jim Martens --- src/twomartens/masterthesis/ssd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twomartens/masterthesis/ssd.py b/src/twomartens/masterthesis/ssd.py index d9f4eda..47a0a44 100644 --- a/src/twomartens/masterthesis/ssd.py +++ b/src/twomartens/masterthesis/ssd.py @@ -300,7 +300,7 @@ def _predict_loop(generator: Generator, use_dropout: bool, steps_per_epoch: int, if not saved_images_prediction: save_images(inputs, predictions, custom_string="after-prediction") for entropy_threshold in entropy_thresholds: - decoded_predictions = decode_func(predictions, entropy_threshold=entropy_threshold) + decoded_predictions = decode_func(predictions, entropy_thresh=entropy_threshold) if not saved_images_decoding: custom_string = f"after-decoding-{entropy_threshold}" if use_entropy_threshold else "after-decoding" save_images(inputs, decoded_predictions, custom_string=custom_string)