AI4Finance-Foundation / ElegantRL

Massively Parallel Deep Reinforcement Learning. 🔥
https://ai4finance.org
Other
3.73k stars 850 forks source link

TypeError: 'AgentPPO' object is not callable #66

Closed echoyes closed 2 years ago

echoyes commented 2 years ago

Traceback (most recent call last): File "/Users/ElegantRL/elegantrl/envs/FinRL/FinRL.py", line 527, in check_stock_trading_env() File "/Users/ElegantRL/elegantrl/envs/FinRL/FinRL.py", line 276, in check_stock_trading_env env.draw_cumulative_return(args, torch) File "/Users//ElegantRL/elegantrl/envs/FinRL/FinRL.py", line 213, in draw_cumulative_return agent = agent_rl(net_dim, state_dim, action_dim) # build AgentRL TypeError: 'AgentPPO' object is not callable

I'm wondering if this project maintenance has been abandoned, there are so many errors

YangletLiu commented 2 years ago

The opposite. We are actively changing it, thus so many errors.

YangletLiu commented 2 years ago

I believe this issue is fixed.