Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

train AgentInterPPO comes an error #5

Open
Wisgon opened this issue May 2, 2021 · 0 comments
Open

train AgentInterPPO comes an error #5

Wisgon opened this issue May 2, 2021 · 0 comments

Comments

@Wisgon
Copy link

Wisgon commented May 2, 2021

when I use args.agent = AgentInterPPO() in StockTrading_Demo.ipynb,to train InterPPO, an error comes up when I run train_and_evaluate_mp(args):

Traceback (most recent call last):
  File "d:\programdata\anaconda3\envs\frl\lib\multiprocessing\process.py", line 315, in _bootstrap
    self.run()
  File "d:\programdata\anaconda3\envs\frl\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "E:\Documents\my_projects\elegant_quantitative_trading\elegant_finrl\run.py", line 431, in mp_train
    obj_a, obj_c = agent.update_net(
  File "E:\Documents\my_projects\elegant_quantitative_trading\elegant_finrl\agent.py", line 1046, in update_net
    [
  File "E:\Documents\my_projects\elegant_quantitative_trading\elegant_finrl\agent.py", line 1047, in <listcomp>
    self.cri(buf_state[i : i + bs])
TypeError: 'NoneType' object is not callable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant