Skip to content

Commit 59868eb

Browse files
committed
refactor(deflow): update deflow code to the latest.
* faster, easier setup, better results for updated weight. * eval script auto make also. * cmakelists.txt add comment force set python executable.
1 parent df8eae5 commit 59868eb

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

methods/DeFlow

Submodule DeFlow updated 86 files

scripts/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ if(NOT DEFINED CMAKE_SUPPRESS_DEVELOPER_WARNINGS)
1717
set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS 1 CACHE INTERNAL "No dev warnings")
1818
endif()
1919

20+
# in case sometime we need force to use system python3
21+
# set(PYTHON_EXECUTABLE /usr/bin/python3)
22+
2023
find_package(Glog REQUIRED)
2124
find_package(gflags REQUIRED)
2225
set(LOG_LIB glog::glog gflags)

scripts/sh/1_export_eval_pcd.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
data_folder=/home/kin
2-
benchmarks_path=/home/kin/DynamicMap_Benchmark/methods
1+
data_folder=/home/kin/DATA_HDD/Dynamic_Papers_assets/Benchmark_data
2+
benchmarks_code_path=/home/kin/code_online/DynamicMap_Benchmark
33
# ====> export output for eval
44
min_dis=0.05 # since all voxel-based methods resolution is 0.1 / 2 = 0.05
55
for seq_num in 00 05 semindoor av
66
do
77
for method_name in removert erasor octomap octomapf octomapfg
88
do
9-
data_path=${data_folder}/data/${seq_num}
10-
${benchmarks_path}/benchmarks/build/export_eval_pcd ${data_path} ${method_name}_output.pcd ${min_dis}
9+
data_path=${data_folder}/${seq_num}
10+
# if build file not exist, build it
11+
if [ ! -f ${benchmarks_code_path}/scripts/build/export_eval_pcd ]; then
12+
cd ${benchmarks_code_path}/scripts && cmake -B build && cmake --build build && cd ${benchmarks_code_path}
13+
fi
14+
${benchmarks_code_path}/scripts/build/export_eval_pcd ${data_path} ${method_name}_output.pcd ${min_dis}
1115
echo "exported ${method_name} seq ${seq_num} check ${method_name}_exportGT.pcd"
1216
done
1317
done

0 commit comments

Comments
 (0)