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: