Skip to content

Commit

Permalink
Version change from 0.1.6 to 0.1.7 (#596)
Browse files Browse the repository at this point in the history
* Version change from 0.1.6 to 0.1.7

* Made flake8 happy
  • Loading branch information
mathfac authored Feb 22, 2021
1 parent 1e057da commit d6ed1c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion habitat/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

VERSION = "0.1.6"
VERSION = "0.1.7"
2 changes: 1 addition & 1 deletion habitat_baselines/slambased/monodepth.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ def __init__(self, checkpoint="./pretrained_model/model_resnet"):
)
self.model = torch.nn.DataParallel(self.model).cuda()
cpt = torch.load(checkpoint)
if "state_dict" in cpt.keys():
if "state_dict" in cpt:
cpt = cpt["state_dict"]
self.model.load_state_dict(cpt)
self.model.eval()
Expand Down

0 comments on commit d6ed1c0

Please sign in to comment.