wzcai99 / Pixel-Navigator

Official GitHub Repository for Paper "Bridging Zero-shot Object Navigation and Foundation Models through Pixel-Guided Navigation Skill", ICRA 2024
71 stars 5 forks source link

Unable to test objnav_benchmark.py #11

Open Athirakr94 opened 1 week ago

Athirakr94 commented 1 week ago

Dear Authors, The work seems to be interesting and wanted try this out. To start I have followed the commands in the repo. I am able to use mp3d in policy evaluation it works. But with this command, python objnav_benchmark.py --checkpoint=/home/athira/Pixel-Navigator/checkpoints/pixelnav_C.ckpt I am getting error. Screen shot shared for reference. The val split of hm3d dataset is downloaded to /data/athira/hm3d image Please help.

Athirakr94 commented 1 week ago

That was a path issue I could resolve that error. But now a new index error is coming. image Any idea

wzcai99 commented 1 week ago

Hi, I checked my code and remember that I comment one line of the habitat-lab code, which is in the line 106 of the habitat-lab/habitat-lab/habitat/core/env.py. It seems that only comments this line can make the scene_dataset_config path correct. Maybe there should be a better way to solve this. image

wzcai99 commented 1 week ago

And you can try whether this can solve your problem @Athirakr94.

Athirakr94 commented 5 days ago

Thanks I tried commenting line 106, but then its throwing a validation error as, raise ValidationError("Cannot convert '$VALUE_TYPE' to string: '$VALUE'") omegaconf.errors.ValidationError: Cannot convert 'tuple' to string: '()' full_key: habitat.simulator.scene_dataset reference_type=SimulatorConfig object_type=SimulatorConfig So tried commenting lines 105-107, then old error is coming again ![Uploading image.png…]()

wzcai99 commented 5 days ago

Sorry, I cannot see the recent uploaded image, can you upload the error message again?

Athirakr94 commented 13 hours ago

Thanks for the help I was able to run the script after ensuring draw_goal_aabbs=False. Hope this is fine