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

Blackbox optimizers do not check for standard deviation of 0 #285

Open
salaast opened this issue Aug 7, 2023 · 0 comments
Open

Blackbox optimizers do not check for standard deviation of 0 #285

salaast opened this issue Aug 7, 2023 · 0 comments

Comments

@salaast
Copy link
Collaborator

salaast commented Aug 7, 2023

In ES training, when all of the rewards are the same value, the standard deviation is 0. The blackbox optimizers do not check for this case before dividing by the standard deviation of the function values (which is zero), resulting in a list of nan for the gradient and thus setting the model weights to nan as well. This case needs to be addressed so that the model weights result in real float values instead.

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