-
Notifications
You must be signed in to change notification settings - Fork 2
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
Environment Animation #2
Comments
Hi,
I take your remark into account, I'll fix that until the end of this week !
Le lun. 28 sept. 2020 à 03:53, Yuan Zuo <[email protected]> a écrit :
… Hi,
Is it possible to make the running in an animation mode. The environment I
am trying only renders one image a time, and I have to close the window to
push the experiment forward. I notice that the implemented rendering method
is with matplotlib.
I am not sure if this environmet works in windows, as I am trying in
windows 10. Perhaps, either the OS or the matplotlib prevents animation.
Do you have a plan to make it work as convensional gym rendering style.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJOPR7BKWQYTCHITKIMMXDTSH7UBPANCNFSM4R35RBVQ>
.
|
Hi, Thank you very much for your reply and help. |
Hi @yzexeter , import gym
import gym_ma_toy
env = env = gym.make('team_catcher-v0')
obs = env.reset()
done = False
while not done:
env.render()
action = env.action_space.sample()
obs, reward, done, info = env.step(action)
env.close() For rendering I use that : gym classic control rendering |
Hi @AdilZouitine , Thank you very much. It works fine to me. |
@AdilZouitine |
Hi,
Is it possible to make the running in an animation mode. The environment I am trying only renders one image a time, and I have to close the window to push the experiment forward. I notice that the implemented rendering method is with matplotlib.
I am not sure if this environmet works in windows, as I am trying in windows 10. Perhaps, either the OS or the matplotlib prevents animation.
Do you have a plan to make it work as convensional gym rendering style.
The text was updated successfully, but these errors were encountered: