Skip to content
Snippets Groups Projects
Unverified Commit a7dfc0d4 authored by Aron Jansen's avatar Aron Jansen Committed by GitHub
Browse files

Add comment on flattening

parent 44901f04
No related branches found
No related tags found
1 merge request!1788Parallel replicas with varying tr-vl masks
......@@ -535,7 +535,8 @@ class ModelTrainer:
# Loop over replicas
for replica in self.exp_info:
if key in ["expdata", "expdata_vl"]:
replica_data.append(replica[i][key].flatten())
# Save the data with shape (ndata) instead of (1, ndata)
replica_data.append(replica[i][key][0])
else:
replica_data.append(replica[i][key])
# Stack
......
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