Open shenw000 opened 3 months ago
Hi,
It looks like you have a different version of ceres and there is some missing symbol. I think the missing symbol comes from glog.
Can you compare the versions of ceres and glob that you have with the ones in Google Colab?
Best, Iago.
El 8 ago 2024, a las 22:32, shenw000 @.***> escribió:
When I run the command "import homography_est as hest" in glue_stick_demo.ipynb, the following error appears:
ImportError Traceback (most recent call last) Cell In[1], line 1 ----> 1 import homography_est as hest 3 line_seg0 = [hest.LineSegment(l[0], l[1]) 4 for l in matched_lines0.reshape(-1, 2, 2)] 5 line_seg1 = [hest.LineSegment(l[0], l[1]) 6 for l in matched_lines1.reshape(-1, 2, 2)]
ImportError: /lib/libceres.so.1: undefined symbol: _ZN6google21kLogSiteUninitializedE
So I look into the version of /lib/libceres.so.1, by command: ls -ll /lib/* | grep libceres the following appears: -rw-r--r-- 1 root root 9847228 Jun 12 2020 /lib/libceres.a lrwxrwxrwx 1 root root 13 Jun 12 2020 /lib/libceres.so -> libceres.so.1 lrwxrwxrwx 1 root root 18 Jun 12 2020 /lib/libceres.so.1 -> libceres.so.1.14.0 -rw-r--r-- 1 root root 2824976 Jun 12 2020 /lib/libceres.so.1.14.0
That means the actual version of /lib/libceres.so.1 is /lib/libceres.so.1.14.0 Is this the correct version for /lib/libceres.so.1? Any suggestion how to fix it?
— Reply to this email directly, view it on GitHubhttps://github.com/cvg/GlueStick/issues/32, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABYQZ3K554GJ5NRHB7C42EDZQPIU3AVCNFSM6AAAAABMHGQ3FGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TMNJXGY2TCMQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi, It looks like you have a different version of ceres and there is some missing symbol. I think the missing symbol comes from glog. Can you compare the versions of ceres and glob that you have with the ones in Google Colab? Best, Iago. El 8 ago 2024, a las 22:32, shenw000 @.> escribió: When I run the command "import homography_est as hest" in glue_stick_demo.ipynb, the following error appears: … ____ ImportError Traceback (most recent call last) Cell In[1], line 1 ----> 1 import homography_est as hest 3 line_seg0 = [hest.LineSegment(l[0], l[1]) 4 for l in matched_lines0.reshape(-1, 2, 2)] 5 line_seg1 = [hest.LineSegment(l[0], l[1]) 6 for l in matched_lines1.reshape(-1, 2, 2)] ImportError: /lib/libceres.so.1: undefined symbol: _ZN6google21kLogSiteUninitializedE So I look into the version of /lib/libceres.so.1, by command: ls -ll /lib/ | grep libceres the following appears: -rw-r--r-- 1 root root 9847228 Jun 12 2020 /lib/libceres.a lrwxrwxrwx 1 root root 13 Jun 12 2020 /lib/libceres.so -> libceres.so.1 lrwxrwxrwx 1 root root 18 Jun 12 2020 /lib/libceres.so.1 -> libceres.so.1.14.0 -rw-r--r-- 1 root root 2824976 Jun 12 2020 /lib/libceres.so.1.14.0 That means the actual version of /lib/libceres.so.1 is /lib/libceres.so.1.14.0 Is this the correct version for /lib/libceres.so.1? Any suggestion how to fix it? — Reply to this email directly, view it on GitHub<#32>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABYQZ3K554GJ5NRHB7C42EDZQPIU3AVCNFSM6AAAAABMHGQ3FGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TMNJXGY2TCMQ. You are receiving this because you are subscribed to this thread.Message ID: **@.***>
Thank you for the info, lago-suarez! How do I find the version number of libceres and glog used in Google Colab. My versions for libceres and glog are:
ls -ll /lib/* | grep libceres -rw-r--r-- 1 root root 9847228 Jun 12 2020 /lib/libceres.a lrwxrwxrwx 1 root root 13 Jun 12 2020 /lib/libceres.so -> libceres.so.1 lrwxrwxrwx 1 root root 18 Jun 12 2020 /lib/libceres.so.1 -> libceres.so.1.14.0 -rw-r--r-- 1 root root 2824976 Jun 12 2020 /lib/libceres.so.1.14.0
ls -ll /lib/* | grep glog -rw-r--r-- 1 root root 261226 Mar 22 2020 libglog.a lrwxrwxrwx 1 root root 16 Mar 22 2020 libglog.so -> libglog.so.0.0.0 lrwxrwxrwx 1 root root 16 Mar 22 2020 libglog.so.0 -> libglog.so.0.0.0 -rw-r--r-- 1 root root 138440 Mar 22 2020 libglog.so.0.0.0
Hi, sorry for late reply, it has been a busy week. You can run the same commands in Collab, you just need to add ! In the beginning.
Cheers, Iago.
When I run the command "import homography_est as hest" in glue_stick_demo.ipynb, the following error appears:
ImportError Traceback (most recent call last) Cell In[1], line 1 ----> 1 import homography_est as hest 3 line_seg0 = [hest.LineSegment(l[0], l[1]) 4 for l in matched_lines0.reshape(-1, 2, 2)] 5 line_seg1 = [hest.LineSegment(l[0], l[1]) 6 for l in matched_lines1.reshape(-1, 2, 2)]
ImportError: /lib/libceres.so.1: undefined symbol: _ZN6google21kLogSiteUninitializedE
So I look into the version of /lib/libceres.so.1, by command: ls -ll /lib/* | grep libceres the following appears:
-rw-r--r-- 1 root root 9847228 Jun 12 2020 /lib/libceres.a lrwxrwxrwx 1 root root 13 Jun 12 2020 /lib/libceres.so -> libceres.so.1 lrwxrwxrwx 1 root root 18 Jun 12 2020 /lib/libceres.so.1 -> libceres.so.1.14.0 -rw-r--r-- 1 root root 2824976 Jun 12 2020 /lib/libceres.so.1.14.0
That means the actual version of /lib/libceres.so.1 is /lib/libceres.so.1.14.0 Is this the correct version for /lib/libceres.so.1? Any suggestion how to fix it?