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

How do I give human inputs to the environment? #675

Closed
0xDaksh opened this issue Aug 2, 2017 · 4 comments
Closed

How do I give human inputs to the environment? #675

0xDaksh opened this issue Aug 2, 2017 · 4 comments

Comments

@0xDaksh
Copy link

0xDaksh commented Aug 2, 2017

Hey,

I was trying to build the MountainCar-v0 Env but while training I noticed the random steps taken which was in my input data were not efficient and didn't work well, So I decided to give it input on my own but the way to do it is no where to be found? is there any way to give the env inputs from human?

Best.
Daksh

@olegklimov
Copy link
Contributor

Please see keyboard_agent.py

@eabase
Copy link

eabase commented May 24, 2024

@olegklimov
Where did this go?

@pseudo-rnd-thoughts
Copy link
Contributor

See utils.play

@eabase
Copy link

eabase commented May 24, 2024

@pseudo-rnd-thoughts
Hi Mark,
TY, but that doesn't seem to work.
I mean, it runs but nothing at all happens.

I tried:

C:\venvs\lunar\Lib\site-packages\gymnasium\utils
python.exe .\play.py LunarLander-v2

In the old version you could do this:

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

4 participants