Skip to content

Commit

Permalink
fix: fix conversion in key point 3d
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisochoatri committed Aug 1, 2024
1 parent d5a9a9d commit 130f796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dgp/utils/structures/key_point_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ def to_proto(self):
KeyPoint3D.pb2
As defined in `proto/annotations.proto`
"""
return annotations_pb2.KeyPoint3D(x=int(self.x), y=int(self.y), z=int(self.z))
return annotations_pb2.KeyPoint3D(x=float(self.x), y=float(self.y), z=float(self.z))

0 comments on commit 130f796

Please sign in to comment.