Skip to content

Commit

Permalink
bugfix: 途中から実行できないバグを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
krmr73 committed Jul 5, 2023
1 parent 78d7139 commit 65297d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qd/qd.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def run(self):
history2vec_ = History2Vec(self.jl_main, self.thread_num)

archive: Union[CVTArchive, None] = None
if os.path.exists(f"{self.archives_dir_path}/archive.pkl"):
with open(f"{self.archives_dir_path}/archive.pkl", "rb") as f:
if os.path.exists(f"{self.result_dir_path}/archive.pkl"):
with open(f"{self.result_dir_path}/archive.pkl", "rb") as f:
archive = pickle.load(f)
else:
archive = CVTArchive(
Expand Down

0 comments on commit 65297d8

Please sign in to comment.