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

'NoneType' object is not subscriptable in DRL_prediction. #1273

Open
X-Cotang opened this issue Aug 29, 2024 · 0 comments
Open

'NoneType' object is not subscriptable in DRL_prediction. #1273

X-Cotang opened this issue Aug 29, 2024 · 0 comments

Comments

@X-Cotang
Copy link

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.

return account_memory[0], actions_memory[0]

Screenshots
image

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