-
Notifications
You must be signed in to change notification settings - Fork 58
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
ex_enjoy_pretrained_agent.bash
hanging in fresh Docker image
#90
Comments
Hello, The output you provided is expected and it looks complete. The Docker image already contains all the assets it needs to run the example, so it is not stuck at downloading them. However, the hanging that you are experiencing might be caused while loading the models into the simulation.
If that seems fine, could you please try running a more simple world in Ignition. For example, check that
Also, just to confirm. Are you using the pre-built image pulled from Docker Hub? Building it from scratch might cause some unexpected problems due to updates of dependencies. docker pull andrejorsula/drl_grasping:latest |
Thanks for the debugging tips!
I suspect that somewhere along the chain, my NVIDIA driver -> X server -> Docker setup is misconfigured. Interestingly, Do you have any idea of next steps to find where the problem might lie? Monitoring Statistics:
Simple world:
|
Solved! For some reason, I was running into Ignition Gazebo's ancient resolved Issue #38, which affects ign_transport. The workaround was to add a new environment variable to the Docker image by adding With the change, For posterity, these were the steps leading me to this solution:
|
Interesting! I have not experienced a similar issue before, but I am happy that you were able to resolve it.
I thought I would give a couple of remarks for this on a side-note, as this project might not be fully representative of the current state of Ignition.
** This might no longer be the case in future releases. The issue can be tracked under gazebosim/gz-gui#208, but there was a mention during one of the community meetings that it is already resolved (or partially resolved). |
Thank you for sharing this wonderful project! I'm looking at your Ignition integration to judge whether Ignition is a viable simulator for a supervised-learning grasping project, and I've enjoyed learning from your repo. I've run into an apparent bug, though:
When I run the script to enjoy the pretrained agent from a fresh docker image, it hangs on
enjoy.py:101
, at the lineobs = env.reset()
. CPU usage stays high for at least five minutes, but I don't see anything other than the image below:I expected to see "an agent trying to grasp one of four objects in a fully randomised novel environment". Is the apparent hanging expected behavior, for instance if large assets are being downloaded? Am I running the script correctly?
Thank you!
Terminal Command and Output
The text was updated successfully, but these errors were encountered: