-
Notifications
You must be signed in to change notification settings - Fork 135
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
AttributeError: 'Box' object has no attribute 'n' #7
Comments
chose the version of gym |
Thanks, I found ddpg can work, no error. |
Then please explain how you solved it. |
What does that mean. I am facing the same issue. |
I am facing the same issue. Are u able to run deepq ? @gloryVine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
from baselines import deepq
env = sc.SingleBattleEnv(args.ip, args.port)
act = deepq.learn(
env,
q_func=model,
lr=1e-3,
max_timesteps=100000,
buffer_size=50000,
exploration_fraction=0.1,
exploration_final_eps=0.02,
print_freq=10
)
error happen.
num_actions=env.action_space.n,
AttributeError: 'Box' object has no attribute 'n'
How do I solve it?
The text was updated successfully, but these errors were encountered: