minosworld / minos

MINOS: Multimodal Indoor Simulator
MIT License
201 stars 32 forks source link

Shortest path is not always available #113

Open ducha-aiki opened 5 years ago

ducha-aiki commented 5 years ago

I am trying to implement SPL metric from "On Evaluation of Embodied Navigation Agents" https://arxiv.org/abs/1807.06757

image

For doing so, I calculate travelled path and compare it to shortest path

gt_shortest_path = float(observation['observation']['measurements']['shortest_path_to_goal']['distance'])

However, sometimes

 observation['observation']['measurements']['shortest_path_to_goal']

is empty dict. Usually it is on mp3d and I suspect that it is connected to issue https://github.com/minosworld/minos/issues/112

ZhuFengdaaa commented 5 years ago

Facing the same issue. Shortest path is usually not available, even in dev branch.