Skip to content
Snippets Groups Projects
Commit 7e5eaa04 authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Fixed a bug: Join argument needs to be iterable.

parent 827ce602
No related branches found
No related tags found
No related merge requests found
......@@ -2526,8 +2526,8 @@ class NetworkInference(BaseConfig):
output[batch] = {'x': inputs, 'y': labels, 'y_pred': prdctn}
# filename for the plot of the current batch
batch_name = '_'.join(model.state_file.stem,
'{}_{}.pt'.format(self.trg_ds.name, batch))
batch_name = '_'.join([model.state_file.stem,
'{}_{}.pt'.format(self.trg_ds.name, batch)])
# check if the current batch name exceeds the Windows limit of
# 255 characters
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment