Views
No views yet

1conda create -n fantasyvln_eval python=3.9
2conda activate fantasyvln_eval
3conda install habitat-sim==0.3.1 headless -c conda-forge -c aihabitat
4pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 xformers
5pip install -r lhvln/requirements.txt1python -m habitat_sim.utils.datasets_download --username <api-token-id> --password <api-token-secret> --uids hm3d_train_v0.2
2python -m habitat_sim.utils.datasets_download --username <api-token-id> --password <api-token-secret> --uids hm3d_val_v0.2fantasy-vln/
├── lhvln/
│ ├── data/
│ │ ├── hm3d/
│ │ │ ├── train/
│ │ │ ├── val/
│ │ │ └── hm3d_annotated_basis.scene_dataset_config.json
│ │ ├── task/
│ │ │ ├── batch_1/
│ │ │ ├── ...
│ │ │ └── batch_8/
│ │ ├── step_task/
│ │ │ ├── batch_1/
│ │ │ ├── ...
│ │ │ └── batch_8/
│ │ └── episode_task/
│ │ ├── batch_1.json.gz
│ │ ├── ...
│ │ └── batch_8.json.gz./eval.shHAB_GPU_ID: GPU id used by Habitat-Sim for environment simulation; should be a valid physical GPU and not overlap with RUN_GPU_IDS.RUN_GPU_IDS: Comma-separated list of GPU ids for inference processes; each GPU launches one process and corresponds to a subset of test data.SAVE_PATHS: Comma-separated list of output directories where logs and evaluation results are saved.MODEL_IDS: Comma-separated list of model checkpoint paths; must have the same length and order as SAVE_PATHS.1conda create -n fantasyvln_train python=3.10
2conda activate fantasyvln_train
3pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 xformers
4pip install requirements.txt1hf download Starry123/LHPR-VLN batch_{1..8}.zip --repo-type dataset --local-dir ./data/images
2for z in data/image/batch_*.zip; do unzip -o "$z" -d "${z%.zip}"; done
3
4# Prepare non-CoT json data
5python data/prepare_swift_data.py --set_name train --base_dir ./data/images --data_augmentation
6python data/prepare_swift_data.py --set_name val --base_dir ./data/images --data_augmentation
7
8# Prepare T-CoT json data
9python data/prepare_tocot_data.py --excel_path data/tcot_annotations/excel_files --input_jsonl data/json_files/swift_his_20_train_aug.jsonl
10
11# Prepare V-CoT json data
12python data/prepare_tocot_data.py --scale_schedule 3 input_jsonl data/json_files/swift_his_20_train_aug.jsonl
13
14# Prepare MM-CoT json data
15python data/prepare_mmcot_data.py --vcot_json_path data/json_files/vcot_swift_his_20_train_aug.jsonl --tcot_json_path data/json_files/tcot_swift_his_20_train_aug.jsonl --save_as_ummcot_format Trueswift_his_20_train_aug.jsonl. However, due to data licensing and privacy compliance considerations, we cannot release these annotations publicly. You may reproduce them by following the same procedure (describled in our paper).1fantasy-vln/
2├── data/
3│ ├── json_files/
4│ │ ├── swift_his_20_train_aug.jsonl
5│ │ ├── tcot_swift_his_20_train_aug.jsonl
6│ │ ├── vcot_swift_his_20_train_aug.jsonl
7│ │ ├── ummcot_swift_his_20_train_aug.jsonl
8│ ├── images/
9│ │ ├── batch_1
10│ │ ├── batch_2
11│ │ ├── batch_3
12│ │ ├── batch_4
13│ │ ├── batch_5
14│ │ ├── batch_6
15│ │ ├── batch_7
16│ │ ├── batch_8./train.sh1@inproceedings{fantasyvln2026zuo,
2 title={FantasyVLN: Unified Multimodal Chain-of-Thought Reasoning for Vision-Language Navigation},
3 shorttitle={FantasyVLN},
4 author={Zuo, Jing and Mu, Lingzhou and Jiang, Fan and Ma, Chengcheng and Xu, Mu and Qi, Yonggang},
5 booktitle = {Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition ({CVPR})},
6 year = {2026}
7}