Fixing parallel issue

This commit is contained in:
araison 2023-01-16 02:00:56 +01:00
parent 81c46d21c6
commit edeee1a03e

View File

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