diff --git a/.gitignore b/.gitignore index d7b5fb7..1dd8bf8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ __pycache__/ datasets/__pycache__/ -models/__pycache__/ \ No newline at end of file +models/__pycache__/ +checkpoints/* +env/* +outputs/* +data/* +fusibile/* \ No newline at end of file diff --git a/scripts/test_dtu.sh b/scripts/test_dtu.sh index cf1e6e9..de0ecea 100755 --- a/scripts/test_dtu.sh +++ b/scripts/test_dtu.sh @@ -1,26 +1,26 @@ #!/usr/bin/env bash -TESTPATH="/data/DTU/dtu-test" # path to dataset dtu_test -TESTLIST="lists/dtu/test.txt" -CKPT_FILE="checkpoints/model_dtu.ckpt" # path to checkpoint file, you need to use the model_dtu.ckpt for testing -FUSIBLE_PATH="" # path to fusible of gipuma -OUTDIR="outputs/dtu_testing" # path to output +TESTPATH="/data/DTU/dtu-test" # path to dataset dtu_test +TESTLIST="lists/dtu/test.txt" +CKPT_FILE="checkpoints/model_dtu.ckpt" # path to checkpoint file, you need to use the model_dtu.ckpt for testing +FUSIBLE_PATH="fusibile/build/Release/fusibile.exe" # path to fusible of gipuma +OUTDIR="outputs/dtu_testing" # path to output if [ ! -d $OUTDIR ]; then mkdir -p $OUTDIR fi python test.py \ ---dataset=general_eval \ ---batch_size=1 \ ---testpath=$TESTPATH \ ---testlist=$TESTLIST \ ---loadckpt=$CKPT_FILE \ ---outdir=$OUTDIR \ ---numdepth=192 \ ---ndepths="48,32,8" \ ---depth_inter_r="4.0,1.0,0.5" \ ---interval_scale=1.06 \ ---filter_method="gipuma" \ ---fusibile_exe_path=$FUSIBLE_PATH -#--filter_method="normal" + --dataset=general_eval \ + --batch_size=1 \ + --testpath=$TESTPATH \ + --testlist=$TESTLIST \ + --loadckpt=$CKPT_FILE \ + --outdir=$OUTDIR \ + --numdepth=192 \ + --ndepths="48,32,8" \ + --depth_inter_r="4.0,1.0,0.5" \ + --interval_scale=1.06 \ + --filter_method="gipuma" \ + --fusibile_exe_path=$FUSIBLE_PATH | tee -a $LOG_DIR/log.txt + #--filter_method="normal"