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_: