1
This commit is contained in:
@@ -207,7 +207,7 @@ class DetectNode(Node):
|
||||
raise
|
||||
self.get_logger().info(f'Loading checkpoint from: {self.checkpoint_path}')
|
||||
|
||||
if self.checkpoint_path.endswith('-seg.pt'):
|
||||
if self.checkpoint_path.endswith('-seg.pt') or self.checkpoint_path.endswith('.onnx') or self.checkpoint_path.endswith('.engine'):
|
||||
self.function = self._seg_image
|
||||
else:
|
||||
self.function = None
|
||||
|
||||
Reference in New Issue
Block a user