This directory shows an example of visualizing Multi-view Pyramid Transformer pre-trained models.
The original codes under MIT license are copy-and-pasted and modified to visualize inference results with splatstream.
-
Install requirements
# create conda environment conda create -n mvp python=3.11 -y conda activate mvp # install PyTorch (adjust cuda version according to your system) pip install -r requirements.txt # install splatstream pip install splatstream
-
Download the pre-trained model in the repo
-
Follow the guideline to prepare for downloading dataset (huggingface)
-
Run
download_and_undistort.pypython download_and_undistort.py --subset hash --hash 9641a1ed7963ce5ca734cff3e6ccea3dfa8bcb0b0a3ff78f65d32a080de2d71e`
-
Prepare
data/dl3dv_visualize.txtanddata/dl3dv_fold_8_kmeans_input_idx_visualize.json- Modify the contents accordingly, from the MVP github repo.
python visualize.py --config configs/visualize.yaml