Code Monkey home page Code Monkey logo

Comments (4)

li630925405 avatar li630925405 commented on May 27, 2024

I met the same error. Have you figured it out? How did you solve the problem?

from carla-rl.

yshen47 avatar yshen47 commented on May 27, 2024

I met the issue, and it is related docker permission. You just need to add your username to docker, such that you don't need to do sudo docker etc. to execute

from carla-rl.

parkerhzb avatar parkerhzb commented on May 27, 2024

Hi if I run observation_space, action_space = self.remotes[0].recv() Then, /home/cecilia/anaconda3/envs/ros/lib/python3.8/site-packages/gym/logger.py:30: UserWarning: WARN: Box bound precision lowered by casting to float32 warnings.warn(colorize('%s: %s'%('WARN', msg % args), 'yellow')) Trying to make client on port 2021 Got TCPConnectionError..sleeping for 1 (127.0.0.1:2000) failed to connect: [Errno 111] Connection refused Got TCPConnectionError..sleeping for 1 (127.0.0.1:2003) failed to connect: [Errno 111] Connection refused Got TCPConnectionError..sleeping for 1 Got TCPConnectionError..sleeping for 1 (127.0.0.1:2006) failed to connect: [Errno 111] Connection refused (127.0.0.1:2012) failed to connect: [Errno 111] Connection refused Got TCPConnectionError..sleeping for 1 (127.0.0.1:2015) failed to connect: [Errno 111] Connection refused Got TCPConnectionError..sleeping for 1 (127.0.0.1:2009) failed to connect: [Errno 111] Connection refused Got TCPConnectionError..sleeping for 1 (127.0.0.1:2018) failed to connect: [Errno 111] Connection refused Got TCPConnectionError..sleeping for 1 (127.0.0.1:2021) failed to connect: [Errno 111] Connection refused Trying to make client on port 2000 Trying to make client on port 2003 Trying to make client on port 2006 Trying to make client on port 2012 Trying to make client on port 2015 Trying to make client on port 2009 Trying to make client on port 2018 Trying to make client on port 2021

I meet the same problems, have you done

from carla-rl.

nvelingker avatar nvelingker commented on May 27, 2024

For those having the same issue, this is because the code tries to launch multiple containers which all communicate via 127.0.0.1. This might not work if you don't have access to root or if you are working on a server with namespaces. I have forked this repo and solved this issue by using a Docker Compose to create a pseudo-network for the containers to communicate on. Feel free to use it.

from carla-rl.

Related Issues (8)

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.