-
Notifications
You must be signed in to change notification settings - Fork 2
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
Simulations in Summit #4
Comments
In principle everything should run with By default, the SUMMIT simulator is hidden in-memory and not shown on-screen. Could you try running |
I suspect that I had hardcoded the paths to the SUMMIT binary and the crowd script, which might have caused the error. Do you think you could debug near those lines and see if that is indeed the case? |
I have changed the code to point to the summit address on my machine and the program gets stuck when it tries to launch the crowds. Specifically, the following errors are reported,
Does using conda environment cause some networking issue? It seems the problem is at the following lines of code,
In particular, when using crowd_service, above errors appear. I tried to adjust the sleep time to 10s, but that didn't help. |
When using the ...if it does not appear on-screen, I think you may need to modify I believe there should be no issues with networking caused by conda -- SUMMIT/CARLA relies on TCP to receive instructions, with spawning the maps as one such instruction. As long as the maps appear, the networking should be good. |
The crowd service did not launch, as the picture I put at the very top of this thread shows. The agent is not moving either. I believe I have set the |
Okay, I think I know the issue. Your I had used a custom version of In But you need a small change to
which should be at or near line 1463 I forgot how the |
Yea I got the crowd to launch now, however, the next line throw another error,
Is the |
Yup... 🤦 For the moment, it would be easiest to replace that line (
|
If it runs without error but crashes afterward with the error message |
In this case, i need to restart the system and everything will work., not sure what causes it. Potentially some processes are not killed in the background? |
We bumped UE to 4.26, which seems to have deprecated If you want to run it headless (i.e. no visualization), you would now need to add I really need to update the codes here, as well as the SUMMIT docs, when I get the time for it... |
Thank you so much for answering patiently, I believe the core issues have been solved! |
Thank you! We've uncovered many existing issues related to getting the codes back up and running thanks to your help, really :) Leaving this issue open until the docs/codes have been updated... |
Hi, sorry for bothering again! When using the magic model in the summit simulator, an error related to use CUDA in subprocesses is raised as below,
I tried to change the start method to 'spawn', but that didn't solve the issue, instead I got the following error,
|
I can't seem to reproduce the error. The error is occuring because CUDA was used somewhere before environment_process started running. In principle, the only time anything from |
... though my SUMMIT hangs whenever I use the GPU to call the generator. I suspect that since UE4.26 dropped support for OpenGL, we now use Vulkan, and that somehow shares some memory with Torch/CUDA. This could explain why SUMMIT hangs for me and why your machine complains instead about CUDA being already initialized. I've pushed a commit that integrates the changes in this thread. To fix the CUDA issue, I've switched the generator to be invoked on the CPU ( |
Integrates the changes discussed in #4
Dear author(s),
I had some issues when running the basic Summit simulator from the
summit_driverhard
folder.After loading Carla in port 23000 and run the command,
python simulator.py
, I got the error,Pyro4.errors.CommunicationError: cannot connect to ('localhost', 23010): [Errno 111] Connection refused
So I started another Carla window with the port 23010 in a different terminal, the error disappears, but the car is not moving, there is no other crowds in the environment, the other window (port 23010) is empty, and nothing is reported in the terminal.
Is any of the above steps wrong? If you could kindly give some steps in running the simulator, that would awesome.
I am on Ubuntu 22.04, with a 4080 Nvidia GPU.
Thanks.
PS: I posted another issue in the Summit repo as I could not get the tutorial to work, not sure whether the issues are related.
The text was updated successfully, but these errors were encountered: