Code Monkey home page Code Monkey logo

Comments (19)

KaninchenM avatar KaninchenM commented on June 6, 2024 1

I've installed successfully (reference: https://blog.csdn.net/Mac0327/article/details/105861895). Now share my version with you.
Ubuntu 16.04
CUDA 9.0
python 2.7
tensorflow-gpu 1.12.3
keras 2.0.9
opencv 2.14.11 (which should modify some code, reference here: https://pan.baidu.com/share/init?surl=9AaTZUMqCanJFHU2tAGetw, pw:ph4w )
Hope this helps.

from dynaslam.

staghavi93 avatar staghavi93 commented on June 6, 2024

Hello,
I also, have the same problem and I don't know the source code needs for instance Tensorflow or Tensorflow-gpu. I would appreciate any help.

from dynaslam.

dinarkino avatar dinarkino commented on June 6, 2024

Hi,
Thank you for the repository!
I also agree about the requirements. It's not clear which version of Keras and TensorFlow to use. After installation of Keras with pip I got this error, then after reinstalling it with
pip install 'keras==2.1.6' --force-reinstall
I finally got "Mask R-CNN is correctly working" with several warnings from tensorflow. Now it's time to solve Bus error (core dumped) :))

Here is another question, I found in several issues in GitHub (more than one year old) that it's better to use opencv 2.4.11, is that still true? For now, I tried mono tum with 3.4.0. Without PATH_TO_MASKS works just fine (I suppose it's ORB-SLAM2), with the path I'm getting Bus error.

It seems that there is a need in a more detailed Getting Started guide.
@BertaBescos

from dynaslam.

dinarkino avatar dinarkino commented on June 6, 2024

Another interesting thing that actually I was able to build DynaSLAM without Keras and TensorFlow, which I occasionally installed for the python 3. Also, there is such an error in building process:

Cannot find source file:
    Examples/Monocular/mono_carla.cc
...
CMake Error: CMake can not determine linker language for target: mono_carla
CMake Error: Cannot determine link language for target "mono_carla".
...
make[2]: *** No rule to make target 'CMakeFiles/mono_carla.dir/build'.  Stop.
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/mono_carla.dir/all' failed

I'm not sure is that right behaviour or not because finally building is successful. And when I clone repository this file also exist in Examples/Monocular/.

from dynaslam.

ndinarvand avatar ndinarvand commented on June 6, 2024

Hi
I followed instructions in https://blog.csdn.net/Mac0327/article/details/105861895
But in tensorflow installation it needs python>=3.6

Please help to solve it.

from dynaslam.

dinarkino avatar dinarkino commented on June 6, 2024

@KaninchenM is there a way to download changed version of opencv 2.14.11 without Baidu? I can't understand how to do that without an account

from dynaslam.

KaninchenM avatar KaninchenM commented on June 6, 2024

from dynaslam.

dinarkino avatar dinarkino commented on June 6, 2024

I use this url : https://pan.baidu.com/share/init?surl=9AaTZUMqCanJFHU2tAGetw and the password is ph4w The author is here: https://blog.csdn.net/ljl1015ljl/article/details/100749835

------------------ 原始邮件 ------------------ 发件人: "dinarkino"<[email protected]>; 发送时间: 2020年6月24日(星期三) 上午6:01 收件人: "BertaBescos/DynaSLAM"<[email protected]>; 抄送: "大巧小雯"<[email protected]>;"Mention"<[email protected]>; 主题: Re: [BertaBescos/DynaSLAM] Software requirement.... (#51) @KaninchenM is there a way to download changed version of opencv 2.14.11 without Baidu? I can't understand how to do that without an account — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Yeah, I mean even using this link it asks for downloading Baidu app and to log in there using an account which I can't create. If it's possible to download this archive to some other cloud, like dropbox, it will be very helpful.

By the way, I tried building OpenCV 2.4.11 several times using many advices and I still can't do it without errors. Seems like this version is already unsupported and it will be much better if DynaSLAM will work with OpenCV 3.

from dynaslam.

KaninchenM avatar KaninchenM commented on June 6, 2024

from dynaslam.

dinarkino avatar dinarkino commented on June 6, 2024

@KaninchenM thank you so much for the link! I finally have built opencv 2.4.11 without any errors. Now I have another error but it's another story :)

from dynaslam.

KaninchenM avatar KaninchenM commented on June 6, 2024

Hi
I followed instructions in https://blog.csdn.net/Mac0327/article/details/105861895
But in tensorflow installation it needs python>=3.6

Please help to solve it.

Have you solved the problem? I installed env using anaconda, so my command are:
conda install tensorflow-gpu=1.12.3
I've tried to install it without anaconda. The following works. But downloading the package online may very slow even throw network error. It's better for you to download them from reliable source before installing.

pip install numpy-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl
pip install setuptools-44.1.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install Markdown-3.2.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install tensorflow_gpu-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/

from dynaslam.

 avatar commented on June 6, 2024

Hi
I followed instructions in https://blog.csdn.net/Mac0327/article/details/105861895
But in tensorflow installation it needs python>=3.6
Please help to solve it.

Have you solved the problem? I installed env using anaconda, so my command are:
conda install tensorflow-gpu=1.12.3
I've tried to install it without anaconda. The following works. But downloading the package online may very slow even throw network error. It's better for you to download them from reliable source before installing.

pip install numpy-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl
pip install setuptools-44.1.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install Markdown-3.2.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install tensorflow_gpu-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/

Worked with this configuration:
Ubuntu 16.04
CUDA 10.0
python 2.7
tensorflow 1.12.3
keras 2.0.9
opencv 2.14.11

But get Segmentation Fault error with tensorflow-gpu 1.12.3.
Do you know what might be causing this?

from dynaslam.

KaninchenM avatar KaninchenM commented on June 6, 2024

Hi
I followed instructions in https://blog.csdn.net/Mac0327/article/details/105861895
But in tensorflow installation it needs python>=3.6
Please help to solve it.

Have you solved the problem? I installed env using anaconda, so my command are:
conda install tensorflow-gpu=1.12.3
I've tried to install it without anaconda. The following works. But downloading the package online may very slow even throw network error. It's better for you to download them from reliable source before installing.

pip install numpy-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl
pip install setuptools-44.1.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install Markdown-3.2.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install tensorflow_gpu-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/

Worked with this configuration:
Ubuntu 16.04
CUDA 10.0
python 2.7
tensorflow 1.12.3
keras 2.0.9
opencv 2.14.11

But get Segmentation Fault error with tensorflow-gpu 1.12.3.
Do you know what might be causing this?

Where the error appears? I mean which line of code. Solving the problem may need more information.
And, I use opencv 2.4.11

from dynaslam.

maclo4 avatar maclo4 commented on June 6, 2024

Hi
I followed instructions in https://blog.csdn.net/Mac0327/article/details/105861895
But in tensorflow installation it needs python>=3.6
Please help to solve it.

Have you solved the problem? I installed env using anaconda, so my command are:
conda install tensorflow-gpu=1.12.3
I've tried to install it without anaconda. The following works. But downloading the package online may very slow even throw network error. It's better for you to download them from reliable source before installing.

pip install numpy-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl
pip install setuptools-44.1.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install Markdown-3.2.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install tensorflow_gpu-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/

Worked with this configuration:
Ubuntu 16.04
CUDA 10.0
python 2.7
tensorflow 1.12.3
keras 2.0.9
opencv 2.14.11

But get Segmentation Fault error with tensorflow-gpu 1.12.3.
Do you know what might be causing this?

I had this same issue.

from dynaslam.

KaninchenM avatar KaninchenM commented on June 6, 2024

Hi
I followed instructions in https://blog.csdn.net/Mac0327/article/details/105861895
But in tensorflow installation it needs python>=3.6
Please help to solve it.

Have you solved the problem? I installed env using anaconda, so my command are:
conda install tensorflow-gpu=1.12.3
I've tried to install it without anaconda. The following works. But downloading the package online may very slow even throw network error. It's better for you to download them from reliable source before installing.

pip install numpy-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl
pip install setuptools-44.1.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install Markdown-3.2.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install tensorflow_gpu-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/

Worked with this configuration:
Ubuntu 16.04
CUDA 10.0
python 2.7
tensorflow 1.12.3
keras 2.0.9
opencv 2.14.11
But get Segmentation Fault error with tensorflow-gpu 1.12.3.
Do you know what might be causing this?

I had this same issue.

Many problems may cause Segmentation Fault error. It's better to locate your error to certain line of code.

from dynaslam.

maclo4 avatar maclo4 commented on June 6, 2024

Hi
I followed instructions in https://blog.csdn.net/Mac0327/article/details/105861895
But in tensorflow installation it needs python>=3.6
Please help to solve it.

Have you solved the problem? I installed env using anaconda, so my command are:
conda install tensorflow-gpu=1.12.3
I've tried to install it without anaconda. The following works. But downloading the package online may very slow even throw network error. It's better for you to download them from reliable source before installing.

pip install numpy-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl
pip install setuptools-44.1.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install Markdown-3.2.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install tensorflow_gpu-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/

Worked with this configuration:
Ubuntu 16.04
CUDA 10.0
python 2.7
tensorflow 1.12.3
keras 2.0.9
opencv 2.14.11
But get Segmentation Fault error with tensorflow-gpu 1.12.3.
Do you know what might be causing this?

I had this same issue.

Many problems may cause Segmentation Fault error. It's better to locate your error to certain line of code.
image

This is all that the error shows

from dynaslam.

KaninchenM avatar KaninchenM commented on June 6, 2024

Hi
I followed instructions in https://blog.csdn.net/Mac0327/article/details/105861895
But in tensorflow installation it needs python>=3.6
Please help to solve it.

Have you solved the problem? I installed env using anaconda, so my command are:
conda install tensorflow-gpu=1.12.3
I've tried to install it without anaconda. The following works. But downloading the package online may very slow even throw network error. It's better for you to download them from reliable source before installing.

pip install numpy-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl
pip install setuptools-44.1.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install Markdown-3.2.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install tensorflow_gpu-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/

Worked with this configuration:
Ubuntu 16.04
CUDA 10.0
python 2.7
tensorflow 1.12.3
keras 2.0.9
opencv 2.14.11
But get Segmentation Fault error with tensorflow-gpu 1.12.3.
Do you know what might be causing this?

I had this same issue.

Many problems may cause Segmentation Fault error. It's better to locate your error to certain line of code.
image

This is all that the error shows

It looks like you haven't install maskrcnn module successfully. Maybe you can refer to this:https://blog.csdn.net/Mac0327/article/details/105861895
especially see the 2.2 and 2.2.5 part to check.

from dynaslam.

maclo4 avatar maclo4 commented on June 6, 2024

Hi
I followed instructions in https://blog.csdn.net/Mac0327/article/details/105861895
But in tensorflow installation it needs python>=3.6
Please help to solve it.

Have you solved the problem? I installed env using anaconda, so my command are:
conda install tensorflow-gpu=1.12.3
I've tried to install it without anaconda. The following works. But downloading the package online may very slow even throw network error. It's better for you to download them from reliable source before installing.

pip install numpy-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl
pip install setuptools-44.1.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install Markdown-3.2.1-py2.py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install tensorflow_gpu-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/

Worked with this configuration:
Ubuntu 16.04
CUDA 10.0
python 2.7
tensorflow 1.12.3
keras 2.0.9
opencv 2.14.11
But get Segmentation Fault error with tensorflow-gpu 1.12.3.
Do you know what might be causing this?

I had this same issue.

Many problems may cause Segmentation Fault error. It's better to locate your error to certain line of code.
image

This is all that the error shows

It looks like you haven't install maskrcnn module successfully. Maybe you can refer to this:https://blog.csdn.net/Mac0327/article/details/105861895
especially see the 2.2 and 2.2.5 part to check.

Mask_RCNN works when I use normal tensorflow instead of tensorflow-gpu. I actually followed that same guide for setting up DynaSLAM but ended up getting really slow results when using the masks option. So that's why I was trying tensorflow-gpu just hoping that it'd speed up the process. But now I've realized that my nvidia drivers arent set up properly to allow WSL2 to use CUDA so I'm wondering if maybe that is why it's running so slow. Any ideas for speeding up the image processing on WSL2?

from dynaslam.

Skywalker666666 avatar Skywalker666666 commented on June 6, 2024

Examples/Monocular/mono_carla.cc

How did you find out the file?

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.