From 644968b461842ab6636d681a6f3d276787f4ba7d Mon Sep 17 00:00:00 2001 From: Jonatan Hanssen Date: Mon, 9 Sep 2024 11:27:07 +0200 Subject: [PATCH] Fix erroneous relative path Signed-off-by: Jonatan Hanssen --- openood/evaluation_api/evaluator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openood/evaluation_api/evaluator.py b/openood/evaluation_api/evaluator.py index 7ebabfdd..6cc6456f 100644 --- a/openood/evaluation_api/evaluator.py +++ b/openood/evaluation_api/evaluator.py @@ -89,7 +89,7 @@ def __init__( # set up config root if config_root is None: filepath = os.path.dirname(os.path.abspath(__file__)) - config_root = os.path.join(*filepath.split('/')[:-2], 'configs') + config_root = os.path.join('/', *filepath.split('/')[:-2], 'configs') # get postprocessor if postprocessor is None: