- Clone Github repo.
git clone https://github.com/zhangyuejoslin/Spartun3D.git
cd Spartun3D
- Following LEO to create a conda environment and install third-party libraries for point cloud backbones.
-
Generate Metadata
Runscene_process.py
to collect raw spatial information. We provide the metadata at: Google Drive Link. -
Generate Data with GPT-4o
Run the code ingpt_code
to generate data using GPT-4o. Please provide your OpenAI API key. -
Post-Process the Generated Data
Usedata_process/3Rscan/gpt_code/post_process.py
to refine the generated data. -
Generated Captions and QA Pairs
We provide the generated captions and question-answer pairs indata_process/spartun3D_data
.
Please download the corresponding scene data from LEO.
python launch
python launch.py --mode python --config configs/default.yaml
accelerate launch
python launch.py --mode accelerate --config configs/default.yaml
SQA3D Eval