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

max time steps #54

Open
chechochecho2 opened this issue Apr 23, 2021 · 3 comments
Open

max time steps #54

chechochecho2 opened this issue Apr 23, 2021 · 3 comments

Comments

@chechochecho2
Copy link

Hi!
I would like to know if there is any way of modifying the max time steps so that the enviorment doesnt disappear early.

@mpSchrader
Copy link
Owner

If I am get your question right, you should be able to use your_env.set_maxsteps(n).
Is this what you have been looking for?

@chechochecho2
Copy link
Author

i tried modifying that value using the random sampling code. But the program still stops at 200 steps.

@mpSchrader
Copy link
Owner

It might be a bug, that the parameter is not set properly.
Where did you try to change it? There are different environment definitions in ./gym_sokoban/envs/sokoban_env_variations.py.

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