ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

[setParam] Failed to contact master at [localhost:11311]. Retrying...

asked 2021-12-23 11:11:35 -0500

trip gravatar image

updated 2022-05-01 13:00:16 -0500

lucasw gravatar image

I'm trying to run ros_deep_learning ( and do single image classification ( I'm running:

roslaunch ros_deep_learning imagenet.ros1.launch input:=/home/USR/catkin_ws/src/ros_deep_learning/images/bird_0.jpg output:=/home/USR/catkin_ws/src/ros_deep_learning/test/output_0.jpg

End of the result:

[TRT]    device GPU, /usr/local/bin/networks/bvlc_googlenet.caffemodel initialized. 
[TRT]    imageNet -- loaded 1000 class info entries
[TRT]    imageNet -- networks/bvlc_googlenet.caffemodel initialized.  
[ INFO] [1640218246.203263848]: model hash => 6171187992146253386
[ INFO] [1640218246.212238854]: hash string => /usr/local/bin/networks/bvlc_googlenet.caffemodelnetworks
[ERROR] [1640218246.217162196]: [setParam] Failed to contact master at [localhost:11311].  Retrying...

My system: Ubuntu 18.04, aarch64, ros melodic



Any ideas of how to fix this? Any help is greatly appreciated!

edit retag flag offensive close merge delete


Can you run a basic ros tutorial or do anything simpler than running this particular launch file: rostopic pub or rostopic echo something from the command line after running roscore in another terminal?

lucasw gravatar image lucasw  ( 2022-05-01 13:01:39 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-05-05 10:43:16 -0500

Alex-SSoM gravatar image

It looks like you have a ROS setup issue. I would suggest you run roswtf in your terminal.

edit flag offensive delete link more

Question Tools


Asked: 2021-12-23 11:11:35 -0500

Seen: 568 times

Last updated: May 05 '22