You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A nice error message to the effect that "Your operator pipeline outputted a generator when it was done, but generational_ea expects to receive the new population as a list. Perhaps you forgot an ops.pool() operator?"
Actual Behavior
ValueError: Operator <function elitist_survival at 0x0000029754CF1900> received a <class 'generator'> as input, but expected a list.
The text was updated successfully, but these errors were encountered:
Problem
Issue encountered by @anmol-srivastava-mitre:
Forget to pool, and you are met with a crazy oscure error message about the secret
elitist_survival
operator that lives insidegenerational_ea
MWE
Expected Behavior
A nice error message to the effect that "Your operator pipeline outputted a
generator
when it was done, butgenerational_ea
expects to receive the new population as alist
. Perhaps you forgot anops.pool()
operator?"Actual Behavior
The text was updated successfully, but these errors were encountered: