-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
robo-gym check env issue #866
Comments
Edit: see answer below ˆˆ |
Hello, |
the environment was build using Gym api. Could you provide additional info whether VecEnvWrapper is required? and when i run the output was
|
You should use |
thank you so much for the patience and reply. I tried with MlpPolicy However, i still cant perform
|
you are passing something in the info dict that is not pickable, please remove it or convert it (the error with the env checker was the same). |
Important Note: We do not do technical support, nor consulting and don't answer personal questions per email.
Please post your question on the RL Discord, Reddit or Stack Overflow in that case.
🤖 Custom Gym Environment
Please check your environment first using:
### Describe the bug
A clear and concise description of what the bug is.
Having issue with check_env with this custom environment
The observation space: Box([ -inf -inf -inf -1.1 -1.1 -1.1 -1.1 -1.1 -1.1 -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -1.01 -1.01 -1.01 -1.01 -1.01 -1.01], [ inf inf inf 1.1 1.1 1.1 1.1 1.1 1.1 inf inf inf inf inf inf inf inf inf inf inf inf 1.01 1.01 1.01 1.01 1.01 1.01], (27,), float32) The action space: Box([-1. -1. -1. -1. -1.], [1. 1. 1. 1. 1.], (5,), float32)
### Code example
Please try to provide a minimal example to reproduce the bug.
I was running the example here.
https://github.com/jr-robotics/robo-gym/blob/master/docs/environments.md#end-effector-positioning
For a custom environment, you need to give at least the observation space, action space,
reset()
andstep()
methods(see working example below).
Error messages and stack traces are also helpful.
Please use the markdown code blocks
for both code and stack traces.
### System Info
Describe the characteristic of your environment:
You can use
sb3.get_system_info()
to print relevant packages info:Additional context
Add any other context about the problem here.
### Checklist
The text was updated successfully, but these errors were encountered: