Open AndrewRiceMGW opened 3 years ago
Traceback (most recent call last): File "main.py", line 42, in agent.learn(observation, action, reward, observation_, done) TypeError: learn() takes 5 positional arguments but 6 were given
change: def learn(self, state, reward, state_, done):
to
def learn(self, state, action, reward, state_, done):
in actor critic
Traceback (most recent call last): File "main.py", line 42, in
agent.learn(observation, action, reward, observation_, done)
TypeError: learn() takes 5 positional arguments but 6 were given
change: def learn(self, state, reward, state_, done):
to
def learn(self, state, action, reward, state_, done):
in actor critic