-
Notifications
You must be signed in to change notification settings - Fork 679
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
Comments
The physics says "running" but time isn't advancing... hmmm 🤔 What happens when you press the spacebar? |
Hi, Yuval! |
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? |
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? |
I believe you would need to supply a policy instance here that produce
actions for all players that respect the action specs of the environment:
https://github.com/google-deepmind/dm_control/blob/main/dm_control/viewer/__init__.py#L30
…On Wed, Oct 25, 2023 at 5:36 PM X. Li ***@***.***> wrote:
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?
—
Reply to this email directly, view it on GitHub
<#432 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAI4RHAAUSRIT3D3YMLH4UTYBE5XLAVCNFSM6AAAAAA6MWJK2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGY2TKNRWGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
--------
Regards,
Siqi LIU
|
OK, I see. I'll give it a try. Thanks again! |
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!!!
The text was updated successfully, but these errors were encountered: