Skip to content

Commit

Permalink
Merge pull request #24 from moskomule/dev
Browse files Browse the repository at this point in the history
Minor bugfix
  • Loading branch information
moskomule authored Jul 8, 2019
2 parents be11001 + 58f28b0 commit 3f3b880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homura/utils/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ def load_state_dict(self, state_dicts: dict):
self[k].load_state_dict(v)

def zero_grad(self):
for v in self.items():
for v in self.values():
if hasattr(v, "zero_grad"):
v.zero_grad()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
requirements = f.read().split()

setup(name="homura",
version="0.6.0",
version="0.6.1",
author="moskomule",
author_email="hataya@nlab.jp",
packages=find_packages(exclude=["test", "docs", "examples"]),
Expand Down

0 comments on commit 3f3b880

Please sign in to comment.