uber-research / deep-neuroevolution

Deep Neuroevolution
Other
1.63k stars 298 forks source link

error while running ga experiment #44

Open addy369 opened 4 years ago

addy369 commented 4 years ago

so while trying to run the ga code for frostbite environment I run into this issue ValueError: kth(=-5) out of bounds (5) the source of error is this idx = np.argpartition(returns_n2, (-population_size, -1))[-1:-population_size-1:-1]

Anybody knows how to resolve this?