yewzijian / RPMNet

RPM-Net: Robust Point Matching using Learned Features (CVPR2020)
MIT License
344 stars 59 forks source link

eval.py error "scipy.spatial.transform.rotation.Rotation' object has no attribute 'from_dcm'" #15

Open fhuerlimann opened 3 years ago

fhuerlimann commented 3 years ago

Hello all, running eval.py resulted in the following error: scipy.spatial.transform.rotation.Rotation' object has no attribute 'from_dcm'

It seems that script.spatial.Rotation method 'from_dcm' was replaced with 'from_matrix'. Changing that in the code solves the problem.

More info: https://stackoverflow.com/questions/65628149/ratcave-scipy-spatial-transform-rotation-rotation-object-has-no-attribute-a My config: Python 3.8 on Mac OS X 11.2.3

blackHorz commented 12 months ago

use from_matrix