Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GS-Scaffold implementation #409

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7e71887
initial impl without densification
MrNeRF Sep 18, 2024
f8fbb8f
implement anchor growing algorithm
MrNeRF Sep 18, 2024
1c101f7
implement the anchor pruning mechanism
MrNeRF Sep 19, 2024
09ebdfa
better params
MrNeRF Sep 20, 2024
3423efb
add observation threshold
MrNeRF Sep 20, 2024
8c5b0c5
Should be properly working up to param optimization
MrNeRF Sep 20, 2024
1cb2247
use reloc instead of pruning
MrNeRF Sep 24, 2024
74279ac
black
MrNeRF Sep 24, 2024
94ace6f
fix foglet floaters
MrNeRF Sep 25, 2024
4864177
better rendering
MrNeRF Sep 25, 2024
1b663c5
Makes no sense that cov and opacity are view dependent.
MrNeRF Sep 25, 2024
0f7a572
Paper reports 0.001 scale reg factor.
MrNeRF Sep 25, 2024
e00d134
sota?
MrNeRF Sep 25, 2024
43e676f
fix crash
MrNeRF Sep 26, 2024
b816d5d
black and absgrad
MrNeRF Sep 26, 2024
556d729
restructure according to Ruilong's suggestions
MrNeRF Sep 26, 2024
375bd67
gihub action seem not to like my black
MrNeRF Sep 26, 2024
f9b8d04
add ckpt save and loading
MrNeRF Sep 27, 2024
1d3f786
fix docs
MrNeRF Sep 27, 2024
60426af
cleanup appearance embedding
MrNeRF Sep 27, 2024
7bbf30d
update requirements
MrNeRF Sep 27, 2024
40dc7ac
fix
MrNeRF Sep 27, 2024
6a55098
fixes
MrNeRF Sep 27, 2024
6bb591e
build fix hopefully
MrNeRF Sep 27, 2024
c4e4f6c
fix
MrNeRF Sep 27, 2024
9fafbb3
fixes
MrNeRF Sep 27, 2024
139b521
clean up for review
MrNeRF Sep 27, 2024
e8d1207
bug fixed, psrn 27.99 on garden scene
MrNeRF Sep 27, 2024
28fb583
Merge branch 'main' into gs-scaffold
MrNeRF Sep 28, 2024
de35ba3
fix merge break
MrNeRF Sep 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ compile_commands.json
# Visual Studio Code configs.
.vscode/

# Pycharm
.idea

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
53 changes: 53 additions & 0 deletions examples/benchmarks/scaffold.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
SCENE_DIR="data/360_v2"
RESULT_DIR="results/benchmark"
SCENE_LIST="garden bicycle stump bonsai counter kitchen room" # treehill flowers
RENDER_TRAJ_PATH="ellipse"

for SCENE in $SCENE_LIST;
do
if [ "$SCENE" = "bonsai" ] || [ "$SCENE" = "counter" ] || [ "$SCENE" = "kitchen" ] || [ "$SCENE" = "room" ]; then
DATA_FACTOR=2
else
DATA_FACTOR=4
fi

echo "Running $SCENE"

# train without eval
CUDA_VISIBLE_DEVICES=0 python simple_trainer_scaffold.py --eval_steps -1 --disable_viewer --data_factor $DATA_FACTOR \
--render_traj_path $RENDER_TRAJ_PATH \
--data_dir data/360_v2/$SCENE/ \
--result_dir $RESULT_DIR/$SCENE/

# run eval and render
for CKPT in $RESULT_DIR/$SCENE/ckpts/*;
do
CUDA_VISIBLE_DEVICES=0 python simple_trainer_scaffold.py --disable_viewer --data_factor $DATA_FACTOR \
--render_traj_path $RENDER_TRAJ_PATH \
--data_dir data/360_v2/$SCENE/ \
--result_dir $RESULT_DIR/$SCENE/ \
--ckpt $CKPT
done
done


for SCENE in $SCENE_LIST;
do
echo "=== Eval Stats ==="

for STATS in $RESULT_DIR/$SCENE/stats/val*.json;
do
echo $STATS
cat $STATS;
echo
done

echo "=== Train Stats ==="

for STATS in $RESULT_DIR/$SCENE/stats/train*_rank0.json;
do
echo $STATS
cat $STATS;
echo
done
done
Loading
Loading