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

SAC Agent still wrong with "tuple index out of range" use "MountainCar-v0" #10

Open
StewartTsai opened this issue Feb 18, 2022 · 1 comment

Comments

@StewartTsai
Copy link

I try to use "MountainCar-v0" env in sac agent
but still wrong with "tuple index out of range"
Could you tell me how to fix it ?
Thanks

Traceback (most recent call last):
File "D:\RL_library/sac/train.py", line 14, in
sac_trainer = sac_agent(env, args)
File "D:RL_library\sac\sac_agent.py", line 30, in init
self.qf1 = flatten_mlp(self.env.observation_space.shape[0], self.args.hidden_size, self.env.action_space.shape[0])
IndexError: tuple index out of range

@TianhongDai
Copy link
Owner

@StewartTsai Hi - my SAC implementation aims to solve the MuJoCo tasks with continuous control, thus I haven't tested MountainCar-v0 in the current version. But I will fix this problem in these days and notify you in this issue.

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