AI4Finance-Foundation / AI4Finance-Foundation/FinRL

Error Training in Demo_MultiCrypto_trading.ipynb

未關閉
#705 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Jupyter Notebook
星號
16.3k
分支
3.5k
PR 合併指標
30 天內沒有已合併 PR

描述

TypeError Traceback (most recent call last)
[](https://localhost:8080/#) 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](https://localhost:8080/#) 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!

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。