FinRL
FinRL copied to clipboard
Error Training in Demo_MultiCrypto_trading.ipynb
TypeError Traceback (most recent call last)
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!🙏🥲