Closed NiklasZ closed 5 years ago
The self.last_state and self.last_action are not defined on the first call to act(), resulting in an TypeError: unsupported operand type(s) for +: 'NoneType' and 'tuple' when trying to update the Q table.
self.last_state
self.last_action
act()
TypeError: unsupported operand type(s) for +: 'NoneType' and 'tuple'
Closing, as I think it might be a different problem.
The
self.last_state
andself.last_action
are not defined on the first call toact()
, resulting in anTypeError: unsupported operand type(s) for +: 'NoneType' and 'tuple'
when trying to update the Q table.