Open BenpWil opened 2 years ago
TypeError Traceback (most recent call last) in 11 erl_params=ERL_PARAMS, 12 break_step=5e4, ---> 13 if_vix=False 14 )
4 frames /usr/local/lib/python3.7/dist-packages/elegantrl/agents/AgentBase.py in convert_trajectory(failed resolving arguments) 286 287 '''stack items''' --> 288 traj_state = torch.stack(traj_list1(0)) 289 traj_action = torch.stack(traj_list1(3)) 290
TypeError: stack(): argument 'tensors' (position 1) must be tuple of Tensors, not map
No problems until I get to Training section. There is a similar issue in https://github.com/AI4Finance-Foundation/FinRL/issues/702 however, the suggested solution doesn't work.
Running in Collab.
Thanks!
This error comes from ElegantRl Please solve it!🙏🥲
TypeError Traceback (most recent call last) in
11 erl_params=ERL_PARAMS,
12 break_step=5e4,
---> 13 if_vix=False
14 )
4 frames /usr/local/lib/python3.7/dist-packages/elegantrl/agents/AgentBase.py in convert_trajectory(failed resolving arguments) 286 287 '''stack items''' --> 288 traj_state = torch.stack(traj_list1(0)) 289 traj_action = torch.stack(traj_list1(3)) 290
TypeError: stack(): argument 'tensors' (position 1) must be tuple of Tensors, not map
No problems until I get to Training section. There is a similar issue in https://github.com/AI4Finance-Foundation/FinRL/issues/702 however, the suggested solution doesn't work.
Running in Collab.
Thanks!