indraroy commited on
Commit
ad0d906
·
1 Parent(s): b18544b

Fix loader path for HF dataset

Browse files
Files changed (1) hide show
  1. subiso_dataset.py +1 -1
subiso_dataset.py CHANGED
@@ -72,7 +72,7 @@ class SubgraphIsomorphismDataset:
72
 
73
  # Load corpus graphs
74
  corpus_graph_file = os.path.join(
75
- os.path.dirname(os.path.dirname(query_graph_file)),
76
  f"{self.dataset_name}{pair_count}_corpus_subgraphs.pkl"
77
  )
78
  self.corpus_graphs = pickle.load(open(corpus_graph_file, 'rb'))
 
72
 
73
  # Load corpus graphs
74
  corpus_graph_file = os.path.join(
75
+ os.path.dirname(os.path.dirname(os.path.dirname(query_graph_file))), "corpus",
76
  f"{self.dataset_name}{pair_count}_corpus_subgraphs.pkl"
77
  )
78
  self.corpus_graphs = pickle.load(open(corpus_graph_file, 'rb'))