From 260f5e54df01c47009e81da38705f61cff263b64 Mon Sep 17 00:00:00 2001 From: "chris.ochoa" Date: Thu, 1 Aug 2024 17:24:29 +0000 Subject: [PATCH] fix: also update keyline 3d --- dgp/utils/structures/key_line_3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dgp/utils/structures/key_line_3d.py b/dgp/utils/structures/key_line_3d.py index 694ce4ca..787b626f 100644 --- a/dgp/utils/structures/key_line_3d.py +++ b/dgp/utils/structures/key_line_3d.py @@ -95,6 +95,6 @@ def to_proto(self): As defined in `proto/annotations.proto` """ return [ - annotations_pb2.KeyPoint3D(x=int(self.x[j]), y=int(self.y[j]), z=int(self.z[j])) + annotations_pb2.KeyPoint3D(x=float(self.x[j]), y=float(self.y[j]), z=float(self.z[j])) for j, _ in enumerate(self.x) ]