AI4Finance-Foundation / AI4Finance-Foundation/ElegantRL

MADDPG init issues

Open
#334 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.4k
Forks
978
PR merge metrics
No merged PRs in 30d

Description

Following is my code

` import elegantrl.agents.AgentMADDPG`

`a1 = elegantrl.agents.AgentMADDPG.AgentMADDPG() `

Output: AgentMADDPG.py
`in __init__ super().__init__()`
`TypeError: __init__() missing 3 required positional arguments: 'net_dims', 'state_dim', and 'action_dim'`

It is due to incorrect inheritance from of `AgentBase` class.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.