Skip to content

Commit

Permalink
v0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ffiirree committed Nov 30, 2021
1 parent 9552edc commit ecb614b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cvm/models/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ def load_from_local_or_url(model, pth=None, url=None, progress=True):
state_dict = torch.load(os.path.expanduser(pth))
else:
state_dict = torch.hub.load_state_dict_from_url(url, progress=progress)
model.load_state_dict(state_dict)

model.load_state_dict(state_dict)
2 changes: 1 addition & 1 deletion cvm/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.2'
__version__ = '0.0.3'

0 comments on commit ecb614b

Please sign in to comment.