Skip to content

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

@StewartTsai

Description

@StewartTsai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions