mbrossar / ai-imu-dr

AI-IMU Dead-Reckoning
MIT License
788 stars 222 forks source link

fixing the torch.gesv in utils_torch_filter.py #71

Open jihojeong opened 2 years ago

jihojeong commented 2 years ago

Hello, meanwhile I was trying to compile, I have noticed that "torch.gesv" was used in the utils_torch_filter.py, and it is not supported by pytorch anymore. Hence, I was trying to replace it with torch.solve, and it is deprecated as well. Anyone has an idea to handle this?

Rajat-Arora commented 1 year ago

@jihojeong were you able to figure it out?

thomasya commented 1 year ago

try

Kt = torch.linalg.solve(S, P.mm(H.t()).t())
robocar2018 commented 1 year ago

@thomasya. Nice, thanks.