Error when running run_demo_lidar_bev.py
Closed this issue · 4 comments
ZiadElmassik commented
On line 123, I'm getting: AttributeError: 'scipy.spatial.transform.rotation.Rotation' object has no attribute 'as_dcm'. The Scipy version I'm using is 1.6.3.
mpitropov commented
It seems like they didn't deprecate that function, but they renamed it. https://docs.scipy.org/doc/scipy/reference/release.1.4.0.html#scipy-deprecations
For now, you can change 'as_dcm' to 'as_matrix' and it should work for that version of scipy. I'll have to add this change to the code.
ZiadElmassik commented
I've modified line 123 to as_matrix and it worked. Thank you!
rightchose commented
cadc_devkit/run_demo_tracklets.py
Line 51 in ca81ed5
It has the same error.
mpitropov commented
I've updated the code with the fix