Skip to content

Commit

Permalink
copy source from internal repo
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippErler committed Jul 29, 2020
1 parent b73beca commit bbc18d0
Show file tree
Hide file tree
Showing 86 changed files with 188,857 additions and 0 deletions.
547 changes: 547 additions & 0 deletions dataset_for_deepsdf.py

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
59,979 changes: 59,979 additions & 0 deletions datasets/minimal/04_pts_vis/00011084_fddd53ce45f640f3ab922328_trimesh_019.xyz

Large diffs are not rendered by default.

86,648 changes: 86,648 additions & 0 deletions datasets/minimal/04_pts_vis/00016513_3d6966cd42eb44ab8f4224f2_trimesh_053.xyz

Large diffs are not rendered by default.

34,693 changes: 34,693 additions & 0 deletions datasets/minimal/04_pts_vis/00994122_57d9d4755722f9d2d7436f0a_trimesh_000.xyz

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 8 additions & 0 deletions datasets/minimal/settings.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[general]
only_for_evaluation = 0
grid_resolution = 256
epsilon = 5
num_scans_per_mesh_min = 5
num_scans_per_mesh_max = 30
scanner_noise_sigma_min = 0.0
scanner_noise_sigma_max = 0.05
1 change: 1 addition & 0 deletions datasets/minimal/testset.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
00994122_57d9d4755722f9d2d7436f0a_trimesh_000
2 changes: 2 additions & 0 deletions datasets/minimal/trainset.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
00011084_fddd53ce45f640f3ab922328_trimesh_019
00016513_3d6966cd42eb44ab8f4224f2_trimesh_053
1 change: 1 addition & 0 deletions datasets/minimal/valset.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
00994122_57d9d4755722f9d2d7436f0a_trimesh_000
332 changes: 332 additions & 0 deletions eval_dataset.py

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions experiments/eval_implicit_surf_14_0_vanilla.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python -m pdb -c c full_eval.py \
--indir '/scratch_space/point2surf/data' \
--outdir '../data/results' \
--modeldir '../data/models' \
--dataset 'test_original/testset.txt' 'test_noisefree/testset.txt' 'test_sparse/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'implicit_surf_14/testset.txt' \
--models ${NAME} \
--batchSize 100 \
--workers 7 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
20 changes: 20 additions & 0 deletions experiments/eval_implicit_surf_14_0_vanilla_timing.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python -m pdb -c c full_eval.py \
--indir '/data/datasets/own/implicit_surf_14' \
--outdir 'results' \
--modeldir 'models' \
--dataset 'single.txt' \
--models ${NAME} \
--batchSize 100 \
--workers 7 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
21 changes: 21 additions & 0 deletions experiments/eval_implicit_surf_14_1_large_kNN.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python -m pdb -c c full_eval.py \
--indir '/scratch_space/point2surf/data' \
--outdir '../data/results' \
--modeldir '../data/models' \
--dataset 'test_original/testset.txt' 'test_noisefree/testset.txt' 'test_sparse/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'implicit_surf_14/testset.txt' \
--models ${NAME} \
--modelpostfix '_model_99.pth' \
--batchSize 100 \
--workers 7 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
21 changes: 21 additions & 0 deletions experiments/eval_implicit_surf_14_1_large_radius.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python -m pdb -c c full_eval.py \
--indir '/scratch_space/point2surf/data' \
--outdir '../data/results' \
--modeldir '../data/models' \
--dataset 'test_original/testset.txt' 'test_noisefree/testset.txt' 'test_sparse/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'implicit_surf_14/testset.txt' \
--models ${NAME} \
--modelpostfix '_model_99.pth' \
--batchSize 200 \
--workers 7 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
21 changes: 21 additions & 0 deletions experiments/eval_implicit_surf_14_1_medium_radius.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python -m pdb -c c full_eval.py \
--indir '/scratch_space/point2surf/data' \
--outdir '../data/results' \
--modeldir '../data/models' \
--dataset 'test_original/testset.txt' 'test_noisefree/testset.txt' 'test_sparse/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'implicit_surf_14/testset.txt' \
--models ${NAME} \
--modelpostfix '_model_99.pth' \
--batchSize 200 \
--workers 7 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
20 changes: 20 additions & 0 deletions experiments/eval_implicit_surf_14_1_no_qstn.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python full_eval.py \
--indir 'datasets' \
--outdir 'results' \
--modeldir 'models' \
--dataset 'implicit_surf_14/testset.txt' 'implicit_surf_14_extra_noisy/testset.txt' 'implicit_surf_14_noisefree/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'test_sparse/testset.txt' 'test_noisefree/testset.txt' 'test_original/testset.txt' \
--models ${NAME} \
--batchSize 501 \
--workers 19 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5
21 changes: 21 additions & 0 deletions experiments/eval_implicit_surf_14_1_shared_mlp.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python -m pdb -c c full_eval.py \
--indir '/scratch_space/point2surf/data' \
--outdir '../data/results' \
--modeldir '../data/models' \
--dataset 'test_original/testset.txt' 'test_noisefree/testset.txt' 'test_sparse/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'implicit_surf_14/testset.txt' \
--models ${NAME} \
--modelpostfix '_model_99.pth' \
--batchSize 200 \
--workers 7 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
21 changes: 21 additions & 0 deletions experiments/eval_implicit_surf_14_1_shared_transformer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python -m pdb -c c full_eval.py \
--indir '/scratch_space/point2surf/data' \
--outdir '../data/results' \
--modeldir '../data/models' \
--dataset 'test_original/testset.txt' 'test_noisefree/testset.txt' 'test_sparse/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'implicit_surf_14/testset.txt' \
--models ${NAME} \
--modelpostfix '_model_99.pth' \
--batchSize 501 \
--workers 7 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
29 changes: 29 additions & 0 deletions experiments/eval_implicit_surf_14_1_shared_transformer_single.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

res1=$(date +%s.%N)
echo "Start time: $res1"

#python full_eval.py \
# --indir '/data/datasets/own/implicit_surf_14' \
# --outdir 'results' \
# --modeldir 'models' \
# --dataset 'single.txt' \
# --models ${NAME} \
# --modelpostfix '_model_99.pth' \
# --batchSize 100 \
# --workers 7 \
# --cache_capacity 5 \
# --patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
# --query_grid_resolution 256 \
# --epsilon 3 \
# --certainty_threshold 13 \
# --sigma 5 \

res2=$(date +%s.%N)
echo "Start time: $res1"
echo "Stop time: $res2"
echo "Elapsed: $(echo "$res2 - $res1"|bc )"
21 changes: 21 additions & 0 deletions experiments/eval_implicit_surf_14_1_small_kNN.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python -m pdb -c c full_eval.py \
--indir '/scratch_space/point2surf/data' \
--outdir '../data/results' \
--modeldir '../data/models' \
--dataset 'test_original/testset.txt' 'test_noisefree/testset.txt' 'test_sparse/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'implicit_surf_14/testset.txt' \
--models ${NAME} \
--modelpostfix '_model_99.pth' \
--batchSize 200 \
--workers 7 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
21 changes: 21 additions & 0 deletions experiments/eval_implicit_surf_14_1_small_radius.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python -m pdb -c c full_eval.py \
--indir '/scratch_space/point2surf/data' \
--outdir '../data/results' \
--modeldir '../data/models' \
--dataset 'test_original/testset.txt' 'test_noisefree/testset.txt' 'test_sparse/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'implicit_surf_14/testset.txt' \
--models ${NAME} \
--modelpostfix '_model_99.pth' \
--batchSize 200 \
--workers 7 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
21 changes: 21 additions & 0 deletions experiments/eval_implicit_surf_14_1_uniform_sub_sample.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python full_eval.py \
--indir 'datasets' \
--outdir 'results' \
--modeldir 'models' \
--dataset 'implicit_surf_14/testset.txt' \
--models ${NAME} \
--modelpostfix '_model_49.pth' \
--batchSize 1501 \
--workers 19 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
20 changes: 20 additions & 0 deletions experiments/eval_implicit_surf_14_1_uniform_sub_sample_mini.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python full_eval.py \
--indir 'datasets' \
--outdir 'results' \
--modeldir 'models' \
--dataset 'test_original/testset.txt' 'test_noisefree/testset.txt' 'test_sparse/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'test_real_world/testset.txt' 'implicit_surf_14/testset.txt' 'implicit_surf_14_extra_noisy/testset.txt' 'implicit_surf_14_noisefree/testset.txt' 'thingi10k_scans_original/testset.txt' 'thingi10k_scans_noisefree/testset.txt' 'thingi10k_scans_sparse/testset.txt' 'thingi10k_scans_dense/testset.txt' 'thingi10k_scans_extra_noisy/testset.txt'\
--models ${NAME} \
--batchSize 5001 \
--workers 19 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
21 changes: 21 additions & 0 deletions experiments/eval_implicit_surf_14_1_vanilla.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python full_eval.py \
--indir 'datasets' \
--outdir 'results' \
--modeldir 'models' \
--dataset '/data/datasets/own/implicit_surf_14/testset.txt' \
--models ${NAME} \
--modelpostfix '_model_100.pth' \
--batchSize 600 \
--workers 12 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
20 changes: 20 additions & 0 deletions experiments/eval_implicit_surf_14_1_vanilla_repro.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python full_eval.py \
--indir 'datasets' \
--outdir 'results' \
--modeldir 'models' \
--dataset 'test_original/testset.txt' 'test_noisefree/testset.txt' 'test_sparse/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'test_real_world/testset.txt' 'implicit_surf_14/testset.txt' 'implicit_surf_14_extra_noisy/testset.txt' 'implicit_surf_14_noisefree/testset.txt' 'thingi10k_scans_original/testset.txt' 'thingi10k_scans_noisefree/testset.txt' 'thingi10k_scans_sparse/testset.txt' 'thingi10k_scans_dense/testset.txt' 'thingi10k_scans_extra_noisy/testset.txt'\
--models ${NAME} \
--batchSize 1501 \
--workers 19 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
20 changes: 20 additions & 0 deletions experiments/eval_p2s_max.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# name from filename
NAME=$0
NAME=${NAME##*/}
NAME=${NAME%.*}
NAME=${NAME#eval_}

python full_eval.py \
--indir 'datasets' \
--outdir 'results' \
--modeldir 'models' \
--dataset 'test_original/testset.txt' 'test_noisefree/testset.txt' 'test_sparse/testset.txt' 'test_dense/testset.txt' 'test_extra_noisy/testset.txt' 'test_real_world/testset.txt' 'implicit_surf_14/testset.txt' 'implicit_surf_14_extra_noisy/testset.txt' 'implicit_surf_14_noisefree/testset.txt' 'thingi10k_scans_original/testset.txt' 'thingi10k_scans_noisefree/testset.txt' 'thingi10k_scans_sparse/testset.txt' 'thingi10k_scans_dense/testset.txt' 'thingi10k_scans_extra_noisy/testset.txt'\
--models ${NAME} \
--batchSize 2001 \
--workers 19 \
--cache_capacity 5 \
--patch_features 'imp_surf_magnitude' 'imp_surf_sign' 'patch_pts_ids' 'p_index' \
--query_grid_resolution 256 \
--epsilon 3 \
--certainty_threshold 13 \
--sigma 5 \
Loading

0 comments on commit bbc18d0

Please sign in to comment.