Skip to content
Snippets Groups Projects
Commit 23e2b564 authored by Rishi Sharma's avatar Rishi Sharma
Browse files

Bugfix ChangeAccumulator

parent b541d62a
No related branches found
No related tags found
No related merge requests found
......@@ -101,8 +101,8 @@ class ChangeAccumulator(Training):
output_dict = dict()
output_dict["order"] = list(self.model.state_dict().keys())
shapes = dict()
for k, v in self.model.state_dict().items():
shapes[k] = list(v.shape)
for k, v1 in self.model.state_dict().items():
shapes[k] = list(v1.shape)
output_dict["shapes"] = shapes
output_dict[self.communication_round] = v.tolist()
......
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