Skip to content

Commit 8866be6

Browse files
committed
Enable empty checkpoints without memory
1 parent 26de450 commit 8866be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bayesflow/helper_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ def load_from_file(self, file_path):
744744
memory_path = os.path.join(file_path, f"{SimulationMemory.file_name}.pkl")
745745

746746
# Case memory file exists
747-
if os.path.exists(file_path):
747+
if os.path.exists(memory_path):
748748
# Load pickle and fill in attributes
749749
with open(memory_path, "rb") as f:
750750
full_memory_dict = pickle.load(f)

0 commit comments

Comments
 (0)