update angles output
This commit is contained in:
parent
2cbc4a23c1
commit
fac9ff1d86
@ -212,10 +212,15 @@ class Loco:
|
|||||||
dic_out['uv_shoulders'].append(uv_shoulder)
|
dic_out['uv_shoulders'].append(uv_shoulder)
|
||||||
dic_out['uv_heads'].append(uv_head)
|
dic_out['uv_heads'].append(uv_head)
|
||||||
|
|
||||||
|
# For MonStereo / MonoLoco++
|
||||||
|
try:
|
||||||
|
dic_out['angles'].append(float(dic_in['yaw'][0][idx])) # Predicted angle
|
||||||
|
dic_out['angles_egocentric'].append(float(dic_in['yaw'][1][idx])) # Egocentric angle
|
||||||
|
except KeyError:
|
||||||
|
continue
|
||||||
|
|
||||||
# Only for MonStereo
|
# Only for MonStereo
|
||||||
try:
|
try:
|
||||||
angle = float(dic_in['yaw'][0][idx]) # Predicted angle
|
|
||||||
dic_out['angles'].append(angle)
|
|
||||||
dic_out['aux'].append(float(dic_in['aux'][idx]))
|
dic_out['aux'].append(float(dic_in['aux'][idx]))
|
||||||
except KeyError:
|
except KeyError:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user