We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a480e7b commit 5eef6d7Copy full SHA for 5eef6d7
nucleus/prediction.py
@@ -196,7 +196,7 @@ def from_json(cls, payload: dict):
196
label=payload.get(LABEL_KEY, 0),
197
position=Point3D.from_json(geometry.get(POSITION_KEY, {})),
198
dimensions=Point3D.from_json(geometry.get(DIMENSIONS_KEY, {})),
199
- yaw=payload.get(YAW_KEY, 0),
+ yaw=geometry.get(YAW_KEY, 0),
200
reference_id=payload.get(REFERENCE_ID_KEY, None),
201
item_id=payload.get(DATASET_ITEM_ID_KEY, None),
202
confidence=payload.get(CONFIDENCE_KEY, None),
0 commit comments