You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Loop detection freezing with SuperGlue, please fix it. Test on 2022-IlluminationInvariant. #896
Currently working on a docker image to reproduce the results (working so far but minor issues to fix this week, maybe today if I have time). There is however a known issue with loading python scripts in rtabmap when there is more than one thread using Python at the same time. The results presented in the paper were generated using rtabmap-reprocess tool, which works with single thread, so no Python mutli-threading issue like with standalone ui app.
@matlabbe, thanks
I will look into it.
But I hope this will be fixed for standalone soon.
I wonder if it is related to the python version (currently python 3.8, can 3.9 avoid this issue?).
Say "Yes" to all startup dialogs, then Open Preferences->Source, set Source->Database, scroll down and set database path to any databases in "/workspace/databases". Say "Yes" to use odometry data and "Yes" to process all data. Click ok, new database, then start.
PythonInterface is initialized on the main thread (constructor here, created here), while rtabmap class is running on a second thread called RtabmapThread. Normally PythonInterface should switch python context between threads, thus it must be a problem when switching contexts.
I see two solutions:
Fix python thread switching context (preferred to handle all new coming python-based approaches), or
Implement superglue in C++ (similarly to SuperPoint to avoid calling python from c++)
Tested with 0.20.16 using the docker image (checking out 0.20.16 inside and rebuild it) and the same problem happens. Digging more into the issue, I tried to replicate a minimal example on how python is used inside rtabmap across threads, based on this example:
// runs in a new threadvoidf(PyInterpreterState* interp, constchar* tname)
{
std::string code = R"PY(from __future__ import print_functionimport sysprint("TNAME: sys.xxx={}".format(getattr(sys, 'xxx', 'attribute not set'))))PY";
code.replace(code.find("TNAME"), 5, tname);
PyThreadState* threadState = PyThreadState_New(interp);
PyEval_RestoreThread(threadState);
//sub_interpreter::thread_scope scope(interp);PyRun_SimpleString(code.c_str());
PyThreadState_Clear(threadState);
PyThreadState_DeleteCurrent();
}
intmain()
{
initialize init;
PyThreadState* mainState;
mainState = PyEval_SaveThread();
PyEval_RestoreThread(mainState);
PyRun_SimpleString(R"PY(# set sys.xxx, it will only be reflected in t4, which runs in the context of the main interpreterfrom __future__ import print_functionimport syssys.xxx = ['abc']print('main: setting sys.xxx={}'.format(sys.xxx)))PY");
mainState = PyEval_SaveThread();
// Simulating here a thread using the main python interpreter
std::thread t4{f, mainState->interp, "t4(main)"};
t4.join();
PyEval_RestoreThread(mainState);
return0;
}
This works as expected. I then checked where exactly the code is freezing on superglue side, and it seems it happens when it calls load_state_dicthere:
do you mean the windows cuda binaries? If so, there could be an issue with the pytorch version used. EDIT: The windows binaries don't have python support.
To make sure there is no second matching done after superglue, set --Reg/RepeatOnce false --Vis/CorGuessWinSize 0. In this example, both rtabmap and rgbd_odometry nodes are using SuperPoint/SuperGlue. To use only SuperPoint/SuperGlue on rtabmap node, change args by rtabmap_args.
I am trying to use Superglue via that dockerfile. I installed ROS Noetic using the standard method and everything works okay until I use catkin_make, which brings an error where it cannot find empy. I have found there is an issue when multiple interpreters are installed, but everything seems to be pointing to the missing dependency. The problem is that the environment uses conda, and it cannot install empy due to a conflict with other packages installed in the image. How did you manage to install ROS and rtabmap_ros?
I am doing that inside docker, but there are two versions of python now. In the last-mentioned issue, you do not seem to have an issue with that, ¿ Are you using catkin_make or catkin build to build in noetic? If I try to use pip instead of conda or the pytorch image, the problem is that installing pytorch with pip does not include c++11 abi, so rtabmap is unable to build with the "undefined reference to" error. If you install libtorch with c++11 abi, then pytorch is not installed, and if you install both, they clash and python segfaults. Building using conda results in the error I mentioned in my previous comment.
To clarify, I am using the commands in Step 1 to 3 inside docker.
I'm testing SuperPoint/SuperGlue on freiburg2_pioneer_slam3 dataset. I can see detections, but no matches. @cdb0y511@matlabbe can you confirm that superglue is expected to work on this dataset?
This is how I test it: ./install/rtabmap/bin/rtabmap-rgbd_dataset --cameras 1 --Rtabmap/PublishRAMUsage true --Rtabmap/DetectionRate 2 --RGBD/LinearUpdate 0 --Mem/STMSize 30 --Mem/UseOdomFeatures false --Vis/CorNNType 6 --Kp/DetectorStrategy 11 --Vis/FeatureType 11 --Reg/RepeatOnce false --SuperGlue/Path ~/ws/src/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/rtabmap_superglue.py --SuperPoint/ModelPath ~/ws/src/rtabmap/archive/2022-IlluminationInvariant/scripts/superpoint_v1.pt --PyMatcher/Cuda false --SuperPoint/Cuda false /data/TUM/rgbd_dataset_freiburg2_pioneer_slam3
Thanks!
For that dataset, it seems there is 3 sec missing while the robot was rotating around 1671st frame. I fixed the code to make Odom/ResetCountdown works with that tool.
Looking at the results, the lack of loop closures for GFTT is more related to binary descriptors, not that it is not Superglue. Here is a difference of matching superpoint features with and without superglue respectively:
I am doing that inside docker, but there are two versions of python now. In the last-mentioned issue, you do not seem to have an issue with that, ¿ Are you using catkin_make or catkin build to build in noetic? If I try to use pip instead of conda or the pytorch image, the problem is that installing pytorch with pip does not include c++11 abi, so rtabmap is unable to build with the "undefined reference to" error. If you install libtorch with c++11 abi, then pytorch is not installed, and if you install both, they clash and python segfaults. Building using conda results in the error I mentioned in my previous comment.
To clarify, I am using the commands in Step 1 to 3 inside docker.
I am glad we could skip the docker for now cause I found it has some performance issues related to the docker itself.
But unfortunately, you should build libtorch from the source to avoid undefined reference error, related to c++11 abi
related to #1063
@cdb0y511 I too note that building pytorch from source avoids the ""undefined reference" errors. However, I also note a severe (>>10x) peformance loss with this pytorch compiled from sources.
I'm testing on CPU only and I compile with the flag ENV USE_MKLDNN=1. Prior to that I install Intel's oneDNN like this:
git clone --branch v3.4-pc --recursive https://github.com/oneapi-src/oneDNN.git /one-dnn
mkdir -p build && cd build && cmake .. && make -j && make install
Question: Did you also recording a loss in inference speed when building pytorch from source? Did you overcome it in some way?
i get this : QAQ
Features2d.cpp:594::create() SupertPoint Torch feature cannot be used as RTAB-Map is not built with the option enabled. GFTT/ORB is used instead.
Parameters.cpp:1149::parseArguments() Parameter migration from "SuperGlue/Path" to "PyMatcher/Path" (value=/home/lun/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/demo_superglue.py).
These are the already compiled pytorch libraries. But the "Download here (cxx11 ABI)" worked for me without having to compile pytorch from the sources. I unpacked them into my home directory "/home/he/projects/libtorch".
I added the library path by adding this line to the end of my ~/.bashrc: export LD_LIBRARY_PATH=/home/he/projects/libtorch/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
And build my ros2 humble workspace specifying the cmake directory of the library. colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release -DWITH_TORCH=ON -DWITH_PYTHON=ON -DTorch_DIR=/home/he/projects/libtorch/share/cmake/Torch --packages-up-to rtabmap_ros
In practice, you can get already great performance with SuperPoint and standard KNN. However, SuperGlue would give more matches in general than KNN and could resolve very large point of view differences (great for loop closure detection).
In practice, you can get already great performance with SuperPoint and standard KNN. However, SuperGlue would give more matches in general than KNN and could resolve very large point of view differences (great for loop closure detection).
Activity
cdb0y511 commentedon Sep 9, 2022
Btw the superpoint with kdtree works with loop detection but freezes with superGlue.
I think you may check recent commits about the loop detection, otherwise can not reproduce the results with the latest git for the paper https://doi.org/10.3389/frobt.2022.801886.
matlabbe commentedon Sep 12, 2022
Currently working on a docker image to reproduce the results (working so far but minor issues to fix this week, maybe today if I have time). There is however a known issue with loading python scripts in rtabmap when there is more than one thread using Python at the same time. The results presented in the paper were generated using
rtabmap-reprocesstool, which works with single thread, so no Python mutli-threading issue like with standalone ui app.Related to introlab/rtabmap_ros#534
matlabbe commentedon Sep 13, 2022
Updated README with a docker example: https://github.com/introlab/rtabmap/tree/master/archive/2022-IlluminationInvariant#docker
cdb0y511 commentedon Sep 14, 2022
@matlabbe, thanks
I will look into it.
But I hope this will be fixed for standalone soon.
I wonder if it is related to the python version (currently python 3.8, can 3.9 avoid this issue?).
matlabbe commentedon Sep 14, 2022
Reproduced the problem on standalone, stuck on:
It seems freezing when initializing superglue:
rtabmap/corelib/src/python/rtabmap_superglue.py
Line 25 in adfb250
To reproduce:
Say "Yes" to all startup dialogs, then Open Preferences->Source, set Source->Database, scroll down and set database path to any databases in "/workspace/databases". Say "Yes" to use odometry data and "Yes" to process all data. Click ok, new database, then start.
The difference between
rtabmap-reprocessandrtabmap, is that the map update thread is not running on the main thread in the standalone. This may cause issue when python interpreter is not initialized in same thread context. For reference, those are the two python classes involved:https://github.com/introlab/rtabmap/blob/master/corelib/src/python/PythonInterface.cpp
https://github.com/introlab/rtabmap/blob/master/corelib/src/python/PyMatcher.cpp
PythonInterfaceis initialized on the main thread (constructor here, created here), while rtabmap class is running on a second thread called RtabmapThread. NormallyPythonInterfaceshould switch python context between threads, thus it must be a problem when switching contexts.I see two solutions:
cdb0y511 commentedon Sep 17, 2022
I wonder why the latest release (https://github.com/introlab/rtabmap/releases/tag/0.20.16) can not reproduce this issue.
matlabbe commentedon Sep 24, 2022
Tested with 0.20.16 using the docker image (checking out 0.20.16 inside and rebuild it) and the same problem happens. Digging more into the issue, I tried to replicate a minimal example on how python is used inside rtabmap across threads, based on this example:
This works as expected. I then checked where exactly the code is freezing on superglue side, and it seems it happens when it calls
load_state_dicthere:Maybe related issue: huggingface/transformers#8649
Note that when you say:do you mean the windows cuda binaries? If so, there could be an issue with the pytorch version used.EDIT: The windows binaries don't have python support.matlabbe commentedon Sep 24, 2022
At least on ROS it works. I tested by adding ros noetic in the rtabmap_frontiers docker image.
Launch the docker image:
Install ros noetic and build rtabmap_ros in the container, then after launching realsense D435i like in this tutorial, from inside the container:
To make sure there is no second matching done after superglue, set
--Reg/RepeatOnce false --Vis/CorGuessWinSize 0. In this example, bothrtabmapandrgbd_odometrynodes are using SuperPoint/SuperGlue. To use only SuperPoint/SuperGlue onrtabmapnode, changeargsbyrtabmap_args.mattiasmar commentedon May 31, 2023
Hello,
What's the status of this issue?
matlabbe commentedon Jun 4, 2023
GVMCOTESA commentedon Jun 19, 2023
I am trying to use Superglue via that dockerfile. I installed ROS Noetic using the standard method and everything works okay until I use catkin_make, which brings an error where it cannot find empy. I have found there is an issue when multiple interpreters are installed, but everything seems to be pointing to the missing dependency. The problem is that the environment uses conda, and it cannot install empy due to a conflict with other packages installed in the image. How did you manage to install ROS and rtabmap_ros?
matlabbe commentedon Jun 20, 2023
Step 3 from https://github.com/introlab/rtabmap_ros#build-from-source
GVMCOTESA commentedon Jun 22, 2023
I am doing that inside docker, but there are two versions of python now. In the last-mentioned issue, you do not seem to have an issue with that, ¿ Are you using catkin_make or catkin build to build in noetic? If I try to use pip instead of conda or the pytorch image, the problem is that installing pytorch with pip does not include c++11 abi, so rtabmap is unable to build with the "undefined reference to" error. If you install libtorch with c++11 abi, then pytorch is not installed, and if you install both, they clash and python segfaults. Building using conda results in the error I mentioned in my previous comment.
To clarify, I am using the commands in Step 1 to 3 inside docker.
mattiasmar commentedon Jun 23, 2023
I'm testing SuperPoint/SuperGlue on freiburg2_pioneer_slam3 dataset. I can see detections, but no matches.
@cdb0y511 @matlabbe can you confirm that superglue is expected to work on this dataset?
This is how I test it:
./install/rtabmap/bin/rtabmap-rgbd_dataset --cameras 1 --Rtabmap/PublishRAMUsage true --Rtabmap/DetectionRate 2 --RGBD/LinearUpdate 0 --Mem/STMSize 30 --Mem/UseOdomFeatures false --Vis/CorNNType 6 --Kp/DetectorStrategy 11 --Vis/FeatureType 11 --Reg/RepeatOnce false --SuperGlue/Path ~/ws/src/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/rtabmap_superglue.py --SuperPoint/ModelPath ~/ws/src/rtabmap/archive/2022-IlluminationInvariant/scripts/superpoint_v1.pt --PyMatcher/Cuda false --SuperPoint/Cuda false /data/TUM/rgbd_dataset_freiburg2_pioneer_slam3Thanks!
matlabbe commentedon Jun 26, 2023
Superglue should work for loop closure detection, not odometry (unless you choose F2F odometry). Here a small comparison between different approaches.
Default parameters (GFTT features for odom and loop closure, with standard nearest neighbor):

rtabmap-rgbd_dataset --cameras 1 --Rtabmap/PublishRAMUsage true --Rtabmap/DetectionRate 2 --RGBD/LinearUpdate 0 --Mem/STMSize 30 --Mem/UseOdomFeatures true --Vis/CorNNType 1 --Kp/DetectorStrategy 8 --Vis/FeatureType 8 --Reg/RepeatOnce true --Odom/ResetCountdown 10 --Vis/CorNNDR 0.8 rgbd_dataset_freiburg2_pioneer_slam3Default parameters for odom (GFTT), but using SuperPoint + default NN matching for loop closure:

rtabmap-rgbd_dataset --cameras 1 --Rtabmap/PublishRAMUsage true --Rtabmap/DetectionRate 2 --RGBD/LinearUpdate 0 --Mem/STMSize 30 --Mem/UseOdomFeatures true --Vis/CorNNType 6 --Kp/DetectorStrategy 11 --Vis/FeatureType 11 --Reg/RepeatOnce false --SuperGlue/Path ~/workspace/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/rtabmap_superglue.py --SuperPoint/ModelPath ~/superpoint_v1.pt --PyMatcher/Cuda true --SuperPoint/Cuda true --Odom/ResetCountdown 10 --Vis/CorNNDR 0.6 rgbd_dataset_freiburg2_pioneer_slam3Default parameters for odom (GFTT), but using SuperPoint + SuperGlue for loop closure:

rtabmap-rgbd_dataset --cameras 1 --Rtabmap/PublishRAMUsage true --Rtabmap/DetectionRate 2 --RGBD/LinearUpdate 0 --Mem/STMSize 30 --Mem/UseOdomFeatures false --Vis/CorNNType 6 --Kp/DetectorStrategy 11 --Vis/FeatureType 8 --Reg/RepeatOnce false --SuperGlue/Path ~/workspace/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/rtabmap_superglue.py --SuperPoint/ModelPath ~/superpoint_v1.pt --PyMatcher/Cuda true --SuperPoint/Cuda true --Odom/ResetCountdown 10 --Vis/CorNNDR 0.8 rgbd_dataset_freiburg2_pioneer_slam3SuperPoint for odom, Superpoint+Superglue for loop closure detection:

rtabmap-rgbd_dataset --cameras 1 --Rtabmap/PublishRAMUsage true --Rtabmap/DetectionRate 2 --RGBD/LinearUpdate 0 --Mem/STMSize 30 --Mem/UseOdomFeatures true --Vis/CorNNType 6 --Kp/DetectorStrategy 11 --Vis/FeatureType 11 --Reg/RepeatOnce false --SuperGlue/Path ~/workspace/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/rtabmap_superglue.py --SuperPoint/ModelPath ~/superpoint_v1.pt --PyMatcher/Cuda true --SuperPoint/Cuda true --Odom/ResetCountdown 10 --Vis/CorNNDR 0.6 rgbd_dataset_freiburg2_pioneer_slam3For that dataset, it seems there is 3 sec missing while the robot was rotating around 1671st frame. I fixed the code to make
Odom/ResetCountdownworks with that tool.Looking at the results, the lack of loop closures for GFTT is more related to binary descriptors, not that it is not Superglue. Here is a difference of matching superpoint features with and without superglue respectively:


9 remaining items
matlabbe commentedon Sep 17, 2023
Fixed in f1cd819
cdb0y511 commentedon Sep 22, 2023
I am glad we could skip the docker for now cause I found it has some performance issues related to the docker itself.
But unfortunately, you should build libtorch from the source to avoid undefined reference error, related to c++11 abi
related to #1063
mattiasmar commentedon Dec 17, 2023
@cdb0y511 I too note that building pytorch from source avoids the ""undefined reference" errors. However, I also note a severe (>>10x) peformance loss with this pytorch compiled from sources.
I'm testing on CPU only and I compile with the flag
ENV USE_MKLDNN=1. Prior to that I install Intel's oneDNN like this:Question: Did you also recording a loss in inference speed when building pytorch from source? Did you overcome it in some way?
Fixed superglue deadlock on standalone (introlab#896). Fixed some ele…
qetuo105487900 commentedon Feb 19, 2024
sorry to bother everyone, Superglue can run rtabslam without docker ? as follow step is correct?
--SuperPoint/ModelPath /home/lun/rtabmap/archive/2022-IlluminationInvariant/scripts/superpoint_v1.pt
--SuperGlue/Path /home/lun/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/demo_superglue.py
--Reg/RepeatOnce false
--Vis/CorGuessWinSize 0
--Kp/DetectorStrategy 11
--Vis/FeatureType 11
--Mem/UseOdomFeatures false
--Vis/CorNNType 6"
rtabmap_args:="--delete_db_on_start"
depth_topic:=/camera/aligned_depth_to_color/image_raw
rgb_topic:=/camera/color/image_raw
camera_info_topic:=/camera/color/camera_info
approx_sync:=false
i get this : QAQ
Features2d.cpp:594::create() SupertPoint Torch feature cannot be used as RTAB-Map is not built with the option enabled. GFTT/ORB is used instead.
matlabbe commentedon Feb 19, 2024
See #1221 (comment)
qetuo105487900 commentedon Feb 23, 2024
i ran this as follow : up and down just different with add/ not add --Vis/CorNNType 6
roslaunch rtabmap_launch rtabmap.launch args:="-d
--delete_db_on_start
--SuperPoint/ModelPath /home/lun/rtabmap/archive/2022-IlluminationInvariant/scripts/superpoint_v1.pt
--SuperGlue/Path /home/lun/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/demo_superglue.py
--Reg/RepeatOnce false
--Vis/CorGuessWinSize 0
--Kp/DetectorStrategy 11
--Vis/FeatureType 11
--Mem/UseOdomFeatures false
--Vis/CorNNType 6"
depth_topic:=/rs_d435i/aligned_depth_to_color/image_raw
rgb_topic:=/rs_d435i/color/image_raw
camera_info_topic:=/rs_d435i/color/camera_info
approx_sync:=false
and i get
[ERROR] (2024-02-06 00:05:32.077) PyMatcher.cpp:63::PyMatcher() Module "demo_superglue" could not be imported! (File="/home/lun/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/demo_superglue.py")
[ERROR] (2024-02-06 00:05:32.077) PyMatcher.cpp:64::PyMatcher() Traceback (most recent call last):
File "/home/lun/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/demo_superglue.py", line 51, in
import torch
File "/home/lun/.local/lib/python3.8/site-packages/torch/init.py", line 237, in
from torch._C import * # noqa: F403
ImportError: /home/lun/.local/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined symbol: _ZNK5torch3jit5Graph8toStringEb
error
but i ran
roslaunch rtabmap_launch rtabmap.launch args:="-d
--delete_db_on_start
--SuperPoint/ModelPath /home/lun/rtabmap/archive/2022-IlluminationInvariant/scripts/superpoint_v1.pt
--SuperGlue/Path /home/lun/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/demo_superglue.py
--Reg/RepeatOnce false
--Vis/CorGuessWinSize 0
--Kp/DetectorStrategy 11
--Vis/FeatureType 11
--Mem/UseOdomFeatures false"
depth_topic:=/rs_d435i/aligned_depth_to_color/image_raw
rgb_topic:=/rs_d435i/color/image_raw
camera_info_topic:=/rs_d435i/color/camera_info
approx_sync:=false
i get
Parameters.cpp:1149::parseArguments() Parameter migration from "SuperGlue/Path" to "PyMatcher/Path" (value=/home/lun/rtabmap/archive/2022-IlluminationInvariant/scripts/SuperGluePretrainedNetwork/demo_superglue.py).
is it correct ?
matlabbe commentedon Feb 24, 2024
If you don't use
--Vis/CorNNType 6, you are not using superglue, but you are still using superpoint with standard KNN matching approach.So you get this error when using superglue:
Has pytorch been built from source? Uninstall the one installed with pip if you rebuilt pytorch from source.
qetuo105487900 commentedon Feb 25, 2024
@matlabbe

i follow the website:
https://zhuanlan.zhihu.com/p/363611229
this is not build pytorch, right ?
HelmutE89 commentedon Feb 27, 2024
These are the already compiled pytorch libraries. But the "Download here (cxx11 ABI)" worked for me without having to compile pytorch from the sources. I unpacked them into my home directory "/home/he/projects/libtorch".
I added the library path by adding this line to the end of my ~/.bashrc:
export LD_LIBRARY_PATH=/home/he/projects/libtorch/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}And build my ros2 humble workspace specifying the cmake directory of the library.
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release -DWITH_TORCH=ON -DWITH_PYTHON=ON -DTorch_DIR=/home/he/projects/libtorch/share/cmake/Torch --packages-up-to rtabmap_rosqetuo105487900 commentedon Feb 27, 2024
@HelmutE89 thanks, i still have same problem QQ
so, i can think superpoint + standard KNN is better than superpoint ? but maybe worse than superglue ?
matlabbe commentedon Mar 2, 2024
In practice, you can get already great performance with SuperPoint and standard KNN. However, SuperGlue would give more matches in general than KNN and could resolve very large point of view differences (great for loop closure detection).
qetuo105487900 commentedon Mar 3, 2024
@matlabbe Thank you for your response.
Revert "Fixed superglue deadlock on standalone (introlab#896). Fixed …