AI4Finance-Foundation / FinRL

FinRL: Financial Reinforcement Learning. 🔥
https://ai4finance.org
MIT License
9.37k stars 2.28k forks source link

TypeError Traceback (most recent call last) <ipython-input-42-492cb8c60799> in <cell line: 1>() ----> 1 model.learn(total_timesteps = 500000, 2 eval_env = env_trade, 3 eval_freq = 250, 4 log_interval = 1, 5 tb_log_name = '1_18_lastrun', TypeError: PPO.learn() got an unexpected keyword argument 'eval_env'如何解決 #1194

Open man0819 opened 3 months ago

man0819 commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.