Code Monkey home page Code Monkey logo

Comments (10)

git-gfischer avatar git-gfischer commented on June 6, 2024 2

I had the same problem, but I was able to make DynaSLAM work correctly using nvidia-docker. Here is the link to my github repo: https://github.com/Master-Fischer/DynaSLAM_Docker
I hope it helps.

from dynaslam.

jzpwhu1996 avatar jzpwhu1996 commented on June 6, 2024

According to a closed issue,I run the check.py ,the result is :
Using TensorFlow backend.
/usr/local/lib/python2.7/dist-packages/requests/init.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
warnings.warn(warning, RequestsDependencyWarning)
Initializing Mask RCNN network...
./src/python
Traceback (most recent call last):
File "Check.py", line 40, in
model.load_weights(COCO_MODEL_PATH, by_name=True)
File "/home/jzp/DynaSLAM-master/src/python/model.py", line 1900, in load_weights
f = h5py.File(filepath, mode='r')
File "/usr/local/lib/python2.7/dist-packages/h5py/_hl/files.py", line 408, in init
swmr=swmr)
File "/usr/local/lib/python2.7/dist-packages/h5py/_hl/files.py", line 173, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 88, in h5py.h5f.open
IOError: Unable to open file (unable to open file: name = './src/python/mask_rcnn_coco.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

It seems that there is no mask_rcnn_coco.h5. But I really place the mask_rcnn_coco.h5 in the src/Python

from dynaslam.

jzpwhu1996 avatar jzpwhu1996 commented on June 6, 2024

Now,I can run Check.py sucessfully.The output is :Mask R-CNN is correctly working
And according to the closed issue,I changed my opencv version to 2.4.11 and rebuilt the DynaSLAM.
But when I run the TUM rgbd example,the output is:
Initializing Mask RCNN network...
/home/jzp/DynaSLAM-master/src/python/
2019-11-14 16:41:23.321434: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2019-11-14 16:41:23.321474: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2019-11-14 16:41:23.321484: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2019-11-14 16:41:23.321501: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2019-11-14 16:41:23.321514: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
Initialated Mask RCNN network...
Creating net instance...
Loading net parameters...
Bus error (core dumped)
I really don't know how to solve it, could you help me?
Sorry to bothering you again

from dynaslam.

jzpwhu1996 avatar jzpwhu1996 commented on June 6, 2024

I have already solved the problem, thanks god.

from dynaslam.

timelessxpcn avatar timelessxpcn commented on June 6, 2024

I meet the same problem,and my environment are python3.6.9+opencv2.4.11.when I add {PATH_TO_MASK} and {PATH_TO_OUPUT},Segmentation fault was occured,could you tell me how to solve this problem, is this problem occured due to the incorrect environment. Thank you.

from dynaslam.

hperik1 avatar hperik1 commented on June 6, 2024

Can this topic be opened again? I have it running when no Mask and Data paths are given, and using a RGBD TUM data set (as per example). Adding the Mask and Data paths results in a FATAL error on libprotobuf (requires 3.3.0, installed 2.6.1). The src/python/Check is passing.
Any suggestions ?

from dynaslam.

lesurp avatar lesurp commented on June 6, 2024

@jzpwhu1996 Some explanations on what was wrong would be very much welcome, as I'm facing the same problem...

from dynaslam.

He-Rong avatar He-Rong commented on June 6, 2024

I meet the same problem,and my environment are python3.6.9+opencv2.7.
I can run Check.py sucessfully.The output is :Mask R-CNN is correctly working.
But when I run the TUM rgbd example,the output is:"Bus error (core dumped)"
could you tell me how to solve this problem, is this problem occured due to the incorrect environment. Thank you.

from dynaslam.

Rushmian avatar Rushmian commented on June 6, 2024

@jzpwhu1996 how did you solve the problem? Was it just an opencv version issue?

from dynaslam.

ljh192 avatar ljh192 commented on June 6, 2024

Sorry to bothering you. When I run the DynaSLAM with the command "./Examples/RGB-D/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUM3.yaml Data/rgbd_dataset_freiburg3_walking_xyz/ Data/rgbd_dataset_freiburg3_walking_xyz/associate.txt Data/Mask/ Data/Output/"

My terminal's output is : nImages: 827 Loading Mask R-CNN. This could take a while... Importing Mask R-CNN Settings... Segmentation fault (core dumped)

And I find the interrupt occurs at the MaskNet.cc "this->py_class = PyObject_GetAttrString(this->py_module, this->class_name.c_str());" And I also find after the "this->py_module = PyImport_ImportModule(this->module_name.c_str());" been called, the py_module is NULL.

Could you help me to solve the problem?

could you please tell me how to solve this problem

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.