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

(soccer) explore.py gives a stationary frame of the pitch? #432

Open
Gariscat opened this issue Oct 23, 2023 · 6 comments
Open

(soccer) explore.py gives a stationary frame of the pitch? #432

Gariscat opened this issue Oct 23, 2023 · 6 comments

Comments

@Gariscat
Copy link

Hi, thank you for releasing the code of this fantastic project!

I tried to run the explore.py given in the repo (dm_control/locomotion/soccer/explore.py). However, it seems that the GUI that pops up only renders one stationary frame and nothing is moving. Should I interact with the players using keyboard inputs or load some pretrained policies? What should I do?

I have recorded a 15-second short video of what happened when I run the explore.py in the command line.

Thanks a lot for any suggestions!!!

@yuvaltassa
Copy link
Collaborator

The physics says "running" but time isn't advancing... hmmm 🤔

What happens when you press the spacebar?

@Gariscat
Copy link
Author

Hi, Yuval!
Thank you for such a quick response. I pressed the spacebar multiple times but still the scene is not changing. However, the "paused" label on the left-buttom corner does swapped from true to false back and forth. What else should I do?

@liusiqi43
Copy link
Contributor

liusiqi43 commented Oct 25, 2023

For context, the players are not supposed to move because there isn't a policy that controls them. However, you should see that the ball falls to the ground when the physics engine is stepping. Could you confirm that you don't see that either?

@Gariscat
Copy link
Author

Hi, Siqi!

Yes, I saw the ball falling to the ground. How can I apply some policies to control the agents, no matter pretrained or random?

@liusiqi43
Copy link
Contributor

liusiqi43 commented Oct 25, 2023 via email

@Gariscat
Copy link
Author

OK, I see. I'll give it a try. 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

3 participants