AI4Finance-Foundation / AI4Finance-Foundation/ElegantRL

TypeError: __init__() got an unexpected keyword argument 'agent' in elegantrl_models.py

オープン
#200 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
4.4k
フォーク
978
PR マージ指標
30日以内にマージされた PR はありません

説明

I get the following error while running the elegantrl_models.py:

TypeError: __init__() got an unexpected keyword argument 'agent' in the 58th line of /agents/elegantrl_models.py

I understand "agent" argument in Arguments class of config.py has been changed to "agent_class"

So when I change the "agent" argument in the elegantrl_models.py to "agent_class", I get the following error:

ValueError: too many values to unpack (expected 2), in the 107th line of elegantrl/train/run.py

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。