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

Questions of reward every step output #14

Open
POJIANWU opened this issue Jun 28, 2022 · 2 comments
Open

Questions of reward every step output #14

POJIANWU opened this issue Jun 28, 2022 · 2 comments

Comments

@POJIANWU
Copy link

Hi,I'm interested in your project,but I'm confused about your warehouse.py,that is,why does't it output reward values every time step?Longing for your reply!

@semitable
Copy link
Owner

It should give you rewards at every time step (at a typical gym-interface fashion).

Do note that this is a (somewhat) sparse-reward environment. Non-zero rewards are given only upon successfully delivering a requested shelf.

@POJIANWU
Copy link
Author

It should give you rewards at every time step (at a typical gym-interface fashion).

Do note that this is a (somewhat) sparse-reward environment. Non-zero rewards are given only upon successfully delivering a requested shelf.

Thanks for your reply!Another question that is when I run the test_obs_space_2 in test_env.py,I meet this error"assert len(gym.spaces.flatten(s, o)) == env._obs_length E assert 133 == 116".What should I do?Hope for your soon reply!

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