-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add minimal doc and a checkpoint script
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <PATH/TO/8_nerfacc> | ||
pip install -r requirements.txt | ||
git submodule update --init | ||
# Train models with train_ngp_nerf*.py... | ||
# python train_ngp_nerf.py --data_root <PATH/TO/BLENDER> --scene lego | ||
# python train_ngp_nerf_prop.py --data_root <PATH/TO/360> --scene garden | ||
# ... Or use provided checkpoints. | ||
bash ../assets/download_nerfacc_checkpoints.sh | ||
# Visualize using viser! | ||
python visualize_ngp_nerf.py --data_root <PATH/TO/BLENDER> --scene lego | ||
python visualize_ngp_nerf_prop.py --data_root <PATH/TO/360> --scene garden | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |