From ffe16c691a332e5fecf129d3caf67fb6e47fc19e Mon Sep 17 00:00:00 2001
From: Maciej Wielgosz <maciej.wielgosz@nibio.no>
Date: Thu, 10 Nov 2022 11:14:04 +0100
Subject: [PATCH] updated the test pipeline for new version of instance
 segmentation metrics

---
 pipeline_test.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pipeline_test.py b/pipeline_test.py
index ec8de94..1db4393 100644
--- a/pipeline_test.py
+++ b/pipeline_test.py
@@ -41,7 +41,7 @@ def main():
 
     # get files for the sweep
     print("Getting files for the sweep")
-    cmd = "/home/nibio/mutable-outside-world/code/gitlab_fsct/instance_segmentation_classic/bash_helper_scripts/get_small_data_for_playground.sh"
+    cmd = "/home/nibio/mutable-outside-world/code/gitlab_fsct/instance_segmentation_classic/bash_helper_scripts/get_terrestial_sem_seg_validation.sh"
     subprocess.run([cmd], shell=True)
 
     # define the arguments for all the parameters from the sweep configuration
@@ -91,7 +91,8 @@ def main():
     print("Computing the metric")
     metric = InstanceSegmentationMetricsInFolder(
         gt_las_folder_path = '/home/nibio/mutable-outside-world/code/gitlab_fsct/instance_segmentation_classic/sample_playground/results/input_data',
-        target_las_folder_path = '/home/nibio/mutable-outside-world/code/gitlab_fsct/instance_segmentation_classic/sample_playground/results/instance_segmented_point_clouds_with_ground',
+        target_las_folder_path = '/home/nibio/mutable-outside-world/code/gitlab_fsct/instance_segmentation_classic/sample_playground/results/instance_segmented_point_clouds',
+        remove_ground=True,
         verbose=True
     ) 
 
@@ -102,7 +103,6 @@ def main():
     print("Logging the metric")
     wandb.log({"f1_score": f1_score})
 
-
 # define the sweep
 sweep_id = wandb.sweep(sweep=sweep_configuration, project="sweep-train", entity="maciej-wielgosz-nibio")
 
-- 
GitLab