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

RuntimeWarning: invalid value encountered in divide prob = final_fitness / np.sum(final_fitness) #92

Closed
abcdhope opened this issue Dec 23, 2022 · 1 comment

Comments

@abcdhope
Copy link

There are some models that will show NAN values when testing functions, and the location of the error is: RuntimeWarning: invalid value encountered in divide prob = final_fitness / np.sum(final_fitness)

@thieu1995
Copy link
Owner

@abcdhope,

This error is typical the error of the fitness function that designed by user. You need to check the fitness function for some special cases.
You can give me more information about your problem, your fitness function. So I can help you to solve it.

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

2 participants