Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to connect with simulator when testing agent #232

Open
panpan-77 opened this issue Mar 15, 2022 · 2 comments
Open

Failed to connect with simulator when testing agent #232

panpan-77 opened this issue Mar 15, 2022 · 2 comments

Comments

@panpan-77
Copy link

Hello,
Thank you for your work.
I am very interested in your project.
I try to test the agent's performance. When I run ./scripts/run_evaluation.sh. It has the following error. It looks like the connection to the simulator failed.

1647347418
But I have run the simulator locally.
image

Did I miss anything?
Thank you in advance!

@ICGog
Copy link
Contributor

ICGog commented Mar 15, 2022

It looks lie you're running the simulator outside of the container. Therefore, Pylot, which is running in the container, cannot establish a connection to the simulator. Please run the simulator inside the container by executing: nvidia-docker exec -i -t your_container_name /home/erdos/workspace/pylot/scripts/run_simulator.sh.

@panpan-77
Copy link
Author

It looks lie you're running the simulator outside of the container. Therefore, Pylot, which is running in the container, cannot establish a connection to the simulator. Please run the simulator inside the container by executing: nvidia-docker exec -i -t your_container_name /home/erdos/workspace/pylot/scripts/run_simulator.sh.

@ICGog ,Thank you for your response.
But there is a problem when I run nvidia-docker exec -i -t pylot /home/erdos/workspace/pylot/scripts/run_simulator.sh in docker.
1647396996
In another terminal,It seems that the connection to the simulator has failed again.

I tried the suggestions you mentioned here:
#210 (comment)
It doesn't work for me. I also tried other methods mentioned in this issue, which didn't work.

I run the run_simulator.sh in the pylot container and run_evaluation.sh in the pylot-challenge container. Is that right?

I would appreciate it if you could provide some advice!
Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants