AI4Finance-Foundation / AI4Finance-Foundation/FinRL

Error Training in Demo_MultiCrypto_trading.ipynb

Offen
#705 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Jupyter Notebook
Sterne
16.3k
Forks
3.5k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.