From d5495541371a0f55bf436d7f663aded0664b6de3 Mon Sep 17 00:00:00 2001 From: Tamas Bela Feher Date: Wed, 18 Oct 2023 15:08:52 +0200 Subject: [PATCH] Remove unnecessary dataset path check --- python/raft-ann-bench/src/raft-ann-bench/run/__main__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py b/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py index 9e2da7328d..3b670dc464 100644 --- a/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py +++ b/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py @@ -243,8 +243,6 @@ def main(): dataset_path = args.dataset_path if not os.path.exists(conf_filepath): raise FileNotFoundError(conf_filename) - if not os.path.exists(os.path.join(args.dataset_path, dataset_name)): - raise FileNotFoundError(os.path.join(args.dataset_path, dataset_name)) with open(conf_filepath, "r") as f: conf_file = json.load(f)