Fixing parallel issue
This commit is contained in:
parent
81c46d21c6
commit
edeee1a03e
|
@ -95,7 +95,7 @@ class LoadModelInfo(object):
|
||||||
else:
|
else:
|
||||||
files = []
|
files = []
|
||||||
for path in all_file_paths:
|
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):
|
for file, path in zip(files, all_file_paths):
|
||||||
dataset_name_ = file["dataset"]["name"]
|
dataset_name_ = file["dataset"]["name"]
|
||||||
if self.dataset_name == dataset_name_:
|
if self.dataset_name == dataset_name_:
|
||||||
|
|
Loading…
Reference in New Issue