Skip to content

error while running ga experiment #44

@addy369

Description

@addy369

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions