reiniscimurs / DRL-robot-navigation

Deep Reinforcement Learning for mobile robot navigation in ROS Gazebo simulator. Using Twin Delayed Deep Deterministic Policy Gradient (TD3) neural network, a robot learns to navigate to a random goal point in a simulated environment while avoiding obstacles.
MIT License
487 stars 97 forks source link

Illegal instruction (core dumped) issue #55

Closed markgoli closed 8 months ago

markgoli commented 1 year ago

hey reiniscrimurs, I tried to follow the giudelines in the readme file very well, am having ubuntu 20.04.6 with python 3.8.10, I installed pytorch as you stated it, and cloned the tensorboard repository on github, after installing the main dependencies and making exports, when I excute "python3 train_velodyne_td3.py" , I get an "Illegal instruction (core dumped)" what could the problem be? Please help. thank you.

markgoli commented 1 year ago

And please help me understand more about the tensorboard repository (https://github.com/tensorflow/tensorboard), how is it used?

reiniscimurs commented 1 year ago

This I am not sure I can help you with. Possibly there is some conflict between some packages or your system. What are the specifications of your system?

You can find more information on tensorboard here: https://pytorch.org/tutorials/recipes/recipes/tensorboard_with_pytorch.html There you will also find a way to install it. You do not need to clone the repository for it as pip install tesorboard should do just fine.

markgoli commented 1 year ago

My system requirements are, Ubuntu 20.04.6, dual booted with Kali Linux, 500gb hard disk, ros-noetic-full desktop, completely installed, pentium core CPU / processor. Python 3.8.10, for pytorch, I installed the CPU version with pip, from the link you shared in the readme file, and for tensors board, I first installed tensorflow with "pip install tensorflow", then got 2.25.0 as it's version, then after I cloned the tensorboard repository, us the link you provided, then placed it in the same directory with the DDR folder.

On Thu, May 11, 2023, 23:13 Reinis Cimurs @.***> wrote:

This I am not sure I can help you with. Possibly there is some conflict between some packages or your system. What are the specifications of your system?

You can find more information on tensorboard here: https://pytorch.org/tutorials/recipes/recipes/tensorboard_with_pytorch.html There you will also find a way to install it. You do not need to clone the repository for it as pip install tesorboard should do just fine.

— Reply to this email directly, view it on GitHub https://github.com/reiniscimurs/DRL-robot-navigation/issues/55#issuecomment-1544614565, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2DVASRE2VPMTGLVE5QJ2ELXFVB7BANCNFSM6AAAAAAX52YMJY . You are receiving this because you authored the thread.Message ID: @.***>

markgoli commented 1 year ago

Thanks for the positive reply too please.

On Fri, May 12, 2023, 05:22 Wasswa Goli Mark @.***> wrote:

My system requirements are, Ubuntu 20.04.6, dual booted with Kali Linux, 500gb hard disk, ros-noetic-full desktop, completely installed, pentium core CPU / processor. Python 3.8.10, for pytorch, I installed the CPU version with pip, from the link you shared in the readme file, and for tensors board, I first installed tensorflow with "pip install tensorflow", then got 2.25.0 as it's version, then after I cloned the tensorboard repository, us the link you provided, then placed it in the same directory with the DDR folder.

On Thu, May 11, 2023, 23:13 Reinis Cimurs @.***> wrote:

This I am not sure I can help you with. Possibly there is some conflict between some packages or your system. What are the specifications of your system?

You can find more information on tensorboard here: https://pytorch.org/tutorials/recipes/recipes/tensorboard_with_pytorch.html There you will also find a way to install it. You do not need to clone the repository for it as pip install tesorboard should do just fine.

— Reply to this email directly, view it on GitHub https://github.com/reiniscimurs/DRL-robot-navigation/issues/55#issuecomment-1544614565, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2DVASRE2VPMTGLVE5QJ2ELXFVB7BANCNFSM6AAAAAAX52YMJY . You are receiving this because you authored the thread.Message ID: @.***>

reiniscimurs commented 1 year ago

You would not need to install tensorflow. We are using PyTorch as the traininng API here, so no tensorflow is required. Tensordboard works well with PyTorch (with limited capabilities) and does not require tensorflow installation. I would recommend to create a new virtual environment and make a clean install of dependencies and then make the repository within this environment.

markgoli commented 1 year ago

Yeah, thanks. I pray that will work out well

On Fri, May 12, 2023, 09:30 Reinis Cimurs @.***> wrote:

You would not need to install tensorflow. We are using PyTorch as the traininng API here, so no tensorflow is required. Tensordboard works well with PyTorch (with limited capabilities) and does not require tensorflow installation. I would recommend to create a new virtual environment and make a clean install of dependencies and then make the repository within this environment.

— Reply to this email directly, view it on GitHub https://github.com/reiniscimurs/DRL-robot-navigation/issues/55#issuecomment-1545242062, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2DVASWI6FS3NFDPQSA5773XFXKJJANCNFSM6AAAAAAX52YMJY . You are receiving this because you authored the thread.Message ID: @.***>