Summary: Sync4DGS with 3D trajectory-driven time alignment
Clone the source code of this repo.
mkdir sync4dgs
cd sync4dgs
git clone --recursive https://github.com/KAIST-VICLab/Sync4DGS.git .Installation through pip is recommended. First, set up your Python environment:
conda create -n sync4dgs python=3.9
conda activate sync4dgsMake sure to install CUDA and PyTorch versions that match your CUDA environment. We've tested on RTX 4090 GPU with PyTorch version 2.1.2. Please refer https://pytorch.org/ for further information.
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121Modify prefix of environment.yaml to your conda environment path. Then the remaining packages can be installed with:
pip install --upgrade setuptools cython wheel
pip install -r requirements.txt
conda env update --file environment.ymlFor dataset preprocessing, we follow STG.
First, download the dataset from here. You will need colmap environment for preprocess. To setup dataset preprocessing environment, run scrips:
./scripts/env_setup.shTo preprocess dataset, run script:
./scripts/preprocess_all_n3v.sh <path to dataset>Download the dataset from here. To setup dataset preprocessing environment, run scrips:
./scripts/preprocess_all_techni.sh <path to dataset>Please refer STG for further information.
Run command:
python train.py --config configs/<some config name>.json --model_path <some output folder> --source_path <path to dataset>Run command:
python render.py --model_path <path to trained model> --source_path <path to dataset> --skip_train --iteration <trained iter>