Giter VIP home page Giter VIP logo

Comments (6)

BrandonHaynes avatar BrandonHaynes commented on July 30, 2024 1

Thanks for letting me know! I've updated the README to reflect this dependency.

from visualroad.

BrandonHaynes avatar BrandonHaynes commented on July 30, 2024

Hi Jeonghoon -- instead of robustly checking to see if Unreal has launched, I was lazy and just sleep for 20 seconds. There's a good chance that on your hardware this isn't long enough to complete the startup process.

To confirm this hypothesis, could you please change line 72 of common.py to increase the sleep time? E.g., give it 360 seconds just to be sure that the Unreal engine has fully launched.

Thanks!

from visualroad.

ne1114 avatar ne1114 commented on July 30, 2024

First of all thank you for a quick reply. I wasn't able to test it out for a while.

Unfortunately increasing sleep time hasn't solved the problem. I am currently using the server, and I think "error: XDG_RUNTIME_DIR not set in the environment." looks suspicious.

Do you have any suggestions that could be related to the above error message please?

Thank you so much!

from visualroad.

BrandonHaynes avatar BrandonHaynes commented on July 30, 2024

XDG_RUNTIME_DIR is a normal log entry, and your output looks largely like mine.

Let's try separating the Unreal launch from the simulation. Start a new container and run bash as follows:

docker-compose run --entrypoint bash generator

Then launch Unreal:

$CARLA_EXECUTABLE -benchmark -fps=30 -quality-level=Epic &

Wait awhile (>10 minutes) and then try running the simulator:

./generator.py test

from visualroad.

ne1114 avatar ne1114 commented on July 30, 2024

Unfortunately '$CARLA_EXECUTABLE -benchmark -fps=30 -quality-level=Epic ' didn't start the Carla. Whereas it threw segmentation fault.
Currently, I am using CUDA10.2 build for the ue4 engine. Could that potentially be problematic?

from visualroad.

ne1114 avatar ne1114 commented on July 30, 2024

Good afternoon @BrandonHaynes. Searching for reasons why Carla isn't running, I realized that I haven't installed the nvidia-docker. After installing nvidia-docker version 2.0 I was able to run carla and successfully generated videos using default settings.
Thank you so much for your kind help!

from visualroad.

Related Issues (19)

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.