AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Meta

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

Ouverte
#212 9 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
1.9k
Forks
751
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.