Skip to content

Commit 22f240b

Browse files
committed
left in some testing code
1 parent fab629c commit 22f240b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

smart_tree/pipeline.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import torch
55
import time
66

7-
from copy import deepcopy
87
from .data_types.cloud import LabelledCloud, Cloud
98
from .data_types.tree import TreeSkeleton, DisjointTreeSkeleton
109
from hydra.utils import instantiate
@@ -81,7 +80,6 @@ def process_cloud(self, path: Path):
8180

8281
# Run the branch cloud through skeletonization algorithm, then post process
8382
skeleton: DisjointTreeSkeleton = self.skeletonizer.forward(branch_cloud)
84-
original_skeleton = deepcopy(skeleton)
8583

8684
self.post_process(skeleton)
8785

@@ -93,7 +91,6 @@ def process_cloud(self, path: Path):
9391
skeleton.to_o3d_lineset(),
9492
skeleton.to_o3d_tube(colour=False),
9593
cloud.to_o3d_cld(),
96-
original_skeleton.to_o3d_tube(),
9794
],
9895
line_width=5,
9996
)

0 commit comments

Comments
 (0)