Lay3rss / SuGaR

Forked repo of "Official PyTorch implementation of SuGaR: Surface-Aligned Gaussian Splatting for Efficient 3D Mesh Reconstruction and High-Quality Mesh Rendering"
https://anttwo.github.io/sugar/
Other
0 stars 0 forks source link

Statues Cloitre - RTX #2

Open rebecca-lay3rs opened 4 months ago

rebecca-lay3rs commented 4 months ago

Density level set 0.3

python train.py -s data/Cloitre_Gal2_E2_Statues_proche_low_poly_sdf_0p5/ -c outputs_GS/Cloitre_Gal2_E2_Statues_proche_bis/ -r "sdf" --bboxmin "(0, 0, 0)" --bboxmax "(0.5, 0.5, 0.5)" --low_poly True

SDF estimation factor from 0.2 to 0.3 (SDF threshold?)

python train.py -s data/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p3/ -c outputs_GS/Cloitre_Gal2_E2_Statues_proche_bis/ -r "sdf" --bboxmin "(0, 0, 0)" --bboxmax "(0.5, 0.5, 0.5)" --low_poly True

SDF estimation factor to 0.5 (SDF threshold?)

python train.py -s data/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5/ -c outputs_GS/Cloitre_Gal2_E2_Statues_proche_bis/ -r "sdf" --bboxmin "(0, 0, 0)" --bboxmax "(0.5, 0.5, 0.5)" --low_poly True

rebecca-lay3rs commented 4 months ago

training from first coarse optimization

python train.py -s data/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson8_bgfactor1/ -i 7000 -c outputs_GS/Cloitre_Gal2_E2_Statues_proche_bis/ -r "sdf" --bboxmin "(0, 0, 0)" --bboxmax "(0.5, 0.5, 0.5)" --low_poly True

Changing only params in extract_mesh (possion, marching_cubes, ...)

--use_marching_cubes True

DATA_PATH=data/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_bgfactor1_mc/ GS_PATH=outputs_GS/Cloitre_Gal2_E2_Statues_proche_bis/ COARSE_PATH=output/coarse/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson8_bgfactor1/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -l 0.3 -d 200000 -o output/coarse_mesh --use_marching_cubes True

image

COARSE_MESH_PATH=output/coarse_mesh/sugarmesh_3Dgs7000_sdfestim05_sdfnorm02marchingcubes_level03_decim200000.ply OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_bgfactor1_mc/

python train_refined.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MESH_PATH} -o ${OUTPUT_REFINED} -v 200000

OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_bgfactor1_mc/sugarfine_3Dgs7000_sdfestim05_sdfnorm02marchingcubes_level03_decim200000_normalconsistency01_gaussperface1/15000.pt REFINED_MESH_PATH=output/refined_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_bgfactor1_mc/

python extract_refined_mesh_with_texture.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${OUTPUT_REFINED} -o ${REFINED_MESH_PATH}

rebecca-lay3rs commented 4 months ago

--vertices_density_quantile 0 --poisson_depth 10

DATA_PATH=data/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_bgfactor1/ GS_PATH=outputs_GS/Cloitre_Gal2_E2_Statues_proche_bis/ COARSE_MODEL_PATH=output/coarse/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt COARSE_MESH_PATH=output/coarse_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MODEL_PATH} -l 0.3 -d 200000 -o ${COARSE_MESH_PATH} --vertices_density_quantile 0

COARSE_MESH_PATH=output/coarse_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/sugarmesh_3Dgs7000_sdfestim05_sdfnorm02_level03_decim200000.ply OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/sugarfine_3Dgs7000_sdfestim05_sdfnorm02_level03_decim200000_normalconsistency01_gaussperface1/15000.pt

python train_refined.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MESH_PATH} -o ${OUTPUT_REFINED} -v 200000

DATA_PATH=data/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/ OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/sugarfine_3Dgs7000_sdfestim05_sdfnorm02_level03_decim200000_normalconsistency01_gaussperface1/15000.pt REFINED_MESH_PATH=output/refined_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/

python extract_refined_mesh_with_texture.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${OUTPUT_REFINED} -o ${REFINED_MESH_PATH}

image
rebecca-lay3rs commented 4 months ago

--poisson_depth 9 --vertices_density_quantile 0.1

DATA_PATH=data/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_bgfactor1/ GS_PATH=outputs_GS/Cloitre_Gal2_E2_Statues_proche_bis/ COARSE_MODEL_PATH=output/coarse/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt COARSE_MESH_PATH=output/coarse_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1/

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MODEL_PATH} -l 0.3 -d 200000 -o ${COARSE_MESH_PATH} --vertices_density_quantile 0.1 --poisson_depth 9

COARSE_MESH_PATH=output/coarse_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1/sugarmesh_3Dgs7000_sdfestim05_sdfnorm02_level03_decim200000.ply OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1/

python train_refined.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MESH_PATH} -o ${OUTPUT_REFINED} -v 200000

OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1/sugarfine_3Dgs7000_sdfestim05_sdfnorm02_level03_decim200000_normalconsistency01_gaussperface1/15000.pt REFINED_MESH_PATH=output/refined_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1/

python extract_refined_mesh_with_texture.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${OUTPUT_REFINED} -o ${REFINED_MESH_PATH}

image
rebecca-lay3rs commented 4 months ago

--poisson_depth 9 --vertices_density_quantile 0.2

DATA_PATH=data/Cloitre_Gal2_E2_Statues_proche_bis/ GS_PATH=outputs_GS/Cloitre_Gal2_E2_Statues_proche_bis/ COARSE_MODEL_PATH=output/coarse/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt COARSE_MESH_PATH=output/coarse_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0p2/

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MODEL_PATH} -l 0.3 -d 200000 -o ${COARSE_MESH_PATH} --vertices_density_quantile 0.2 --poisson_depth 9

COARSE_MESH_PATH=output/coarse_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0p2/sugarmesh_3Dgs7000_sdfestim05_sdfnorm02_level03_decim200000.ply OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0p2/

python train_refined.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MESH_PATH} -o ${OUTPUT_REFINED} -v 200000

OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0p2/sugarfine_3Dgs7000_sdfestim05_sdfnorm02_level03_decim200000_normalconsistency01_gaussperface1/15000.pt REFINED_MESH_PATH=output/refined_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0p2/

python extract_refined_mesh_with_texture.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${OUTPUT_REFINED} -o ${REFINED_MESH_PATH}

image
rebecca-lay3rs commented 4 months ago

--poisson_depth 9 --vertices_density_quantile 0

DATA_PATH=data/Cloitre_Gal2_E2_Statues_proche_bis/ GS_PATH=outputs_GS/Cloitre_Gal2_E2_Statues_proche_bis/ COARSE_MODEL_PATH=output/coarse/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt COARSE_MESH_PATH=output/coarse_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MODEL_PATH} -l 0.3 -d 200000 -o ${COARSE_MESH_PATH} --experiment_name "Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/" --vertices_density_quantile 0 --poisson_depth 9

COARSE_MESH_PATH=output/coarse_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/sugarmesh_3Dgs7000_sdfestim05_sdfnorm02_level03_decim200000.ply OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/

python train_refined.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MESH_PATH} -o ${OUTPUT_REFINED} -v 200000 --experiment_name "Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/"

OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/sugarfine_3Dgs7000_sdfestim05_sdfnorm02_level03_decim200000_normalconsistency01_gaussperface1/15000.pt REFINED_MESH_PATH=output/refined_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/

python extract_refined_mesh_with_texture.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${OUTPUT_REFINED} -o ${REFINED_MESH_PATH} --experiment_name "Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0/"

image
rebecca-lay3rs commented 4 months ago

[BEST RESULT] --normal_consistency_factor 0.2 --vertices_density_quantile 0 --poisson_depth 9

DATA_PATH=data/Cloitre_Gal2_E2_Statues_proche_bis/ GS_PATH=outputs_GS/Cloitre_Gal2_E2_Statues_proche_bis/ COARSE_MODEL_PATH=output/coarse/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt COARSE_MESH_PATH=output/coarse_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0_ncf0p2/ EXPERIMENT_NAME=Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0_ncf0p2/

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MODEL_PATH} -l 0.3 -d 200000 -o ${COARSE_MESH_PATH} --experiment_name ${EXPERIMENT_NAME} --normal_consistency_factor 0.2 --vertices_density_quantile 0 --poisson_depth 9

COARSE_MESH_PATH=output/coarse_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0_ncf0p2/sugarmesh_3Dgs7000_sdfestim05_sdfnorm02_level03_decim200000.ply OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0_ncf0p2/

python train_refined.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MESH_PATH} -o ${OUTPUT_REFINED} -v 200000 --experiment_name ${EXPERIMENT_NAME} --normal_consistency_factor 0.2

OUTPUT_REFINED=output/refined/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0_ncf0p2/sugarfine_3Dgs7000_sdfestim05_sdfnorm02_level03_decim200000_normalconsistency02_gaussperface1/15000.pt REFINED_MESH_PATH=output/refined_mesh/Cloitre_Gal2_E2_Statues_proche_low_poly_sdfestim0p5_poisson9_bgfactor1_vdq0_ncf0p2/

python extract_refined_mesh_with_texture.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${OUTPUT_REFINED} -o ${REFINED_MESH_PATH} --experiment_name ${EXPERIMENT_NAME}

image