File "C:\Users\User\Desktop\research_project\run.py", line 63, in
next_state, reward, done, info = env._step(action)
File "C:\Users\User\Desktop\research_project\env.py", line 73, in _step
self._trade(action)
File "C:\Users\User\Desktop\research_project\env.py", line 97, in _trade
action_vec = action_combo[action]
IndexError: tuple index out of range
I have met an error as follows:
File "C:\Users\User\Desktop\research_project\run.py", line 63, in
next_state, reward, done, info = env._step(action)
File "C:\Users\User\Desktop\research_project\env.py", line 73, in _step
self._trade(action)
File "C:\Users\User\Desktop\research_project\env.py", line 97, in _trade
action_vec = action_combo[action]
IndexError: tuple index out of range
May I know how to fix it?