diff --git a/src/mednet/libs/segmentation/scripts/evaluate.py b/src/mednet/libs/segmentation/scripts/evaluate.py index b6ea220dd3bb232f08889a70a017ff40d5fe1434..4719321d8f993a1b5b6678311b9befe552565fb2 100644 --- a/src/mednet/libs/segmentation/scripts/evaluate.py +++ b/src/mednet/libs/segmentation/scripts/evaluate.py @@ -32,9 +32,6 @@ def validate_threshold(threshold: float | str, splits: list[str]): ------- The validated threshold. """ - if threshold is None: - return 0.5 - try: # we try to convert it to float first threshold = float(threshold)