Skip to content

saba99/Dynamic-NeRF

Repository files navigation

One Frame Of Video

Reconstruct Mesh

Installation

git clone https://github.com/saba99/Dynamic-NeRF.git
cd D-NeRF
pip install -r requirements.txt
cd torchsearchsorted
pip install .
cd ..

Download Pre-trained Weights

You can download the pre-trained models from drive or dropbox. Unzip the downloaded data to the project root dir in order to test it later.

Download Dataset

You can download the datasets from drive or dropbox. Unzip the downloaded data to the project root dir in order to train.

Render(Rotate with your Mouse)

ImageToStl.com_mesh.mp4

Test

First download pre-trained weights and dataset. Then,

python run_dnerf.py --config configs/mutant.txt --render_only --render_test

This command will run the mutant experiment. When finished, results are saved to ./logs/mutant/renderonly_test_799999 To quantitatively evaluate model run metrics.ipynb notebook

Train

First download the dataset. Then,

conda activate dnerf
export PYTHONPATH='path/to/D-NeRF'
export CUDA_VISIBLE_DEVICES=0
python run_dnerf.py --config configs/mutant.txt