-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An Error in imgui_viewer #5
Comments
Hi! |
The environment I used is:
It seems this problem caused by LibTorch which built with llvm. In addition, LibTorch removed key = c10::guts::to_string(param.UnsafeGetTensorImpl()); with key = param.UnsafeGetTensorImpl(); |
Similar segmentation fault error solved thanks to this issue!
with
which uses camel case. |
In my case, the error was showing the exact same error message. it was just a segfault error like below: However, changing to nightly build as recommended from @wangwang-xyz and @Eragonlrc solved the issue! Thanks! *Note that you need to remove the whole build folder when re-building with the new libtorch. |
Thank you for your solution! It seems the opencv mismatch with the libtorch?I have no idea about this. Have you met this trouble?Could you please teach me how to solve it? Thank you! |
Hi Jiyu, I reproduced this error when using the latest version of LibTorch, regardless of the OpenCV version. We will investigate further and try to support the latest version of LibTorch in the future. Please use the tested LibTorch version first and then you should be able to compile the code successfully. |
There is a problem when I run
./bin/tum_mono
or./bin/gaussian_viewer
. The Error like thisCode related with this problem in
imgui_viewer.cpp
line 363However when I write a
test.cpp
to test this code, it works well. Thetest.cpp
like this:The related
CMakeLists.txt
like this:The text was updated successfully, but these errors were encountered: