Giter Site home page Giter Site logo

Comments (10)

jmfacil avatar jmfacil commented on May 22, 2024

It seems like an OpenCV version issue. Make sure you are using last version of DynaSLAM #13

from dynaslam.

hexu33 avatar hexu33 commented on May 22, 2024

Thanks. I've solved this problem.
While I meet another issue when I run
./Examples/RGB-D/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUM2.yaml data/rgbd_dataset_freiburg2_desk_with_person .//Examples/RGB-D/associations.txt ./maskfolder ./output
The terminal shows:
nImages: 3983
Loading Mask R-CNN. This could take a while...
Importing Mask R-CNN Settings...
Segmentation fault (core dumped)
Looking forward to your answer.

from dynaslam.

hexu33 avatar hexu33 commented on May 22, 2024

What's more, the program can run well without using MaskRCNN
./Examples/RGB-D/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUM2.yaml data/rgbd_dataset_freiburg2_desk_with_person .//Examples/RGB-D/associations.txt

from dynaslam.

jmfacil avatar jmfacil commented on May 22, 2024

Hi! What versions of Python and OpenCV are you using? Check #19. Maybe it helps.

from dynaslam.

hexu33 avatar hexu33 commented on May 22, 2024

I've solved it. Thank you so much!

from dynaslam.

jmfacil avatar jmfacil commented on May 22, 2024

Was it a version problem?

from dynaslam.

hexu33 avatar hexu33 commented on May 22, 2024

It was because I altered CmakeLists.txt and changed python directory to use python of anaconda, while some mistakes happened. Then I used python of Linux to cmake&make the program, it could compile successfully.

from dynaslam.

jmfacil avatar jmfacil commented on May 22, 2024

That's great :). I will close the thread then.

from dynaslam.

hexu33 avatar hexu33 commented on May 22, 2024

Thanks for helping.

from dynaslam.

ashsifat avatar ashsifat commented on May 22, 2024

Hi, I am having the exact same issue, I didn't change the CmakeLists.txt to anything other than use opencv 4.1.1. Any idea what the problem might be in my case? downgrading to opencv3.2 is not an option since jetpack for nvidia xavier agx only allows me to properly install opencv4 now.

/home/nvidia/YOLO-DynaSLAM/src/Conversion.cc:206:16: error: cannot declare variable ‘DynaSLAM::g_numpyAllocator’ to be of abstract type ‘DynaSLAM::NumpyAllocator’
206 | NumpyAllocator g_numpyAllocator;

from dynaslam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.