Hi, I am running ObjectNav benchmark with HSSD dataset. But when I wants to output the topdown map as one of the metrics, which is ok with the HM3D dataset, I got the error in /habitat-lab/habitat/tasks/nav/nav.py line 772
assert int(sem_scene.objects[object_id].id.split("_")[-1]. And when I check the line 769,
sem_scene = self._sim.semantic_annotations() I found sem_scene.levels = [], sem_scene.objects=[], sem_scene.regions=[].
To get the topdown map, I add the following lines in the config file:
habitat_config.habitat.task.measurements.update( { "top_down_map": TopDownMapMeasurementConfig( map_padding=3, map_resolution=1024, draw_source=True, draw_border=True, draw_shortest_path=False, draw_view_points=True, draw_goal_positions=True, draw_goal_aabbs=True, fog_of_war=FogOfWarConfig( draw=True, visibility_dist=5.0, fov=79, ), ), "collisions": CollisionsMeasurementConfig(), })
❓ Questions and Help
Hi, I am running ObjectNav benchmark with HSSD dataset. But when I wants to output the topdown map as one of the metrics, which is ok with the HM3D dataset, I got the error in /habitat-lab/habitat/tasks/nav/nav.py line 772
assert int(sem_scene.objects[object_id].id.split("_")[-1]
. And when I check the line 769,sem_scene = self._sim.semantic_annotations()
I found sem_scene.levels = [], sem_scene.objects=[], sem_scene.regions=[]. To get the topdown map, I add the following lines in the config file:habitat_config.habitat.task.measurements.update( { "top_down_map": TopDownMapMeasurementConfig( map_padding=3, map_resolution=1024, draw_source=True, draw_border=True, draw_shortest_path=False, draw_view_points=True, draw_goal_positions=True, draw_goal_aabbs=True, fog_of_war=FogOfWarConfig( draw=True, visibility_dist=5.0, fov=79, ), ), "collisions": CollisionsMeasurementConfig(), })