Fixed score's data type

This commit is contained in:
kinaryml 2023-03-09 02:13:34 -08:00
parent 24114ec2fe
commit f48909cab6

View File

@ -40,7 +40,7 @@ class NormalizedKeypoint:
x: Optional[float] = None x: Optional[float] = None
y: Optional[float] = None y: Optional[float] = None
label: Optional[str] = None label: Optional[str] = None
score: Optional[str] = None score: Optional[float] = None
@doc_controls.do_not_generate_docs @doc_controls.do_not_generate_docs
def to_pb2(self) -> _RelativeKeypointProto: def to_pb2(self) -> _RelativeKeypointProto: