๐ŸŒ US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content
zhoubohan0Public

About

[IROS 2025 oral] Official implementation of NOLO: Navigate Only Look Once

Resources

Stars

23 stars

Watchers

2 watching

Forks

Latest commit

ย 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NOLO: Navigate Only Look Once

Arxiv Website BibTex

0. Overview ๐Ÿ™Œ

We aim to tackle the video navigation problem, whose goal is to train an in-context policy to find objects included in the context video in a new scene. After watching an 30-second egocentric video, an agent is expected to reason how to reach the target objetct specified by a goal image. Please refer to our website for videos of real-world deployment.

1. Install ๐Ÿš€

1.1 Install required packages ๐Ÿ›ฐ๏ธ

conda create -n nolo python=3.9
conda activate nolo
cd nolo
pip install -r docs/requirements.txt

1.2 Install RoboTHOR and Habitat ๐Ÿ”

Refer to RoboTHOR to install RoboTHOR and Habitat-sim to install Habitat simulator.

1.3 Download Pretrained Models ๐Ÿ“‘

SuperGlue: https://github.com/magicleap/SuperGluePretrainedNetwork. Place the downloaded checkpoints in scripts/superglue/weights. GMFlow: https://github.com/haofeixu/gmflow. Place the downloaded checkpoints in scripts/gmflow/gmflow-pretrained. Detic: https://github.com/facebookresearch/Detic. Place the whole repository in scripts/Detic.

Dataset ๐Ÿ“š

1. Download Scene Dataset in Habitat ๐Ÿ—‚๏ธ

Refer to Habitat-lab to install Matterport3D datasets. Change the path in scripts/collect_habitat_all.py to where the dataset stores.

2. Create Dataset ๐Ÿ“ฅ

Domain can be chosen from 'robothor' or 'habitat'.

python -m scripts.collect_$domain$_all

The generated offline datasets will be in the following structure:

offline-dataset
โ”œโ”€โ”€ robothor-dataset
โ”‚   โ”œโ”€โ”€ 900
โ”‚   โ”‚   โ”œโ”€โ”€ train
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ FloorPlan1_1
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ FloorPlan1_2
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ...
โ”‚   โ”‚   โ”œโ”€โ”€ val
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ FloorPlan1_5
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ FloorPlan2_5
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ...
โ”œโ”€โ”€ mp3d-dataset
โ”‚   โ”œโ”€โ”€ 900
โ”‚   โ”‚   โ”œโ”€โ”€ train
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ 1LXtFkjw3qL
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ...
โ”‚   โ”‚   โ”œโ”€โ”€ val
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ 2azQ1b91cZZ
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ...

3. Offline Reinforcement Learning ๐ŸŽฎ

Train a VN-Bert policy using BCQ in 'robothor' or 'habitat'.

python -m recbert_policy.train_vnbert --exp_name bcq_rank_0.5_9_SA --domain $domain$

4. Run Evaluation! ๐Ÿ†

  • Evaluate Random policy in 'robothor' or 'habitat':
bash bash/eval_$domain$_random.sh
  • Evaluate baseline LMM policy 'gpt4o' or 'videollava' in 'robothor' or 'habitat'.
bash bash/eval_$domain$_baseline.sh  $baseline$

โ€‹ Notice to provide a API-KEY if use gpt4o for evaluation.

  • Evaluate VN-Bert policy (NOLO) in 'robothor' or 'habitat'. Ablation variants and cross-domain evaluation are also supported.
bash bash/eval_habitat_policymode.sh  "nolo-bert" $checkpoint_path$ "Q" "SA"

5. Real World Experiments! ๐Ÿค–

  • Collect random RGB and action sequence
python scripts/collect_maze.py
  • Decode actions from recorded video:
python scripts/label_maze.py
  • Train a policy using BCQ in real world maze environment.
python -m recbert_policy.train_vnbert_real --exp_name maze
  • Evaluate the trained policy
python -m scripts.inference_maze_transformer

About

[IROS 2025 oral] Official implementation of NOLO: Navigate Only Look Once

Resources

Stars

23 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages