Skip to content

Commit

Permalink
fix: also update keyline 3d
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisochoatri committed Aug 1, 2024
1 parent 130f796 commit 260f5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dgp/utils/structures/key_line_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
]

0 comments on commit 260f5e5

Please sign in to comment.