Open addy369 opened 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]
ValueError: kth(=-5) out of bounds (5)
idx = np.argpartition(returns_n2, (-population_size, -1))[-1:-population_size-1:-1]
Anybody knows how to resolve this?
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 thisidx = np.argpartition(returns_n2, (-population_size, -1))[-1:-population_size-1:-1]
Anybody knows how to resolve this?