diff --git a/examples/8_nerfacc/README.md b/examples/8_nerfacc/README.md new file mode 100644 index 000000000..cb11b4d15 --- /dev/null +++ b/examples/8_nerfacc/README.md @@ -0,0 +1,20 @@ +## NerfAcc visualization example + +The majority of code is copy-pasted from the [nerfacc](https://github.com/KAIR-BAIR/nerfacc) repo + +``` +# Setup. +cd +pip install -r requirements.txt +git submodule update --init + +# Train models with train_ngp_nerf*.py... +# python train_ngp_nerf.py --data_root --scene lego +# python train_ngp_nerf_prop.py --data_root --scene garden +# ... Or use provided checkpoints. +bash ../assets/download_nerfacc_checkpoints.sh + +# Visualize using viser! +python visualize_ngp_nerf.py --data_root --scene lego +python visualize_ngp_nerf_prop.py --data_root --scene garden +``` diff --git a/examples/assets/download_nerfacc_checkpoints.sh b/examples/assets/download_nerfacc_checkpoints.sh index 98db5a881..266812fdf 100644 --- a/examples/assets/download_nerfacc_checkpoints.sh +++ b/examples/assets/download_nerfacc_checkpoints.sh @@ -1,3 +1,3 @@ set -e -x -gdown "https://drive.google.com/uc?id=1uRDvoS_l2Or8g8YDDPYV79K6_RfFYBeF" +gdown "https://drive.google.com/drive/folders/19PHrAmjWTfXUzFFcFpKUjO5Vwja6iIUz" --folder