Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions on Evaluation on Gibson dataset: lacking pointnav_policy checkpoint #57

Open
daituantuan opened this issue Nov 29, 2024 · 0 comments

Comments

@daituantuan
Copy link

daituantuan commented Nov 29, 2024

I'm trying to run vlfm's validation on Gibson, and the questions is:
FileNotFoundError: [Errno 2] No such file or directory: 'data/pointnav_weights.pth.state_dict'
The loaded pointnav_policy network seems to change and use another checkpoint file, just as

# Need to overwrite the visual encoder because it uses an older version of
# ResNet that calculates the compression size differently
from vlfm.policy.utils.non_habitat_policy.nh_pointnav_policy import (
PointNavResNetNet,
)
# print(pointnav_policy)
pointnav_policy.net = PointNavResNetNet(discrete_actions=True, no_fwd_dict=True)
state_dict = torch.load(file_path + ".state_dict", map_location="cpu")
else:
shows.
Can anyone give some suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant