manurare / 360monodepth

Code release for 360monodepth. With our framework we achieve monocular depth estimation for high resolution 360° images based on aligning and blending perspective depth maps.
https://manurare.github.io/360monodepth/
MIT License
149 stars 31 forks source link

ImportError for EigenSolvers #14

Closed bkhanal-11 closed 1 year ago

bkhanal-11 commented 1 year ago

Thank you for this amazing work. I successfully installed everything with the help of Dockerfile. However, when I ran the main.py code, I got following error everytime. I tried recompiling everything but still got same error.

root@55d28786ec5a:/monodepth/code/python/src# python3 main.py 
Adding '/monodepth/code/python/src' to sys.path
2023-02-10 08:01:56,106 - utility.depthmap_align - INFO - depthmapAlign python module installed!
Traceback (most recent call last):
  File "/monodepth/code/python/src/main.py", line 17, in <module>
    from utility import blending
  File "/monodepth/code/python/src/utility/blending.py", line 6, in <module>
    from EigenSolvers import LinearSolver
ImportError: /monodepth/code/cpp/lib/EigenSolvers.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN6google10LogMessage6streamEv
root@55d28786ec5a:/monodepth/code/python/src#

Can you help me with this? Thank you.

manurare commented 1 year ago

Hey,

That symbol belong to glog I think. So it might be that glog did not installed or that it is not the exact version we tested with Glog 0.5.0.

bkhanal-11 commented 1 year ago

@manurare Thanks, the glog seems to be of right version since I followed the instruction for docker. I suspect it may be caused due to python version. I will check and let you know.