From edeee1a03e51123b1d5d3aae3f1cbd67418cd303 Mon Sep 17 00:00:00 2001 From: araison Date: Mon, 16 Jan 2023 02:00:56 +0100 Subject: [PATCH] Fixing parallel issue --- explaining_framework/utils/explaining/load_ckpt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explaining_framework/utils/explaining/load_ckpt.py b/explaining_framework/utils/explaining/load_ckpt.py index 5fd739e..b26fc39 100644 --- a/explaining_framework/utils/explaining/load_ckpt.py +++ b/explaining_framework/utils/explaining/load_ckpt.py @@ -95,7 +95,7 @@ class LoadModelInfo(object): else: files = [] for path in all_file_paths: - file.append(self.load_cfg(path)) + files.append(self.load_cfg(path)) for file, path in zip(files, all_file_paths): dataset_name_ = file["dataset"]["name"] if self.dataset_name == dataset_name_: