jzhzhang / ROSEFusion

[SIGGRAPH 2021] ROSEFusion is proposed to tackle the difficulties in fast-motion camera tracking using random optimization with depth information only.
GNU General Public License v3.0
303 stars 48 forks source link

Frame could not be processed when running example #24

Closed wangm-buaa closed 2 years ago

wangm-buaa commented 2 years ago

Hello, when I was running the program with the example data set, that Frame could not be processed. The window could display the frames correctly, but the output PlyFile does not contain any vertex.

My environment is as follow: GPU: GTX 1080 (I have changed the sm_xx and compute_xx to fit my graphics card) Ubuntu 20.04 CUDA 11.4 OpenCV 4.5.5 Eigen 3.3.9 Pangolin 0.6

jzhzhang commented 2 years ago

Sorry for all the trouble with the environment installation. We have noticed some similar issues. And we believe this problem mostly relates to the old version of the testing environment, e.g ubuntu 16.04. (also some other minor tricks, like building the opencv with ENABLE_CUDA option)

A quick solution is to use the docker image, which is already been verified. And we are also planning to improve this repo with the newest version lib and more detailed instructions. This would be finished in the following months.

manhha1402 commented 2 years ago

Hi @jzhzhang , I also have the same error when running the example on ubuntu 20.04, OpenCV built with ENABLE_CUDA=True. I checked the code and the pose estimation always return False in the step particle_evaluation with count_search=0. Could you please check the error pls? When can you update the repo? Thank you :)

jzhzhang commented 2 years ago

We found that there are many reasons that could lead to this bug( including ENABLE_CUDA, compute capability, and the version of Eigen). We are re-implementing the code, and hopefully, it will be released in the next few days.

jzhzhang commented 2 years ago

@manhha1402 @wangm-buaa We have tested our code in ubuntu 20.04 and it works as usual. We directly use the latest (libs)[https://github.com/jzhzhang/ROSEFusion/blob/main/README.md#tested-environment-2].

Please make sure you have correctly installed the environment:

manhha1402 commented 2 years ago

Thank you @jzhzhang . The problem is eigen version in ubuntu 20.04. I have to upgrade to eigen3.4.0 to make it work

jzhzhang commented 2 years ago

@manhha1402 Glad to know you fix the issue. I will also mention the version of Eigen in FAQ.