AI4Finance-Foundation / AI4Finance-Foundation/FinRL
Please help! AssertionError : assert state.shape == (args.state_dim,)
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 16.3k
- Fork
- 3.5k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Follow the tutorial https://github.com/AI4Finance-Foundation/FinRL-Tutorials/blob/master/3-Practical/FinRL_MultiCrypto_Trading.ipynb .
Always in:
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm Community Edition 2024.1\plugins\python-ce\helpers\pydev\pydevd.py", line 1535, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\JetBrains\PyCharm Community Edition 2024.1\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:\per\AI\test2\Crypto.py", line 44, in
train(start_date=TRAIN_START_DATE,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\per\AI\test2\traintest.py", line 72, in train
trained_model = agent.train_model(
^^^^^^^^^^^^^^^^^^
File "D:\per\AI\test2\elegantrl_models.py", line 107, in train_model
train_agent(model)
File "C:\Users\zhipe\AppData\Local\Programs\Python\Python311\Lib\elegantrl\train\run.py", line 35, in train_agent
assert state.shape == (args.state_dim,)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.