AI4Finance-Foundation / AI4Finance-Foundation/FinRL
'NoneType' object is not subscriptable in DRL_prediction.
Đang mở
- 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ả
**Describe the bug**
I’m encountering an issue with the DRL_prediction function. If dones[0] becomes True before the condition i == max_steps - 1 is met, it results in an error: ‘NoneType’ object is not subscriptable at line 152.
https://github.com/AI4Finance-Foundation/FinRL/blob/6156c42121c21fa153722c9bbf4deef3f8f79a79/finrl/agents/stablebaselines3/models.py#L152
**Screenshots**

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á.