Skip to content
Snippets Groups Projects
Commit e5a98cc9 authored by Maciej Wielgosz's avatar Maciej Wielgosz
Browse files

removed 0 from inst. seg. metrics tree level calculation

parent 3d93c260
Branches
No related tags found
No related merge requests found
......@@ -335,6 +335,9 @@ class InstanceSegmentationMetrics:
# get the number of trees in the ground truth
gt_trees = np.unique(self.input_las.treeID)
# remove 0 from gt_trees
gt_trees = gt_trees[gt_trees != 0]
# get the number of trees that are predicted correctly
trees_predicted = np.unique([metric_dict[key]['gt_label(dominant_label)'] for key in metric_dict.keys()])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment