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

if i want employe this work to a new env, what should i do? #9

Open
SOMEAIDI opened this issue Jul 9, 2021 · 1 comment
Open

Comments

@SOMEAIDI
Copy link

SOMEAIDI commented Jul 9, 2021

Tanks for the great work!
I'd like to konw if i want employe ppo_rnd on the new continuous env which is created by myself, what should i do?Do you have any suggests?

@wisnunugroho21
Copy link
Owner

Sorry if I'm so late to reply.

You can create your own env class which implements the reset function and the step function.
The reset function must return initial state.
The step function must accept action & return observation, reward, done, info.

Then in line 374, change the code to call your env class

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

2 participants