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

Action space and observation space error! #12

Open
since-89 opened this issue Jul 21, 2024 · 0 comments
Open

Action space and observation space error! #12

since-89 opened this issue Jul 21, 2024 · 0 comments

Comments

@since-89
Copy link

I am facing following error while running train.py file. Would be glad if any assistance is provided.

Traceback (most recent call last):
File "train.py", line 200, in
main()
File "train.py", line 136, in main
state, rewards, dones = env.step(actions)
File "/Users/pravinsuryawanshi/Desktop/FJSP/fjsp-drl/.venv/lib/python3.8/site-packages/gym/wrappers/order_enforcing.py", line 37, in step
return self.env.step(action)
File "/Users/pravinsuryawanshi/Desktop/FJSP/fjsp-drl/.venv/lib/python3.8/site-packages/gym/wrappers/env_checker.py", line 37, in step
return env_step_passive_checker(self.env, action)
File "/Users/pravinsuryawanshi/Desktop/FJSP/fjsp-drl/.venv/lib/python3.8/site-packages/gym/utils/passive_env_checker.py", line 242, in env_step_passive_checker
raise error.Error(
gym.error.Error: Expected Env.step to return a four or five element tuple, actual number of elements returned: 3.

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

1 participant