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

AssertionError for OpenES #56

Closed
pigozzif opened this issue Dec 15, 2022 · 4 comments
Closed

AssertionError for OpenES #56

pigozzif opened this issue Dec 15, 2022 · 4 comments
Assignees

Comments

@pigozzif
Copy link

pigozzif commented Dec 15, 2022

When I try to instantiate OpenES from open_es.py, I get the following error message:
Schermata 2022-12-15 alle 20 23 59
I traced back the problem to line 110 in open_es.py, where both centered_rank and z_score arguments are set to True:
Schermata 2022-12-15 alle 20 26 01
But line 26 of FitnessShaper class from evosax/utils/reshape_fitness.py says that
Schermata 2022-12-15 alle 20 26 49
How to get around this issue?

@lerrytang
Copy link
Contributor

@RobertTLange Do you mind taking a look at this issue?

@RobertTLange
Copy link
Contributor

Should be fixed in PR #57. Sorry for the hick-up!

@lerrytang
Copy link
Contributor

@RobertTLange Thanks for the fix!
@pigozzif I've merged the PR, can you confirm it fixes your problem?

@lerrytang lerrytang self-assigned this Dec 21, 2022
@pigozzif
Copy link
Author

pigozzif commented Dec 21, 2022 via email

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

3 participants