Bug Description
There is a mismatch in the output unpacking order between l2cs/model.py and l2cs/pipeline.py.
- In
l2cs/model.py, the model returns (yaw, pitch).
- In
l2cs/pipeline.py, the output is unpacked as pitch, yaw = ....
This inconsistency causes the pitch and yaw values to be swapped during pipeline execution, leading to incorrect gaze direction visualization and coordinates.
Location of Bug
- Output definition in
l2cs/model.py: return yaw, pitch
- Unpacking in
l2cs/pipeline.py: pitch, yaw = self.model(...)
Expected Behavior
The output order should be consistent across the codebase (ideally returning pitch, yaw consistently, or matching the unpacking logic).
Bug Description
There is a mismatch in the output unpacking order between
l2cs/model.pyandl2cs/pipeline.py.l2cs/model.py, the model returns(yaw, pitch).l2cs/pipeline.py, the output is unpacked aspitch, yaw = ....This inconsistency causes the pitch and yaw values to be swapped during pipeline execution, leading to incorrect gaze direction visualization and coordinates.
Location of Bug
l2cs/model.py:return yaw, pitchl2cs/pipeline.py:pitch, yaw = self.model(...)Expected Behavior
The output order should be consistent across the codebase (ideally returning
pitch, yawconsistently, or matching the unpacking logic).