Martian World Model introduces a comprehensive solution for synthesizing realistic Martian landscape videos, addressing the critical need for mission rehearsal and robotic simulation in planetary exploration.
To set up the environment for Martian World Model, follow these steps:
# Create a new conda environment
conda create -n mars python=3.10.13 cmake=3.14.0 -y
# Activate the environment
conda activate mars
# Install PyTorch and CUDA dependencies
conda install pytorch torchvision pytorch-cuda=12.1 -c pytorch -c nvidia
# Install required Python packages
pip install -r requirements.txt
# Install submodules
pip install submodules/simple-knn
pip install submodules/diff-gaussian-rasterization
pip install submodules/fused-ssim
To download the GIM weights required for the project, use the following link:
After downloading, place the weights in the gim/weights/ directory.
To use the M3arsSynth for synthesizing Martian landscape videos, follow these steps:
-
Replace the
DATA_ROOT_DIRvariable inscripts/infer.shwith the absolute path to your project directory. -
Run the following command:
bash scripts/infer.shThis will execute the pipeline for co-visible global geometry initialization, pose optimization, and video rendering.